public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47606] New: [trans-mem] internal compiler error in expand_block_tm with O2
@ 2011-02-04 11:18 patrick.marlier at gmail dot com
  2011-02-15 15:36 ` [Bug c++/47606] " aldyh at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: patrick.marlier at gmail dot com @ 2011-02-04 11:18 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [trans-mem] internal compiler error in expand_block_tm
                    with O2
           Product: gcc
           Version: trans-mem
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: patrick.marlier@gmail.com
                CC: rth@gcc.gnu.org, aldyh@gcc.gnu.org


Created attachment 23243
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23243
old testcase flavoured

I wanted to reopen this old bug but I can't since I am not the creator:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46269

Anyway, here a test case that raised again this with O2:
$ g++ -fgnu-tm -S -O2 -Wfatal-errors ICE_expand_block_tm.i 
ICE_expand_block_tm.i: In member function ‘void sp_counted_impl_p<X>::dispose()
[with X = GradientInfo]’:
ICE_expand_block_tm.i:31:15: internal compiler error: in expand_block_tm, at
trans-mem.c:2323
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

It seems that even if the function atomic_exchange_and_add is declared
transaction_pure, gcc complains about the GIMPLE_ASM statement in
expand_block_tm.

Patrick Marlier.


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-11-02 15:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-04 11:18 [Bug c++/47606] New: [trans-mem] internal compiler error in expand_block_tm with O2 patrick.marlier at gmail dot com
2011-02-15 15:36 ` [Bug c++/47606] " aldyh at gcc dot gnu.org
2011-02-15 15:38 ` aldyh at gcc dot gnu.org
2011-02-15 16:07 ` patrick.marlier at gmail dot com
2011-02-23 19:46 ` aldyh at gcc dot gnu.org
2011-02-24 19:09 ` aldyh at gcc dot gnu.org
2011-02-24 19:13 ` aldyh at gcc dot gnu.org
2011-03-07 16:18 ` aldyh at gcc dot gnu.org
2011-06-17 16:03 ` rth at gcc dot gnu.org
2011-06-17 16:04 ` rth at gcc dot gnu.org
2011-07-12 17:22 ` rth at gcc dot gnu.org
2011-11-02 15:41 ` patrick.marlier at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).