http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50385
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed| |2011-11-11 Component|tree-optimization |middle-end Ever Confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-11-11 00:39:55 UTC --- Confirmed with a much simpler testcase: int f (int i) { if (i <= 1) return 1; __builtin_unreachable(); } --- CUT --- I found this while adding a basic block reordering pass to the tree level and I got a failure with builtin-unreachable-2.c .