From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6456B3858D1E; Mon, 7 Nov 2022 18:12:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6456B3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667844761; bh=B1bonIniflc4x1whrhayrgpXWTbnwsdW8erR326zumY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tDcJ5aFxzd9PrnIbJN51aT4SEISzL5vfSusmuP2iwgtO0L7Mbu9dQ0AaoxYwTume2 aRh1l1UCez9SWC4gx6LV/sliCDzUWZK/jZjK2mqnFRdVTINkLZRZkVIoXAGcTeOZMX AIl+wMyM2kfrZ7jBcIlA7yRm8r7oyxkO7jN4aR/c= From: "gscfq@t-online.de" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: gscfq@t-online.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107557 G. Steinmetz changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |x86_64-pc-linux-gnu Keywords| |ice-on-valid-code --- Comment #1 from G. Steinmetz --- Or this combination : $ gcc-13-20221106 -c z1.c -flto -fsanitize=3Dundefined 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) <=3D 0 ? __builtin___ubsan_handle_vla_bound_not_positive(&*.Lubsan_data0, (long unsi= gned int)(m)) : (void)0, (m))) - 1])(void) z1.c:6:25: note: expected 'int (* (*)(void))[(long int)(n) - 1]' but argume= nt is of type 'int (* (*)[(long int)(((m) <=3D 0 ? __builtin___ubsan_handle_vla_bound_not_positive(&*.Lubsan_data0, (long unsi= gned 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=