diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-01-29 04:56:35 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-01-29 04:56:35 +0000 |
commit | b315e20b06b5067b11496cbfb4744f5cf16a9639 (patch) | |
tree | 3fe761c428249a06677cf9f97eb9badee0732a6a /lang/gcc45/files/patch-fc | |
parent | 7f06f7b43a65cd1bd87825a1886b0e08e87f38e3 (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_5_0'.release/4.5.0
Notes
Notes:
svn path=/head/; revision=53938
svn path=/tags/RELEASE_4_5_0/; revision=53939; tag=release/4.5.0
Diffstat (limited to 'lang/gcc45/files/patch-fc')
-rw-r--r-- | lang/gcc45/files/patch-fc | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/lang/gcc45/files/patch-fc b/lang/gcc45/files/patch-fc deleted file mode 100644 index f783e5cae528..000000000000 --- a/lang/gcc45/files/patch-fc +++ /dev/null @@ -1,41 +0,0 @@ ---- gcc/toplev.c.orig Tue Jun 6 13:11:39 2000 -+++ gcc/toplev.c Mon Jun 26 20:19:31 2000 -@@ -787,6 +787,9 @@ - /* Tag all structures with __attribute__(packed) */ - int flag_pack_struct = 0; - -+/* Nonzero means that -Wformat accepts certain system-dependent formats. */ -+int flag_format_extensions = 0; -+ - /* Emit code to check for stack overflow; also may cause large objects - to be allocated dynamically. */ - int flag_stack_check; -@@ -1064,6 +1067,8 @@ - "Do the full regmove optimization pass"}, - {"pack-struct", &flag_pack_struct, 1, - "Pack structure members together without holes" }, -+ {"format-extensions", &flag_format_extensions, 1, -+ "-Wformat accepts certain FreeBSD system-dependent formats" }, - {"stack-check", &flag_stack_check, 1, - "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; - } - } |