diff options
author | gerald <gerald@FreeBSD.org> | 2003-04-02 19:43:15 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2003-04-02 19:43:15 +0800 |
commit | 836077df6eceb80bbb8f4e8d7245999a65fc1237 (patch) | |
tree | bad81956f1be02c0407a4675c27214d26e694971 /lang/gcc | |
parent | 3cbf01854bd993b836b863bc66d7089b60de57cb (diff) | |
download | freebsd-ports-gnome-836077df6eceb80bbb8f4e8d7245999a65fc1237.tar.gz freebsd-ports-gnome-836077df6eceb80bbb8f4e8d7245999a65fc1237.tar.zst freebsd-ports-gnome-836077df6eceb80bbb8f4e8d7245999a65fc1237.zip |
Remove special alpha optimization warning. alpha support now should be
sufficiently stable.
Diffstat (limited to 'lang/gcc')
-rw-r--r-- | lang/gcc/files/patch-fc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lang/gcc/files/patch-fc b/lang/gcc/files/patch-fc index d03aaf307875..628048a209e7 100644 --- a/lang/gcc/files/patch-fc +++ b/lang/gcc/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; - } - } |