On Sat, 25 Apr 2015, Marek Polacek wrote: > + pedwarn (location, OPT_Wshift_negative_value, > + "left shift of negative value");
Use of pedwarn is always suspect for something only undefined at runtime; it must not produce an error with -pedantic-errors in any context where a constant expression is not required. -- Joseph S. Myers jos...@codesourcery.com