From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 542AA3858D20; Tue, 27 Feb 2024 18:20:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 542AA3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709058056; bh=oJd59h9i+Ieue0KIxS/RuGoQCo1J0HXuBlFQ4TBzIQY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=B94ykfqdrjoNf/QxvhEmm9GIecdJu7jDuHPC3Pe4ab5scveEVdWq21gx2I9q1yQjc qkXy4ddn0VXT1ZGeCADUOr6K0/BcIp0NZhbj3l7ezMPx5QJtEy+mVU2ynDaJJRTTQT HpEeaTQ0pq+QVXMjfhv6TXD2W/tazJ6BOSb7BXT0= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114137] ICE when building lua-5.4.6 with -fharden-control-flow-redundancy on x86 (error: invalid rtl sharing found in the insn) Date: Tue, 27 Feb 2024 18:20:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org 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: 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=3D114137 --- Comment #3 from Sam James --- =3D=3D16482=3D=3D Command: /usr/libexec/gcc/i686-pc-linux-gnu/14/cc1 -quiet= -I . -I ./src -D PACKAGE_NAME=3D"lua5.4" -D PACKAGE_TARNAME=3D"lua" -D PACKAGE_VERSION=3D"5.4.6" -D PACKAGE_STRING=3D"lua5.4\ 5.4.6" -D PACKAGE_BUGREPORT=3D"https://bugs.gentoo.org/" -D PACKAGE_URL=3D"http://www.lua.org" -D PACKAGE=3D"lua" -D VERSION=3D"5.4.6" = -D HAVE_STDIO_H=3D1 -D HAVE_STDLIB_H=3D1 -D HAVE_STRING_H=3D1 -D HAVE_INTTYPES= _H=3D1 -D HAVE_STDINT_H=3D1 -D HAVE_STRINGS_H=3D1 -D HAVE_SYS_STAT_H=3D1 -D HAVE_SYS_= TYPES_H=3D1 -D HAVE_UNISTD_H=3D1 -D STDC_HEADERS=3D1 -D HAVE_DLFCN_H=3D1 -D LT_OBJDIR= =3D".libs/" -D LUA_USE_READLINE=3D1 -D LUA_USE_LINUX=3D1 -D LUA_COMPAT_5_3 -D PIC src/lvm.= c -quiet -dumpdir src/.libs/ -dumpbase lvm.c -dumpbase-ext .c -march=3Di686 -mfpmath= =3Dsse -msse -msse2 -O3 -Wall -fdiagnostics-color=3Dalways -fvect-cost-model=3Dunl= imited -fharden-control-flow-redundancy -fpermissive -fPIC -o - =3D=3D16482=3D=3D =3D=3D16482=3D=3D Conditional jump or move depends on uninitialised value(s) =3D=3D16482=3D=3D at 0x232FE2A: UnknownInlinedFun (sparseset.h:146) =3D=3D16482=3D=3D by 0x232FE2A: mark_pseudo_regno_live(int) (ira-lives.c= c:327) =3D=3D16482=3D=3D by 0x2324AE3: UnknownInlinedFun (ira-lives.cc:411) =3D=3D16482=3D=3D by 0x2324AE3: UnknownInlinedFun (ira-lives.cc:425) =3D=3D16482=3D=3D by 0x2324AE3: process_bb_node_lives(ira_loop_tree_node= *) (ira-lives.cc:1404) =3D=3D16482=3D=3D by 0x2305DF9: ira_traverse_loop_tree(bool, ira_loop_tr= ee_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.cc:1809) =3D=3D16482=3D=3D by 0x26CAB8B: ira_create_allocno_live_ranges() (ira-li= ves.cc:1818) =3D=3D16482=3D=3D by 0x22FFD84: ira_build() (ira-build.cc:3491) =3D=3D16482=3D=3D by 0x26AFBC9: UnknownInlinedFun (ira.cc:5793) =3D=3D16482=3D=3D by 0x26AFBC9: (anonymous namespace)::pass_ira::execute= (function*) [clone .lto_priv.0] (ira.cc:6117) =3D=3D16482=3D=3D by 0x1EA53B7: execute_one_pass(opt_pass*) (passes.cc:2= 646) =3D=3D16482=3D=3D by 0x1F716AB: execute_pass_list_1(opt_pass*) (passes.c= c:2755) =3D=3D16482=3D=3D by 0x1F716C8: execute_pass_list_1(opt_pass*) (passes.c= c:2756) =3D=3D16482=3D=3D by 0x1F713E8: execute_pass_list(function*, opt_pass*) (passes.cc:2766) =3D=3D16482=3D=3D by 0x25CC292: cgraph_node::expand() (cgraphunit.cc:184= 5) =3D=3D16482=3D=3D by 0x1E9FF59: UnknownInlinedFun (cgraphunit.cc:2028) =3D=3D16482=3D=3D by 0x1E9FF59: symbol_table::compile() (cgraphunit.cc:2= 402) =3D=3D16482=3D=3D =3D=3D16482=3D=3D Conditional jump or move depends on uninitialised value(s) =3D=3D16482=3D=3D at 0x232FF24: UnknownInlinedFun (sparseset.h:146) =3D=3D16482=3D=3D by 0x232FF24: UnknownInlinedFun (sparseset.h:165) =3D=3D16482=3D=3D by 0x232FF24: UnknownInlinedFun (ira-lives.cc:127) =3D=3D16482=3D=3D by 0x232FF24: mark_pseudo_regno_live(int) (ira-lives.c= c:331) =3D=3D16482=3D=3D by 0x2324AE3: UnknownInlinedFun (ira-lives.cc:411) =3D=3D16482=3D=3D by 0x2324AE3: UnknownInlinedFun (ira-lives.cc:425) =3D=3D16482=3D=3D by 0x2324AE3: process_bb_node_lives(ira_loop_tree_node= *) (ira-lives.cc:1404) =3D=3D16482=3D=3D by 0x2305DF9: ira_traverse_loop_tree(bool, ira_loop_tr= ee_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.cc:1809) =3D=3D16482=3D=3D by 0x26CAB8B: ira_create_allocno_live_ranges() (ira-li= ves.cc:1818) =3D=3D16482=3D=3D by 0x22FFD84: ira_build() (ira-build.cc:3491) =3D=3D16482=3D=3D by 0x26AFBC9: UnknownInlinedFun (ira.cc:5793) =3D=3D16482=3D=3D by 0x26AFBC9: (anonymous namespace)::pass_ira::execute= (function*) [clone .lto_priv.0] (ira.cc:6117) =3D=3D16482=3D=3D by 0x1EA53B7: execute_one_pass(opt_pass*) (passes.cc:2= 646) =3D=3D16482=3D=3D by 0x1F716AB: execute_pass_list_1(opt_pass*) (passes.c= c:2755) =3D=3D16482=3D=3D by 0x1F716C8: execute_pass_list_1(opt_pass*) (passes.c= c:2756) =3D=3D16482=3D=3D by 0x1F713E8: execute_pass_list(function*, opt_pass*) (passes.cc:2766) =3D=3D16482=3D=3D by 0x25CC292: cgraph_node::expand() (cgraphunit.cc:184= 5) =3D=3D16482=3D=3D by 0x1E9FF59: UnknownInlinedFun (cgraphunit.cc:2028) =3D=3D16482=3D=3D by 0x1E9FF59: symbol_table::compile() (cgraphunit.cc:2= 402) [...] =3D=3D16482=3D=3D Use of uninitialised value of size 4 =3D=3D16482=3D=3D at 0x238D41A: UnknownInlinedFun (sparseset.h:146) =3D=3D16482=3D=3D by 0x238D41A: UnknownInlinedFun (sparseset.h:165) =3D=3D16482=3D=3D by 0x238D41A: make_hard_regno_live(int) (lra-lives.cc:= 288) =3D=3D16482=3D=3D by 0x23885B7: process_bb_lives(basic_block_def*, int&,= bool) (lra-lives.cc:960) =3D=3D16482=3D=3D by 0x2386343: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1416) =3D=3D16482=3D=3D by 0x2385EF0: lra_create_live_ranges(bool, bool) (lra-lives.cc:1486) =3D=3D16482=3D=3D by 0x234E372: lra(_IO_FILE*, int) (lra.cc:2482) =3D=3D16482=3D=3D by 0x26D1D2F: UnknownInlinedFun (ira.cc:5973) =3D=3D16482=3D=3D by 0x26D1D2F: (anonymous namespace)::pass_reload::execute(function*) [clone .lto_priv.0] (ira.cc:616= 1) =3D=3D16482=3D=3D by 0x1EA53B7: execute_one_pass(opt_pass*) (passes.cc:2= 646) =3D=3D16482=3D=3D by 0x1F716AB: execute_pass_list_1(opt_pass*) (passes.c= c:2755) =3D=3D16482=3D=3D by 0x1F716C8: execute_pass_list_1(opt_pass*) (passes.c= c:2756) =3D=3D16482=3D=3D by 0x1F713E8: execute_pass_list(function*, opt_pass*) (passes.cc:2766) =3D=3D16482=3D=3D by 0x25CC292: cgraph_node::expand() (cgraphunit.cc:184= 5) =3D=3D16482=3D=3D by 0x1E9FF59: UnknownInlinedFun (cgraphunit.cc:2028) =3D=3D16482=3D=3D by 0x1E9FF59: symbol_table::compile() (cgraphunit.cc:2= 402) [...]=