aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-04-08 23:13:05 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-04-08 23:13:05 +0000
commitf7b6f250d745be9585229d2134873fb9690fbf2d (patch)
tree9e4cd8c9ffc7669b97484ce8609db260fd2f6025 /gcc
parent4a77e08cfcde08398ad78b29fce29a531190ed52 (diff)
downloadgcc-f7b6f250d745be9585229d2134873fb9690fbf2d.zip
gcc-f7b6f250d745be9585229d2134873fb9690fbf2d.tar.gz
gcc-f7b6f250d745be9585229d2134873fb9690fbf2d.tar.bz2
invoke.texi (Precompiled Headers): Warn about known problems.
* doc/invoke.texi (Precompiled Headers): Warn about known problems. From-SVN: r80529
Diffstat (limited to 'gcc')
-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 aafeafa..43aa975 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 8afebf5..8c12a8b 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