Bug 47905 - [trans-mem] ipa_tm_decrement_clone_counts ICE
Summary: [trans-mem] ipa_tm_decrement_clone_counts ICE
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: trans-mem
: P3 critical
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-26 12:33 UTC by Patrick Marlier
Modified: 2011-02-28 23:25 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2011-02-28 19:43:38


Attachments
reduced testcase. (82 bytes, text/plain)
2011-02-26 12:33 UTC, Patrick Marlier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Marlier 2011-02-26 12:33:02 UTC
Created attachment 23478 [details]
reduced testcase.

Regression caused by revision 170213

It works with r170142.
Attached a reduced testcase.

$ gcc -O0 -fgnu-tm testcase.i
testcase.i: In function âthreadâ:
testcase.i:11:1: internal compiler error: in ipa_tm_decrement_clone_counts, at trans-mem.c:3789
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Please consider it at the highest priority since it happens with the Velox Stack.

Patrick Marlier.
Comment 1 Aldy Hernandez 2011-02-28 19:43:38 UTC
http://gcc.gnu.org/ml/gcc-patches/2011-02/msg01747.html
pending approval
Comment 2 Aldy Hernandez 2011-02-28 23:25:00 UTC
Author: aldyh
Date: Mon Feb 28 23:24:57 2011
New Revision: 170578

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170578
Log:
        PR 47905
        * trans-mem.c (ipa_tm_propagate_irr): Do not propagate to blocks
        outside of a TM region.


Added:
    branches/transactional-memory/gcc/testsuite/gcc.dg/tm/pr47905.c
Modified:
    branches/transactional-memory/gcc/ChangeLog.tm
    branches/transactional-memory/gcc/trans-mem.c