http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46614
--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> 2010-11-22 23:47:55 UTC --- Created attachment 22490 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22490 more reduced testcase This one needs less flags, but it gives warnings with -Wall -W - though they should be harmless. $ gcc -O -fno-rename-registers -fsched2-use-superblocks -fschedule-insns2 -funroll-loops testcase2.c -Wall -W testcase2.c: In function 'main1': testcase2.c:30:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] testcase2.c:31:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] testcase2.c:38:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] $ ./a.out Aborted