diff options
Diffstat (limited to 'lang/gcc35/files/patch-fc')
-rw-r--r-- | lang/gcc35/files/patch-fc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lang/gcc35/files/patch-fc b/lang/gcc35/files/patch-fc index d03aaf3..628048a 100644 --- a/lang/gcc35/files/patch-fc +++ b/lang/gcc35/files/patch-fc @@ -19,23 +19,3 @@ {"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; - } - } |