From 836077df6eceb80bbb8f4e8d7245999a65fc1237 Mon Sep 17 00:00:00 2001 From: gerald Date: Wed, 2 Apr 2003 11:43:15 +0000 Subject: Remove special alpha optimization warning. alpha support now should be sufficiently stable. --- lang/gcc35/files/patch-fc | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'lang/gcc35') 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; - } - } -- cgit v1.1