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/60901] New: [4.8/4.9/4.10 Regression] ICE: SIGSEGV in add_to_deps_list with -fsel-sched-pipelining-outer-loops
Date: Sun, 20 Apr 2014 08:36:00 -0000	[thread overview]
Message-ID: <bug-60901-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 60901
           Summary: [4.8/4.9/4.10 Regression] ICE: SIGSEGV in
                    add_to_deps_list with
                    -fsel-sched-pipelining-outer-loops
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 32635
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32635&action=edit
reduced testcase

Compiler output (under valgrind):
$ gcc -O -fselective-scheduling -fschedule-insns -fsel-sched-pipelining
-fsel-sched-pipelining-outer-loops -fno-tree-dominator-opts testcase.c
==23085== Invalid read of size 8
==23085==    at 0x1394529: add_to_deps_list(_dep_link*, _deps_list*)
(sched-deps.c:247)
==23085==    by 0x13A1493: sd_add_dep(_dep*, bool) (sched-deps.c:1344)
==23085==    by 0x13A1B85: add_or_update_dep_1(_dep*, bool, rtx_def*, rtx_def*)
(sched-deps.c:1286)
==23085==    by 0x13A212C: haifa_note_dep(rtx_def*, unsigned int)
(sched-deps.c:1866)
==23085==    by 0x1394CB2: add_dependence_1(rtx_def*, rtx_def*, reg_note)
(sched-deps.c:1901)
==23085==    by 0x13992C3: add_dependence(rtx_def*, rtx_def*, reg_note)
(sched-deps.c:1557)
==23085==    by 0xDE227A: ix86_dependencies_evaluation_hook(rtx_def*, rtx_def*)
(i386.c:26191)
==23085==    by 0xADC311: sched_rgn_compute_dependencies(int)
(sched-rgn.c:2746)
==23085==    by 0xB0D4E3: sel_sched_region(int) (sel-sched.c:6933)
==23085==    by 0xB0F329: run_selective_scheduling() (sel-sched.c:7798)
==23085==    by 0xADF44D: (anonymous namespace)::pass_sched::execute(function*)
(sched-rgn.c:3618)
==23085==    by 0xA484E0: execute_one_pass(opt_pass*) (passes.c:2159)
==23085==    by 0xA48785: execute_pass_list(opt_pass*) (passes.c:2212)
==23085==    by 0xA48797: execute_pass_list(opt_pass*) (passes.c:2213)
==23085==    by 0x785208: expand_function(cgraph_node*) (cgraphunit.c:1774)
==23085==    by 0x7871EB: compile() (cgraphunit.c:1908)
==23085==    by 0x787954: finalize_compilation_unit() (cgraphunit.c:2329)
==23085==    by 0x63ADA3: c_write_global_declarations() (c-decl.c:10401)
==23085==    by 0xB3BF2C: compile_file() (toplev.c:562)
==23085==    by 0xB3DEFF: toplev_main(int, char**) (toplev.c:1914)
==23085==    by 0x5A46BF4: (below main) (in /lib64/libc-2.17.so)
==23085==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==23085== 

Tested revisions:
r209530 - ICE
4.9 r209346 - ICE
4.8 r209342 - ICE
4.7 r209345 - OK


             reply	other threads:[~2014-04-20  8:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-20  8:36 zsojka at seznam dot cz [this message]
2014-04-22  8:00 ` [Bug rtl-optimization/60901] " jakub at gcc dot gnu.org
2014-04-22  8:50 ` rguenth at gcc dot gnu.org
2014-04-22  8:50 ` rguenth at gcc dot gnu.org
2014-04-22 12:27 ` abel at gcc dot gnu.org
2014-04-29  9:21 ` abel at gcc dot gnu.org
2014-05-14  9:47 ` abel at gcc dot gnu.org
2014-05-14  9:52 ` abel at gcc dot gnu.org
2014-05-22 19:41 ` [Bug rtl-optimization/60901] [4.8/4.9 " rhill at gentoo dot org
2014-05-23 11:54 ` rguenth at gcc dot gnu.org
2014-05-26  6:45 ` abel at gcc dot gnu.org
2014-06-03  9:21 ` abel at gcc dot gnu.org
2014-06-03 10:07 ` abel at gcc dot gnu.org
2014-06-03 10:09 ` abel 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-60901-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).