------- Comment #1 from razya at il dot ibm dot com 2007-09-16 10:38 ------- (In reply to comment #0) > Found this while trying to bootstrap with BOOT_CFLAGS="-O3 -fipa-cp" and it > miscompiled libcpp/macro.c at the stage2. Appeared somewhere in between > r122374 and r124593: > /* { dg-do run } */ > /* { dg-options "-O3 -fipa-cp" } */ > int k; > void f1 (int a, int b) > { > if (a) > while (b --) > k = 1; > else > if (b != 1) > __builtin_abort (); > } > int main (void) > { > f1 (1, 1); > if (k != 1) > __builtin_abort (); > return 0; > }
Looking into it. Razya -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33434