public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sjames at gcc dot gnu.org" <gcc-bugzilla@gcc.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 [thread overview] Message-ID: <bug-114137-4-pF7vUchRdd@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-114137-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114137 --- Comment #3 from Sam James <sjames at gcc dot gnu.org> --- ==16482== Command: /usr/libexec/gcc/i686-pc-linux-gnu/14/cc1 -quiet -I . -I ./src -D PACKAGE_NAME="lua5.4" -D PACKAGE_TARNAME="lua" -D PACKAGE_VERSION="5.4.6" -D PACKAGE_STRING="lua5.4\ 5.4.6" -D PACKAGE_BUGREPORT="https://bugs.gentoo.org/" -D PACKAGE_URL="http://www.lua.org" -D PACKAGE="lua" -D VERSION="5.4.6" -D HAVE_STDIO_H=1 -D HAVE_STDLIB_H=1 -D HAVE_STRING_H=1 -D HAVE_INTTYPES_H=1 -D HAVE_STDINT_H=1 -D HAVE_STRINGS_H=1 -D HAVE_SYS_STAT_H=1 -D HAVE_SYS_TYPES_H=1 -D HAVE_UNISTD_H=1 -D STDC_HEADERS=1 -D HAVE_DLFCN_H=1 -D LT_OBJDIR=".libs/" -D LUA_USE_READLINE=1 -D LUA_USE_LINUX=1 -D LUA_COMPAT_5_3 -D PIC src/lvm.c -quiet -dumpdir src/.libs/ -dumpbase lvm.c -dumpbase-ext .c -march=i686 -mfpmath=sse -msse -msse2 -O3 -Wall -fdiagnostics-color=always -fvect-cost-model=unlimited -fharden-control-flow-redundancy -fpermissive -fPIC -o - ==16482== ==16482== Conditional jump or move depends on uninitialised value(s) ==16482== at 0x232FE2A: UnknownInlinedFun (sparseset.h:146) ==16482== by 0x232FE2A: mark_pseudo_regno_live(int) (ira-lives.cc:327) ==16482== by 0x2324AE3: UnknownInlinedFun (ira-lives.cc:411) ==16482== by 0x2324AE3: UnknownInlinedFun (ira-lives.cc:425) ==16482== by 0x2324AE3: process_bb_node_lives(ira_loop_tree_node*) (ira-lives.cc:1404) ==16482== by 0x2305DF9: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.cc:1809) ==16482== by 0x26CAB8B: ira_create_allocno_live_ranges() (ira-lives.cc:1818) ==16482== by 0x22FFD84: ira_build() (ira-build.cc:3491) ==16482== by 0x26AFBC9: UnknownInlinedFun (ira.cc:5793) ==16482== by 0x26AFBC9: (anonymous namespace)::pass_ira::execute(function*) [clone .lto_priv.0] (ira.cc:6117) ==16482== by 0x1EA53B7: execute_one_pass(opt_pass*) (passes.cc:2646) ==16482== by 0x1F716AB: execute_pass_list_1(opt_pass*) (passes.cc:2755) ==16482== by 0x1F716C8: execute_pass_list_1(opt_pass*) (passes.cc:2756) ==16482== by 0x1F713E8: execute_pass_list(function*, opt_pass*) (passes.cc:2766) ==16482== by 0x25CC292: cgraph_node::expand() (cgraphunit.cc:1845) ==16482== by 0x1E9FF59: UnknownInlinedFun (cgraphunit.cc:2028) ==16482== by 0x1E9FF59: symbol_table::compile() (cgraphunit.cc:2402) ==16482== ==16482== Conditional jump or move depends on uninitialised value(s) ==16482== at 0x232FF24: UnknownInlinedFun (sparseset.h:146) ==16482== by 0x232FF24: UnknownInlinedFun (sparseset.h:165) ==16482== by 0x232FF24: UnknownInlinedFun (ira-lives.cc:127) ==16482== by 0x232FF24: mark_pseudo_regno_live(int) (ira-lives.cc:331) ==16482== by 0x2324AE3: UnknownInlinedFun (ira-lives.cc:411) ==16482== by 0x2324AE3: UnknownInlinedFun (ira-lives.cc:425) ==16482== by 0x2324AE3: process_bb_node_lives(ira_loop_tree_node*) (ira-lives.cc:1404) ==16482== by 0x2305DF9: ira_traverse_loop_tree(bool, ira_loop_tree_node*, void (*)(ira_loop_tree_node*), void (*)(ira_loop_tree_node*)) (ira-build.cc:1809) ==16482== by 0x26CAB8B: ira_create_allocno_live_ranges() (ira-lives.cc:1818) ==16482== by 0x22FFD84: ira_build() (ira-build.cc:3491) ==16482== by 0x26AFBC9: UnknownInlinedFun (ira.cc:5793) ==16482== by 0x26AFBC9: (anonymous namespace)::pass_ira::execute(function*) [clone .lto_priv.0] (ira.cc:6117) ==16482== by 0x1EA53B7: execute_one_pass(opt_pass*) (passes.cc:2646) ==16482== by 0x1F716AB: execute_pass_list_1(opt_pass*) (passes.cc:2755) ==16482== by 0x1F716C8: execute_pass_list_1(opt_pass*) (passes.cc:2756) ==16482== by 0x1F713E8: execute_pass_list(function*, opt_pass*) (passes.cc:2766) ==16482== by 0x25CC292: cgraph_node::expand() (cgraphunit.cc:1845) ==16482== by 0x1E9FF59: UnknownInlinedFun (cgraphunit.cc:2028) ==16482== by 0x1E9FF59: symbol_table::compile() (cgraphunit.cc:2402) [...] ==16482== Use of uninitialised value of size 4 ==16482== at 0x238D41A: UnknownInlinedFun (sparseset.h:146) ==16482== by 0x238D41A: UnknownInlinedFun (sparseset.h:165) ==16482== by 0x238D41A: make_hard_regno_live(int) (lra-lives.cc:288) ==16482== by 0x23885B7: process_bb_lives(basic_block_def*, int&, bool) (lra-lives.cc:960) ==16482== by 0x2386343: lra_create_live_ranges_1(bool, bool) (lra-lives.cc:1416) ==16482== by 0x2385EF0: lra_create_live_ranges(bool, bool) (lra-lives.cc:1486) ==16482== by 0x234E372: lra(_IO_FILE*, int) (lra.cc:2482) ==16482== by 0x26D1D2F: UnknownInlinedFun (ira.cc:5973) ==16482== by 0x26D1D2F: (anonymous namespace)::pass_reload::execute(function*) [clone .lto_priv.0] (ira.cc:6161) ==16482== by 0x1EA53B7: execute_one_pass(opt_pass*) (passes.cc:2646) ==16482== by 0x1F716AB: execute_pass_list_1(opt_pass*) (passes.cc:2755) ==16482== by 0x1F716C8: execute_pass_list_1(opt_pass*) (passes.cc:2756) ==16482== by 0x1F713E8: execute_pass_list(function*, opt_pass*) (passes.cc:2766) ==16482== by 0x25CC292: cgraph_node::expand() (cgraphunit.cc:1845) ==16482== by 0x1E9FF59: UnknownInlinedFun (cgraphunit.cc:2028) ==16482== by 0x1E9FF59: symbol_table::compile() (cgraphunit.cc:2402) [...]
next prev parent reply other threads:[~2024-02-27 18:20 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-02-27 17:47 [Bug rtl-optimization/114137] New: " sjames at gcc dot gnu.org 2024-02-27 17:48 ` [Bug rtl-optimization/114137] " sjames at gcc dot gnu.org 2024-02-27 18:18 ` [Bug target/114137] " sjames at gcc dot gnu.org 2024-02-27 18:20 ` sjames at gcc dot gnu.org [this message] 2024-02-27 19:14 ` sjames at gcc dot gnu.org 2024-02-27 19:16 ` sjames at gcc dot gnu.org 2024-03-08 11:01 ` aoliva 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-114137-4-pF7vUchRdd@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).