This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
some more safe PCH options
- From: gkeating at apple dot com (Geoffrey Keating)
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 16 Aug 2005 11:42:01 -0700 (PDT)
- Subject: some more safe PCH options
This documents -fmessage-length= and -fvisibility= as known to be safe
for PCH. ('Safe' here means "doesn't crash", and there's a paragraph
below explaining what it doesn't mean.)
--
- Geoffrey Keating <geoffk@apple.com>
===File ~/patches/gcc-pch-safeoptions1.patch================
2005-08-16 Geoffrey Keating <geoffk@apple.com>
* doc/invoke.texi (Precompiled Headers): Document some more options
which are known to be safe.
Index: doc/invoke.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.669
diff -u -p -u -p -r1.669 invoke.texi
--- doc/invoke.texi 15 Aug 2005 15:23:38 -0000 1.669
+++ doc/invoke.texi 16 Aug 2005 18:39:41 -0000
@@ -13185,9 +13185,9 @@ which options are safe to change and whi
is to use exactly the same options when generating and using the
precompiled header. The following are known to be safe:
-@gccoptlist{-fpreprocessed
+@gccoptlist{-fmessage-length= -fpreprocessed
-fsched-interblock -fsched-spec -fsched-spec-load -fsched-spec-load-dangerous
--fsched-verbose=<number> -fschedule-insns
+-fsched-verbose=<number> -fschedule-insns -fvisibility=
-pedantic-errors}
@end itemize
============================================================