public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "andi-gcc at firstfloor dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/63384] New: ICE in moveup_expr_chached->sel_bb_head->bb_node with special options
Date: Fri, 26 Sep 2014 17:33:00 -0000	[thread overview]
Message-ID: <bug-63384-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63384

            Bug ID: 63384
           Summary: ICE in moveup_expr_chached->sel_bb_head->bb_node with
                    special options
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andi-gcc at firstfloor dot org

Created attachment 33585
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33585&action=edit
test case (non minimized)

The following combination of options causes an ICE with the attached test case:

g++50 matrix.i -o outfile -O2  -fsel-sched-pipelining-outer-loops
-fsel-sched-reschedule-pipelined -fvar-tracking-assignments-toggle
-ftree-vectorize -fselective-scheduling2

gcc version 4.9.0 20130617 (experimental) (GCC) 

apps/matrixmultiply.cpp: In function 'T** make_test_matrix() [with T = float]':
apps/matrixmultiply.cpp:22:1: internal compiler error: Segmentation fault
 }
 ^
0x8cde37 crash_signal
        ../../gcc/gcc/toplev.c:333
0x6764e1 bb_note(basic_block_def*)
        ../../gcc/gcc/cfgrtl.c:647
0x89c1a1 sel_bb_head(basic_block_def*)
        ../../gcc/gcc/sel-sched-ir.c:4536
0x8a6fa5 moveup_expr_cached
        ../../gcc/gcc/sel-sched.c:2563
0x8ac506 move_op_ascend
        ../../gcc/gcc/sel-sched.c:6217
0x8aabc7 code_motion_path_driver
        ../../gcc/gcc/sel-sched.c:6706
0x8aca54 move_op
        ../../gcc/gcc/sel-sched.c:6758
0x8aca54 move_exprs_to_boundary
        ../../gcc/gcc/sel-sched.c:5292
0x8aca54 schedule_expr_on_boundary
        ../../gcc/gcc/sel-sched.c:5504
0x8af552 fill_insns
        ../../gcc/gcc/sel-sched.c:5646
0x8af552 schedule_on_fences
        ../../gcc/gcc/sel-sched.c:7410
0x8af552 sel_sched_region_2
        ../../gcc/gcc/sel-sched.c:7544
0x8b14bf sel_sched_region_1
        ../../gcc/gcc/sel-sched.c:7583
0x8b14bf sel_sched_region(int)
        ../../gcc/gcc/sel-sched.c:7684
0x8b1fc1 run_selective_scheduling()
        ../../gcc/gcc/sel-sched.c:7760
0x895b56 rest_of_handle_sched2
        ../../gcc/gcc/sched-rgn.c:3606


             reply	other threads:[~2014-09-26 17:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26 17:33 andi-gcc at firstfloor dot org [this message]
2014-09-28  1:22 ` [Bug rtl-optimization/63384] " andi-gcc at firstfloor dot org
2014-09-28  7:43 ` [Bug rtl-optimization/63384] selective scheduling on x86 takes very long andi-gcc at firstfloor dot org
2014-09-28 17:27 ` [Bug rtl-optimization/63384] scheduler loops on endless fence list with -fselective-scheduling2 on x86 andi-gcc at firstfloor dot org
2024-06-21 23:15 ` andi-gcc at firstfloor dot 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-63384-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).