[Bug c/60114] Incorrect column number for -pedantic and -Wconversion

chengniansun at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Feb 8 08:36:00 GMT 2014


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?



More information about the Gcc-bugs mailing list