diff options
author | gerald <gerald@FreeBSD.org> | 2003-04-02 11:43:15 +0000 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2003-04-02 11:43:15 +0000 |
commit | 836077df6eceb80bbb8f4e8d7245999a65fc1237 (patch) | |
tree | bad81956f1be02c0407a4675c27214d26e694971 /lang/gcc35 | |
parent | 3cbf01854bd993b836b863bc66d7089b60de57cb (diff) | |
download | FreeBSD-ports-836077df6eceb80bbb8f4e8d7245999a65fc1237.zip FreeBSD-ports-836077df6eceb80bbb8f4e8d7245999a65fc1237.tar.gz |
Remove special alpha optimization warning. alpha support now should be
sufficiently stable.
Diffstat (limited to 'lang/gcc35')
-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; - } - } |