------- Comment #6 from sergstesh at yahoo dot com 2008-01-18 01:43 ------- I've tried CFLAGS='-O2 -fwrapv -Wstrict-overflow' and I see no warnings at all in 'make_check.log' file - I tried "grep -i warn make_check.log".
OTOH: " [EMAIL PROTECTED]:/mnt/sda8/sergei/gcc4.2.x-O2_bug/gcc-4.2.2-O2/libsndfile-1.0.17> grep -i warn make.log sndfile.c:491: warning: the address of 'sf_error' will never be NULL sndfile-play.c:292: warning: the address of ‘status’ will always evaluate as ‘true’ floating_point_test.c:338: warning: comparison between signed and unsigned floating_point_test.c:388: warning: comparison between signed and unsigned floating_point_test.c:438: warning: comparison between signed and unsigned floating_point_test.c:488: warning: comparison between signed and unsigned floating_point_test.c:538: warning: comparison between signed and unsigned floating_point_test.c:588: warning: comparison between signed and unsigned floating_point_test.c:638: warning: comparison between signed and unsigned floating_point_test.c:688: warning: comparison between signed and unsigned [EMAIL PROTECTED]:/mnt/sda8/sergei/gcc4.2.x-O2_bug/gcc-4.2.2-O2/libsndfile-1.0.17> ", but these warning say nothing about overflow since it's compilation, not execution. Did you mean CFLAGS='-O2 -fwrapv -Wstrict-overflow' or, rather, CFLAGS='-O2 -Wstrict-overflow' ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34841