summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-08 23:13:05 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-08 23:13:05 +0000
commit299f8a85f26126263344587d8b6e546459e67914 (patch)
tree9e4cd8c9ffc7669b97484ce8609db260fd2f6025
parent5c0b8490a8291f01fd870d3e18d24a4a5ec1a285 (diff)
downloadgcc-299f8a85f26126263344587d8b6e546459e67914.tar.gz
* doc/invoke.texi (Precompiled Headers): Warn about known
problems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80529 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi7
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index aafeafa41aa..43aa975d65f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-08 Mark Mitchell <mark@codesourcery.com>
+
+ * doc/invoke.texi (Precompiled Headers): Warn about known
+ problems.
+
2004-04-08 Danny Smith <dannysmith@users.sourceforge.net>
PR c++/14808
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 8afebf5fcbb..8c12a8b158a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -11336,6 +11336,13 @@ build the project. To make builds faster, GCC allows users to
`precompile' a header file; then, if builds can use the precompiled
header file they will be much faster.
+@strong{Caution:} There are a few known situations where GCC will
+crash when trying to use a precompiled header. If you have trouble
+with a precompiled header, you should remove the precompiled header
+and compile without it. In addition, please use GCC's on-line
+defect-tracking system to report any problems you encounter with
+precompiled headers. @xref{Bugs}.
+
To create a precompiled header file, simply compile it as you would any
other file, if necessary using the @option{-x} option to make the driver
treat it as a C or C++ header file. You will probably want to use a