http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57685
Bug ID: 57685 Summary: GCC stuck in an infinite loop Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: antoine.balestrat at gmail dot com Hello ! Using GCC 4.9.0 as of 20130623 : $ cat inf.c unsigned f(void) { unsigned a; int b, c, d, e; for(c = 27; c < 40; c++) b |= d |= b; if(b) a = e; return a; } $ ulimit -t 60 $ xgcc -O3 inf.c gcc: internal compiler error: CPU time limit exceeded (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.