public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/97172] New: [11 Regression] ICE: tree code ‘ssa_name’ is not supported in LTO streams since r11-3303-g6450f07388f9fe57
Date: Wed, 23 Sep 2020 07:25:33 +0000	[thread overview]
Message-ID: <bug-97172-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 97172
           Summary: [11 Regression] ICE: tree code ‘ssa_name’ is not
                    supported in LTO streams since
                    r11-3303-g6450f07388f9fe57
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: msebor at gcc dot gnu.org
  Target Milestone: ---

Starting from the revision libgexiv2 package fails:

$ cat gexiv2.i
int main_argc;
int main(char argv[main_argc + 1]) {}

$ gcc gexiv2.i -c -flto
during IPA pass: modref
gexiv2.i:2:1: internal compiler error: tree code ‘ssa_name’ is not supported in
LTO streams
    2 | int main(char argv[main_argc + 1]) {}
      | ^~~
0xc3c2ec lto_write_tree
        /home/marxin/Programming/gcc/gcc/lto-streamer-out.c:554
0xc3c2ec lto_output_tree_1
        /home/marxin/Programming/gcc/gcc/lto-streamer-out.c:592
0xc44c69 DFS::DFS(output_block*, tree_node*, bool, bool, bool)
        /home/marxin/Programming/gcc/gcc/lto-streamer-out.c:892
0xc45bdd lto_output_tree(output_block*, tree_node*, bool, bool)
        /home/marxin/Programming/gcc/gcc/lto-streamer-out.c:1853
0xc3b55c write_global_stream
        /home/marxin/Programming/gcc/gcc/lto-streamer-out.c:2846
0xc48726 lto_output_decl_state_streams(output_block*, lto_out_decl_state*)
        /home/marxin/Programming/gcc/gcc/lto-streamer-out.c:2893
0xc48726 produce_asm_for_decls()
        /home/marxin/Programming/gcc/gcc/lto-streamer-out.c:3287
0xcc4802 write_lto
        /home/marxin/Programming/gcc/gcc/passes.c:2624
0xcc4802 ipa_write_summaries_1
        /home/marxin/Programming/gcc/gcc/passes.c:2685
0xcc4802 ipa_write_summaries()
        /home/marxin/Programming/gcc/gcc/passes.c:2740
0x97b61d ipa_passes
        /home/marxin/Programming/gcc/gcc/cgraphunit.c:2689
0x97b61d symbol_table::compile()
        /home/marxin/Programming/gcc/gcc/cgraphunit.c:2776
0x97d652 symbol_table::compile()
        /home/marxin/Programming/gcc/gcc/cgraphunit.c:2756
0x97d652 symbol_table::finalize_compilation_unit()
        /home/marxin/Programming/gcc/gcc/cgraphunit.c:3021
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

             reply	other threads:[~2020-09-23  7:25 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-23  7:25 marxin at gcc dot gnu.org [this message]
2020-09-23  7:25 ` [Bug c/97172] " marxin at gcc dot gnu.org
2020-09-23  8:02 ` rguenth at gcc dot gnu.org
2020-09-23 23:00 ` msebor at gcc dot gnu.org
2020-10-01 13:46 ` hubicka at gcc dot gnu.org
2020-10-01 15:36 ` msebor at gcc dot gnu.org
2020-10-01 15:39 ` msebor at gcc dot gnu.org
2020-10-05 20:18 ` msebor at gcc dot gnu.org
2020-10-12 11:48 ` rguenth at gcc dot gnu.org
2020-10-15 15:10 ` marxin at gcc dot gnu.org
2020-10-18 16:42 ` hubicka at gcc dot gnu.org
2020-10-18 17:55 ` msebor at gcc dot gnu.org
2020-10-18 19:58 ` hubicka at ucw dot cz
2020-11-10  9:02 ` marxin at gcc dot gnu.org
2020-11-30 15:00 ` rguenth at gcc dot gnu.org
2020-11-30 15:29 ` msebor at gcc dot gnu.org
2020-11-30 17:32 ` msebor at gcc dot gnu.org
2020-11-30 21:02 ` hubicka at ucw dot cz
2020-12-01  1:11 ` msebor at gcc dot gnu.org
2020-12-01  7:42 ` rguenth at gcc dot gnu.org
2020-12-01 16:12 ` msebor at gcc dot gnu.org
2020-12-01 16:16   ` Jan Hubicka
2020-12-01 16:16 ` hubicka at ucw dot cz
2020-12-02  7:38 ` rguenther at suse dot de
2020-12-18 12:58 ` marxin at gcc dot gnu.org
2020-12-18 17:02 ` msebor at gcc dot gnu.org
2020-12-19  0:55 ` msebor at gcc dot gnu.org
2021-01-22  9:05 ` ktkachov at gcc dot gnu.org
2021-01-26 18:57 ` jakub at gcc dot gnu.org
2021-01-27 22:51 ` msebor at gcc dot gnu.org
2021-02-01 16:10 ` cvs-commit at gcc dot gnu.org
2021-02-01 16:12 ` msebor at gcc dot gnu.org
2021-02-19  2:28 ` msebor at gcc dot gnu.org
2021-02-19 18:07 ` cvs-commit at gcc dot gnu.org
2021-02-23 14:38 ` marxin at gcc dot gnu.org
2021-02-23 14:49 ` rguenth at gcc dot gnu.org
2021-02-23 17:16 ` msebor at gcc dot gnu.org
2021-02-23 19:20 ` msebor at gcc dot gnu.org
2021-02-24 15:59 ` cvs-commit at gcc dot gnu.org
2021-02-24 16:01 ` msebor at gcc dot gnu.org
2021-02-25 16:03 ` cvs-commit 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-97172-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).