This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix regression preprocessor/17651, v2
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Nathanael Nerode <neroden at fastmail dot fm>
- Cc: gcc-patches at gcc dot gnu dot org, zack at codesourcery dot com
- Date: Mon, 29 Nov 2004 08:22:23 +0900
- Subject: Re: [patch] Fix regression preprocessor/17651, v2
- References: <20041128220132.GA3626@fastmail.fm>
Nathanael Nerode wrote:-
> Per Zack's recommendaton. Also fixes the bug, in essentially the same way.
> Tested i686-pc-linux-gnu. OK?
>
> I don't have a test case because I couldn't figure out how to design an
> appropriate one for the testsuite; there's only one remotely similar test,
> gcc.misc-tests/mg.{c,exp}, and I don't understand how it works.
>
> I would however welcome a test case. :-)
>
> 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.
OK.
Neil.