Compiling the single line program void f() { __builtin_unreachable(); }
works fine with gcc, but triggers an ICE when compiled with g++ unreachable.c:1:37: internal compiler error: in remove_insn, at emit-rtl.c:3796 I'm using SVN revision 148487. -- Summary: g++ void f() { __builtin_unreachable(); } Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: wouter dot vermaelen at scarlet dot be http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40445