[Bug c++/40445] New: g++ void f() { __builtin_unreachable(); }

wouter dot vermaelen at scarlet dot be gcc-bugzilla@gcc.gnu.org
Mon Jun 15 13:10:00 GMT 2009


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



More information about the Gcc-bugs mailing list