summaryrefslogtreecommitdiff
path: root/gcc/c-ppoutput.c
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-11-28 23:29:41 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-11-28 23:29:41 +0000
commitf9c656237c3b2ca35e849a5cd38579ab671895dd (patch)
tree0220d038c863445f5aab43775392919150a6ac84 /gcc/c-ppoutput.c
parenta8344e3213b1ed04a9b32f2c263f2df61ea687f6 (diff)
downloadgcc-f9c656237c3b2ca35e849a5cd38579ab671895dd.tar.gz
re PR preprocessor/17651 (Erroneous preprocessor output with -g when generating dependencies)
2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org> PR preprocessor/17651 * c-opts.c (sanitize_cpp_opts): Make flag_no_output imply flag_no_line_commands. * c-ppoutput.c (pp_file_change): Remove now-redundant check of flag_no_output. From-SVN: r91436
Diffstat (limited to 'gcc/c-ppoutput.c')
-rw-r--r--gcc/c-ppoutput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-ppoutput.c b/gcc/c-ppoutput.c
index 64b27a75f62..996c5f02534 100644
--- a/gcc/c-ppoutput.c
+++ b/gcc/c-ppoutput.c
@@ -370,7 +370,7 @@ pp_file_change (const struct line_map *map)
{
const char *flags = "";
- if (flag_no_line_commands || flag_no_output)
+ if (flag_no_line_commands)
return;
if (map != NULL)