http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49705
Ian Lance Taylor <ian at airs dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian at airs dot com --- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2011-07-12 14:25:13 UTC --- Very difficult to fix in the general case but easy to fix in this particular case. When the warning is issued, c_inhibit_evaluation_warnings is 1. All we need to do is, when setting c_inhibit_evaluation_warnings non-zero, also call fold_defer_overflow_warnings.