Hello ! The following testcase makes GCC 4.9.0 as of 20130601 ICE at -O3. $ cat lra.c int a, b; void f(void) { for(;; a++) if(0) { int *q; lbl1: ; char **p = 0; lbl2: while(**p) 1 & **p ? : (b = 0); p = &q; } else { long **t, c = 2200000000; if(b) { *t = &c; goto lbl1; } goto lbl2; } } $ xgcc -O3 -w lra.c lra.c: In function ‘f’: lra.c:30:1: internal compiler error: in lra_create_new_reg_with_unique_value, at lra.c:155 } ^ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
Confirmed.
Started with http://gcc.gnu.org/r199298
This bug looks unreproducible with the current trunk.
Assuming fixed.