http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60114
--- Comment #2 from Chengnian Sun <chengniansun at gmail dot com> --- It seems -pedantic and -Woverflow are different. When I issue $ gcc-trunk -c -Woverflow s.c then there is no overflow warning. (There is indeed no overflow.) But when I use $ gcc-trunk -c -pedantic s.c the warning says that it is emitted from -Woverflow. Is this expected?