[C PATCH] Make -Wno-shift-count-negative -Wno-shift-count-overflow work for const ints (PR c/65830)

Jeff Law law@redhat.com
Thu Apr 23 22:01:00 GMT 2015


On 04/21/2015 04:00 PM, Marek Polacek wrote:
> A trivial patch to use OPT_* where they belong.
>
> Bootstrapped/regtested on x86_64-linux, ok for trunk?
>
> 2015-04-21  Marek Polacek  <polacek@redhat.com>
>
> 	PR c/65830
> 	* c-common.c (c_fully_fold_internal): Use OPT_Wshift_count_negative
> 	and OPT_Wshift_count_overflow.
>
> 	* c-c++-common/pr65830.c: New test.
OK.
jeff



More information about the Gcc-patches mailing list