This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]