public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107557] [12/13 Regression] ICE in make_ssa_name_fn, at tree-ssanames.cc:360 Date: Mon, 07 Nov 2022 18:12:40 +0000 [thread overview] Message-ID: <bug-107557-4-8KcxY4sDcZ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-107557-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107557 G. Steinmetz <gscfq@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-pc-linux-gnu Keywords| |ice-on-valid-code --- Comment #1 from G. Steinmetz <gscfq@t-online.de> --- Or this combination : $ gcc-13-20221106 -c z1.c -flto -fsanitize=undefined z1.c: In function 'main': z1.c:15:30: warning: passing argument 2 of 'test' from incompatible pointer type [-Wincompatible-pointer-types] 15 | return f(&m, &d) + test(m, &fn); | ^~~ | | | int (* (*)[(long int)(((m) <= 0 ? __builtin___ubsan_handle_vla_bound_not_positive(&*.Lubsan_data0, (long unsigned int)(m)) : (void)0, (m))) - 1])(void) z1.c:6:25: note: expected 'int (* (*)(void))[(long int)(n) - 1]' but argument is of type 'int (* (*)[(long int)(((m) <= 0 ? __builtin___ubsan_handle_vla_bound_not_positive(&*.Lubsan_data0, (long unsigned int)(m)) : (void)0, (m))) - 1])(void)' 6 | int test(int n, int (*(*fn)(void))[n]) | ~~~~~~~~^~~~~~~~~~~~~ during IPA pass: modref z1.c: At top level: z1.c:16:1: internal compiler error: tree code 'ssa_name' is not supported in LTO streams 16 | } | ^ 0xb9c2ab lto_write_tree ../../gcc/lto-streamer-out.cc:561 0xb9c2ab lto_output_tree_1 ../../gcc/lto-streamer-out.cc:599 0xba2b17 DFS::DFS(output_block*, tree_node*, bool, bool, bool) ../../gcc/lto-streamer-out.cc:899 0xba3a18 lto_output_tree(output_block*, tree_node*, bool, bool) ../../gcc/lto-streamer-out.cc:1866 0xb9beb1 write_global_stream ../../gcc/lto-streamer-out.cc:2861 0xba64bf lto_output_decl_state_streams(output_block*, lto_out_decl_state*) ../../gcc/lto-streamer-out.cc:2908 0xba64bf produce_asm_for_decls() ../../gcc/lto-streamer-out.cc:3302 0xc1ee6f write_lto ../../gcc/passes.cc:2780 0xc22c2e ipa_write_summaries_1 ../../gcc/passes.cc:2841 0xc22c2e ipa_write_summaries() ../../gcc/passes.cc:2897 0x8e4874 ipa_passes ../../gcc/cgraphunit.cc:2218 0x8e4874 symbol_table::compile() ../../gcc/cgraphunit.cc:2291 0x8e764f symbol_table::compile() ../../gcc/cgraphunit.cc:2546 0x8e764f symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.cc:2543
next prev parent reply other threads:[~2022-11-07 18:12 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-07 18:12 [Bug c/107557] New: " gscfq@t-online.de 2022-11-07 18:12 ` gscfq@t-online.de [this message] 2022-11-07 20:10 ` [Bug c/107557] " pinskia at gcc dot gnu.org 2022-11-08 9:29 ` [Bug c/107557] [12/13 Regression] ICE -fsanitize=undefined and VLA as argument type to a function rguenth at gcc dot gnu.org 2022-11-21 12:33 ` marxin at gcc dot gnu.org 2023-01-13 12:40 ` rguenth at gcc dot gnu.org 2023-01-21 19:23 ` muecker at gwdg dot de 2023-02-11 15:07 ` muecker at gwdg dot de 2023-02-24 14:40 ` muecker at gwdg dot de 2023-04-09 11:54 ` muecker at gwdg dot de 2023-05-08 12:25 ` [Bug c/107557] [12/13/14 " rguenth at gcc dot gnu.org 2023-05-18 12:57 ` muecker at gwdg dot de 2023-05-23 20:05 ` cvs-commit at gcc dot gnu.org 2023-11-15 7:17 ` sjames at gcc dot gnu.org 2023-11-15 7:45 ` uecker 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-107557-4-8KcxY4sDcZ@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: linkBe 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).