[PATCH] Add -C when using -Wimplicit-fallthrough and --save-temps (PR preprocessor/78497).

Jeff Law law@redhat.com
Mon Apr 30 23:20:00 GMT 2018


On 04/03/2018 06:29 AM, Martin Liška wrote:
> Hi.
> 
> This helps the warning with --save-temps. Doing that one needs to preserve comments
> in preprocessed source file.
> 
> Ready for trunk?
> Martin
> 
> gcc/ChangeLog:
> 
> 2018-04-03  Martin Liska  <mliska@suse.cz>
> 
> 	PR preprocessor/78497
> 	* gcc.c: Add -C when using -Wimplicit-fallthrough and --save-temps.
> 
> gcc/testsuite/ChangeLog:
> 
> 2018-04-03  Martin Liska  <mliska@suse.cz>
> 
> 	PR preprocessor/78497
> 	* c-c++-common/Wimplicit-fallthrough-37.c: New test.
OK.
jeff



More information about the Gcc-patches mailing list