summaryrefslogtreecommitdiff
path: root/lang/gcc/files/patch-fc
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-09-05 16:59:15 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-09-05 16:59:15 +0000
commit81388430e38efd7c8141a3535c899974c07adf04 (patch)
treefe4465581204854dd44fefdb9bf43a28d3dc158a /lang/gcc/files/patch-fc
parentUpgrade to 3.9.8 (diff)
Upgrade to the 2000-07-17 GCC 2.96 development snapshot.
Notes
Notes: svn path=/head/; revision=32315
Diffstat (limited to 'lang/gcc/files/patch-fc')
-rw-r--r--lang/gcc/files/patch-fc50
1 files changed, 35 insertions, 15 deletions
diff --git a/lang/gcc/files/patch-fc b/lang/gcc/files/patch-fc
index a3f44c5e158b..f783e5cae528 100644
--- a/lang/gcc/files/patch-fc
+++ b/lang/gcc/files/patch-fc
@@ -1,21 +1,41 @@
---- gcc/toplev.c.orig Mon Mar 22 15:23:26 1999
-+++ gcc/toplev.c Tue Mar 30 13:13:44 1999
-@@ -754,6 +754,9 @@
-
- int flag_no_ident = 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;
+
- /* Table of supported debugging formats. */
- static struct
- {
-@@ -954,6 +957,8 @@
- "Generate code to check every memory access" },
- {"prefix-function-name", &flag_prefix_function_name, 1,
- "Add a prefix to all function names" },
+ /* 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,
+ "Pack structure members together without holes" },
+ {"format-extensions", &flag_format_extensions, 1,
+ "-Wformat accepts certain FreeBSD system-dependent formats" },
- {"dump-unnumbered", &flag_dump_unnumbered, 1,
- "Suppress output of instruction numbers and line number notes in debugging dumps"},
- {"instrument-functions", &flag_instrument_function_entry_exit, 1,
+ {"stack-check", &flag_stack_check, 1,
+ "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;
+ }
+ }