[Bug c++/47606] [trans-mem] internal compiler error in expand_block_tm with O2

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 24 19:13:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47606

--- Comment #6 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2011-02-24 19:08:36 UTC ---
Created attachment 23459
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23459
Additional ICE on incorrect code

At -O0 we get a correct diagnosis for this incorrect snippet:

b.c:15:4: error: unsafe function call 'GradientInfo::~GradientInfo()' within
'transaction_safe' function

But at >= -O1 we get an ICE:

b.c:13:15: internal compiler error: in expand_block_tm, at trans-mem.c:2333



More information about the Gcc-bugs mailing list