summaryrefslogtreecommitdiff
path: root/lang/gcc31/files/patch-fc
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2005-07-31 13:34:35 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2005-07-31 13:34:35 +0000
commit2fb932b3b45d03474b2368e8ef035fd833ef977e (patch)
tree7114d52aab318fdf9d716b8068f918b912156ff1 /lang/gcc31/files/patch-fc
parentUpdate to 0.10.5. (diff)
Remove the lang/gcc31 port. It fails to build on several architectures
(even ones it is supposed to work on, cf. pointyhat), it fails to build on FreeBSD 6 and 7, and lang/gcc32 is basically the same plus a single ABI changes and many bug fixes. It is strongly recommended to migrate to GCC 3.4 or 4.0, since only these are still actively maintained upstream and support FreeBSD 7, for example.
Diffstat (limited to 'lang/gcc31/files/patch-fc')
-rw-r--r--lang/gcc31/files/patch-fc41
1 files changed, 0 insertions, 41 deletions
diff --git a/lang/gcc31/files/patch-fc b/lang/gcc31/files/patch-fc
deleted file mode 100644
index d03aaf307875..000000000000
--- a/lang/gcc31/files/patch-fc
+++ /dev/null
@@ -1,41 +0,0 @@
---- gcc/toplev.c.orig Tue Jun 6 13:11:39 2000
-+++ gcc/toplev.c Mon Jun 26 20:19:31 2000
-@@ -787,6 +787,9 @@
- /* Tag all structures with __attribute__(packed) */
- int flag_pack_struct = 0;
-
-+/* Nonzero means that -Wformat accepts certain system-dependent formats. */
-+int flag_format_extensions = 0;
-+
- /* Emit code to check for stack overflow; also may cause large objects
- to be allocated dynamically. */
- int flag_stack_check;
-@@ -1064,6 +1067,8 @@
- "Do the full regmove optimization pass"},
- {"pack-struct", &flag_pack_struct, 1,
- N_("Pack structure members together without holes") },
-+ {"format-extensions", &flag_format_extensions, 1,
-+ N_("-Wformat accepts certain FreeBSD system-dependent formats") },
- {"stack-check", &flag_stack_check, 1,
- N_("Insert stack checking code into the program") },
- {"argument-alias", &flag_argument_noalias, 0,
-@@ -4484,6 +4489,19 @@
- if (optimize_val != -1)
- {
- optimize = optimize_val;
-+#ifdef __alpha__
-+ if (optimize > 1)
-+ {
-+ #ifdef FORCE_OPTIMIZATION_DOWNGRADE
-+ optimize = 1;
-+ warning ("\n***\n***\t-O%d converted to \"-O1\" due to optimizer bugs on this platform\n***\n",
-+ optimize_val);
-+ #else
-+ warning ("\n***\n***\tThe -O%d flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM\n***\n",
-+ optimize_val);
-+ #endif
-+ }
-+#endif /*__alpha__*/
- optimize_size = 0;
- }
- }