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 rtl-optimization/56117] New: [4.8 Regression] ICE: in cselib_subst_to_values, at cselib.c:1853 with -O2 -fsched2-use-superblocks and __builtin_prefetch()
Date: Sat, 26 Jan 2013 14:08:00 -0000	[thread overview]
Message-ID: <bug-56117-4@http.gcc.gnu.org/bugzilla/> (raw)


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

             Bug #: 56117
           Summary: [4.8 Regression] ICE: in cselib_subst_to_values, at
                    cselib.c:1853 with -O2 -fsched2-use-superblocks and
                    __builtin_prefetch()
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


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

Compiler output:
$ gcc -O2 -fsched2-use-superblocks testcase.c         
testcase.c: In function 'foo':
testcase.c:4:1: internal compiler error: in cselib_subst_to_values, at
cselib.c:1853
 }
 ^
0x6d6874 cselib_subst_to_values(rtx_def*, machine_mode)
        /mnt/svn/gcc-trunk/gcc/cselib.c:1853
0x6d6cf9 cselib_subst_to_values_from_insn(rtx_def*, machine_mode, rtx_def*)
        /mnt/svn/gcc-trunk/gcc/cselib.c:1945
0x1149dbf add_insn_mem_dependence
        /mnt/svn/gcc-trunk/gcc/sched-deps.c:1739
0x1150266 sched_analyze_2
        /mnt/svn/gcc-trunk/gcc/sched-deps.c:2724
0x11510ee sched_analyze_insn
        /mnt/svn/gcc-trunk/gcc/sched-deps.c:2899
0x1153b09 deps_analyze_insn(deps_desc*, rtx_def*)
        /mnt/svn/gcc-trunk/gcc/sched-deps.c:3583
0x1154815 sched_analyze(deps_desc*, rtx_def*, rtx_def*)
        /mnt/svn/gcc-trunk/gcc/sched-deps.c:3732
0x11583ea schedule_ebb(rtx_def*, rtx_def*, bool)
        /mnt/svn/gcc-trunk/gcc/sched-ebb.c:514
0x1158e35 schedule_ebbs()
        /mnt/svn/gcc-trunk/gcc/sched-ebb.c:664
0x9cb7f4 rest_of_handle_sched2
        /mnt/svn/gcc-trunk/gcc/sched-rgn.c:3606
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r195477 - crash
r195313 - crash
r192654 - OK
4.7 r194763 - OK


             reply	other threads:[~2013-01-26 14:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-26 14:08 zsojka at seznam dot cz [this message]
2013-01-26 15:20 ` [Bug rtl-optimization/56117] " rguenth at gcc dot gnu.org
2013-01-28  8:45 ` jakub at gcc dot gnu.org
2013-01-28  8:52 ` jakub at gcc dot gnu.org
2013-01-28 16:51 ` jakub at gcc dot gnu.org
2013-01-28 16:52 ` jakub 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-56117-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).