This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add -C when using -Wimplicit-fallthrough and --save-temps (PR preprocessor/78497).
- From: Marek Polacek <polacek at redhat dot com>
- To: Martin Liška <mliska at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, Jakub Jelinek <jakub at redhat dot com>
- Date: Wed, 4 Apr 2018 15:31:53 -0400
- Subject: Re: [PATCH] Add -C when using -Wimplicit-fallthrough and --save-temps (PR preprocessor/78497).
- References: <24052956-4978-21a7-b364-f5d06e7e6b49@suse.cz>
On Tue, Apr 03, 2018 at 02:29:37PM +0200, Martin Liška wrote:
> Hi.
>
> This helps the warning with --save-temps. Doing that one needs to preserve comments
> in preprocessed source file.
Do we really want to only use -C when -Wimplicit-fallthrough is in effect? I
mean, shouldn't we always use -C when -save-temps?
Marek