diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2003-03-26 10:35:51 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2003-03-26 10:35:51 +0000 |
commit | 8e6bf61c38e358f4915bf26e5150cf3f5800f7fe (patch) | |
tree | fdb28e550683de43dc29427b0faa7811fa184bc5 /lang/gcc32 | |
parent | PR: 48919 (diff) |
Remove special alpha optimization warning. alpha support now should be
sufficiently stable, and the testsuite output for FreeBSD/alpha shows no
extra -O2 failures.
Submitted by: Loren James Rittle <rittle@labs.mot.com>
Notes
Notes:
svn path=/head/; revision=77482
Diffstat (limited to 'lang/gcc32')
-rw-r--r-- | lang/gcc32/files/patch-fc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lang/gcc32/files/patch-fc b/lang/gcc32/files/patch-fc index d03aaf307875..628048a209e7 100644 --- a/lang/gcc32/files/patch-fc +++ b/lang/gcc32/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; - } - } |