public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jamborm at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/97319] New: LTO profiledbootstrap (C/C++/Fotran only) fails with a segfault in selftest
Date: Wed, 07 Oct 2020 12:56:04 +0000	[thread overview]
Message-ID: <bug-97319-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 97319
           Summary: LTO profiledbootstrap (C/C++/Fotran only) fails with a
                    segfault in selftest
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jamborm at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux
            Target: x86_64-linux

Since Honza's commit c33f4742393, attempting to LTO-profiledbootstrap
GCC, even when Ada is not enabled, fails in stageprofile with:

/home/mjambor/gcc/mine/b-obj/./gcc/xgcc -B/home/mjambor/gcc/mine/b-obj/./gcc/
-xc -nostdinc /dev/null -S -o /dev/null
-fself-test=/home/mjambor/gcc/mine/src/gcc/testsuite/selftests
In function ‘test_fn’:
cc1: internal compiler error: Segmentation fault
0x1770669 crash_signal
        /home/mjambor/gcc/mine/src/gcc/toplev.c:329
0xd86637 purge_dead_edges(basic_block_def*)
        /home/mjambor/gcc/mine/src/gcc/cfgrtl.c:3271
0x261dd78 find_bb_boundaries
        /home/mjambor/gcc/mine/src/gcc/cfgbuild.c:589
0x261f76f find_many_sub_basic_blocks(simple_bitmap_def*)
        /home/mjambor/gcc/mine/src/gcc/cfgbuild.c:672
0xd94a1a execute
        /home/mjambor/gcc/mine/src/gcc/cfgexpand.c:6675
0x26dd277 test_expansion_to_rtl
        /home/mjambor/gcc/mine/src/gcc/function-tests.c:609
0x26ddaad selftest::function_tests_c_tests()
        /home/mjambor/gcc/mine/src/gcc/function-tests.c:691
0x295bd86 selftest::run_tests()
        /home/mjambor/gcc/mine/src/gcc/selftest-run-tests.c:109
0x1774302 toplev::run_self_tests()
        /home/mjambor/gcc/mine/src/gcc/toplev.c:2381

             reply	other threads:[~2020-10-07 12:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-07 12:56 jamborm at gcc dot gnu.org [this message]
2020-10-07 12:56 ` [Bug bootstrap/97319] " marxin at gcc dot gnu.org
2020-10-09 11:06 ` [Bug bootstrap/97319] [11 Regression] " marxin 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-97319-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).