public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/61283] New: [4.10 regression] SEGV in pass_ipa_comdats::execute
Date: Thu, 22 May 2014 09:18:00 -0000	[thread overview]
Message-ID: <bug-61283-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 61283
           Summary: [4.10 regression] SEGV in pass_ipa_comdats::execute
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org
              Host: i386-pc-solaris2.11
            Target: i386-pc-solaris2.11
             Build: i386-pc-solaris2.11

As of r210682, there are a couple of testsuite regressions on Solaris 11/x86
with
gas and ld, both 32 and 64-bit:

FAIL: g++.dg/torture/pr46367.C  -O1  (internal compiler error)
FAIL: g++.dg/torture/pr46367.C  -O1  (test for excess errors)
FAIL: g++.dg/torture/pr46367.C  -Os  (internal compiler error)
FAIL: g++.dg/torture/pr46367.C  -Os  (test for excess errors)

$ cc1plus -fpreprocessed pr46367.ii -quiet -O1 -o pr46367.s
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/torture/pr46367.C:11:4:
internal compiler error: Segmentation Fault
 S s;
    ^
0x88b844c crash_signal
        /vol/gcc/src/hg/trunk/local/gcc/toplev.c:337
0x8de329a ipa_comdats
        /vol/gcc/src/hg/trunk/local/gcc/ipa-comdats.c:320
0x8de329a execute
        /vol/gcc/src/hg/trunk/local/gcc/ipa-comdats.c:371

Under gdb, I find

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1 (LWP 1)]
ipa_comdats () at /vol/gcc/src/hg/trunk/local/gcc/ipa-comdats.c:320
320               tree group = *map.contains (symbol);
(gdb) where
#0  ipa_comdats () at /vol/gcc/src/hg/trunk/local/gcc/ipa-comdats.c:320
#1  (anonymous namespace)::pass_ipa_comdats::execute (this=0x95a8500)
    at /vol/gcc/src/hg/trunk/local/gcc/ipa-comdats.c:371
#2  0x088007d8 in execute_one_pass (pass=0x95a8500)
    at /vol/gcc/src/hg/trunk/local/gcc/passes.c:2180
#3  0x08801251 in execute_ipa_pass_list (pass=0x95a8500)
    at /vol/gcc/src/hg/trunk/local/gcc/passes.c:2571
#4  0x0857a19f in ipa_passes ()
    at /vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:2093
#5  compile () at /vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:2183
#6  0x0857ab9b in finalize_compilation_unit ()
    at /vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:2338
#7  0x08370eeb in cp_write_global_declarations ()
    at /vol/gcc/src/hg/trunk/local/gcc/cp/decl2.c:4625
#8  0x088b8505 in compile_file ()
    at /vol/gcc/src/hg/trunk/local/gcc/toplev.c:562
#9  0x088ba56b in do_compile ()
    at /vol/gcc/src/hg/trunk/local/gcc/toplev.c:1915
#10 toplev_main (argc=7, argv=0xfeffe4cc)
    at /vol/gcc/src/hg/trunk/local/gcc/toplev.c:1991
#11 0x090750ab in main (argc=7, argv=0xfeffe4cc)
    at /vol/gcc/src/hg/trunk/local/gcc/main.c:36

  Rainer


             reply	other threads:[~2014-05-22  9:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-22  9:18 ro at gcc dot gnu.org [this message]
2014-05-22  9:19 ` [Bug ipa/61283] " ro at gcc dot gnu.org
2014-06-06 23:05 ` hp at gcc dot gnu.org
2014-06-09  9:05 ` hubicka at gcc dot gnu.org
2014-09-19 22:38 ` [Bug ipa/61283] [5 " hubicka at gcc dot gnu.org
2014-09-21  8:50 ` hp at gcc dot gnu.org
2014-09-21  8:51 ` hp at gcc dot gnu.org
2014-09-26 12:38 ` ro at CeBiTec dot Uni-Bielefeld.DE
2014-11-19 13:37 ` rguenth at gcc dot gnu.org
2014-12-15  6:39 ` hubicka at gcc dot gnu.org
2014-12-15  9:44 ` ro at CeBiTec dot Uni-Bielefeld.DE

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-61283-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).