aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2004-12-28 04:24:30 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2004-12-28 04:24:30 +0000
commit1f7edb8b3d65da166df57999ae6053bfdbf939de (patch)
tree6c2f0267d1f65784ed19c9f6c090060d2baf29a6 /gcc
parent55aa0757e2ea89e7f38e55bb323981e62b138d95 (diff)
downloadgcc-1f7edb8b3d65da166df57999ae6053bfdbf939de.zip
gcc-1f7edb8b3d65da166df57999ae6053bfdbf939de.tar.gz
gcc-1f7edb8b3d65da166df57999ae6053bfdbf939de.tar.bz2
re PR driver/16118 (Preprocessed source error with -xf77-cpp-input)
PR driver/16118 * doc/invoke.texi: Document the interaction between -save-temps and -x. From-SVN: r92658
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi6
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 66264fb..8cc43d3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-12-27 Roger Sayle <roger@eyesopen.com>
+
+ PR driver/16118
+ * doc/invoke.texi: Document the interaction between -save-temps
+ and -x.
+
2004-12-27 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (rs6000_eliminate_indexed_memrefs):
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 5ba632e..e230f45 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3891,6 +3891,12 @@ compiling @file{foo.c} with @samp{-c -save-temps} would produce files
preprocessed @file{foo.i} output file even though the compiler now
normally uses an integrated preprocessor.
+When used in combination with the @option{-x} command line option,
+@option{-save-temps} is sensible enough to avoid over writing an
+input source file with the same extension as an intermediate file.
+The corresponding intermediate file may be obtained by renaming the
+source file before using @option{-save-temps}.
+
@item -time
@opindex time
Report the CPU time taken by each subprocess in the compilation