On Tue, 6 Jan 2015, Marek Polacek wrote: > Currently the C FE's -Wdiv-by-zero warns only for INTEGER_CSTs, > unlike C++, which can also handle const ints (yes, different > constant expression rules). But since it's easy to warn for > consts in the C FE as well, and we already warn for shifts > with const ints, I think we can go with the following. The PR > is a request for this. > > Bootstrapped/regtested on {x86_64,ppc64}-linux, ok for trunk?
OK. -- Joseph S. Myers jos...@codesourcery.com