public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/53850] New: [4.8 Regression] ICE: in expand_call_tm, at trans-mem.c:2289 with -fgnu-tm -O3
Date: Wed, 04 Jul 2012 06:54:00 -0000	[thread overview]
Message-ID: <bug-53850-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 53850
           Summary: [4.8 Regression] ICE: in expand_call_tm, at
                    trans-mem.c:2289 with -fgnu-tm -O3
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 27741
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27741
reduced testcase

Compiler flags:
-fgnu-tm -O3
or
-fgnu-tm -O2 -ftree-loop-distribute-patterns

Compiler output:
$ gcc -fgnu-tm -O2 -ftree-loop-distribute-patterns testcase.c 
testcase.c: In function 'foo':
testcase.c:4:1: internal compiler error: in expand_call_tm, at trans-mem.c:2289
 foo (void)
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt
#0  fancy_abort (file=0x12277d0 "/mnt/svn/gcc-trunk/gcc/trans-mem.c",
line=2289, function=0x1228230 "expand_call_tm")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:1010
#1  0x0000000000a02b6a in expand_call_tm (gsi=0x7fffffffd410, region=0x194b820)
at /mnt/svn/gcc-trunk/gcc/trans-mem.c:2289
#2  expand_block_tm (bb=<optimized out>, region=0x194b820) at
/mnt/svn/gcc-trunk/gcc/trans-mem.c:2379
#3  execute_tm_mark () at /mnt/svn/gcc-trunk/gcc/trans-mem.c:2519
#4  0x000000000090c7d5 in execute_one_pass (pass=0x1757ac0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2165
#5  0x000000000090cb95 in execute_pass_list (pass=0x1757ac0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2220
#6  0x000000000090cba7 in execute_pass_list (pass=0x1757b20) at
/mnt/svn/gcc-trunk/gcc/passes.c:2221
#7  0x00000000006b7f98 in expand_function (node=0x7ffff6cef750) at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1615
#8  0x00000000006b9d74 in expand_all_functions () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1720
#9  compile () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2018
#10 0x00000000006ba335 in finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:2095
#11 0x000000000059bb10 in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c/c-decl.c:10116
#12 0x00000000009f6ff5 in compile_file () at
/mnt/svn/gcc-trunk/gcc/toplev.c:564
#13 0x00000000009f8b98 in do_compile () at /mnt/svn/gcc-trunk/gcc/toplev.c:1867
#14 toplev_main (argc=16, argv=0x7fffffffd6c8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1943
#15 0x00007ffff6f052ad in __libc_start_main () from /lib64/libc.so.6
#16 0x000000000057ef11 in _start ()

Tested revisions:
r189246 - crash
4.7 r188682 - OK


             reply	other threads:[~2012-07-04  6:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-04  6:54 zsojka at seznam dot cz [this message]
2012-07-04  9:19 ` [Bug middle-end/53850] " rguenth at gcc dot gnu.org
2012-08-20 20:27 ` patrick.marlier at gmail dot com
2012-09-19 13:39 ` rguenth at gcc dot gnu.org
2012-09-21 20:12 ` aldyh at gcc dot gnu.org
2012-09-21 20:13 ` aldyh at gcc dot gnu.org
2012-09-25 18:48 ` aldyh at gcc dot gnu.org
2012-09-25 18:59 ` aldyh at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-53850-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).