------- Comment #3 from zsojka at seznam dot cz 2010-04-19 14:14 ------- Created an attachment (id=20417) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20417&action=view) reduced testcase (from gcc.c-torture/execute/stdarg-4.c)
Command line: $ gcc -O3 -fschedule-insns pr43799-2.c && ./a.out Aborted Fails at all -O[123s] levels. At least with -O3 -fschedule-insns, this check: cmp edi, 5 # i, is missing in the generated code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43799