public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108354] [13 Regression] Dead Code Elimination Regression at -O2 since r13-89-gb3e98eb3396e16 Date: Tue, 31 Jan 2023 20:07:31 +0000 [thread overview] Message-ID: <bug-108354-4-iizpsjWJNq@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-108354-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108354 --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Full backtrace: (gdb) bt #0 0x000000000158208f in get_range_query (fun=0x0) at /home/apinski/src/upstream-gcc/gcc/gcc/value-query.h:143 #1 0x0000000001e4a9f0 in ssa_name_has_boolean_range (op=0x7ffff52a6870) at /home/apinski/src/upstream-gcc/gcc/gcc/tree-ssanames.cc:534 #2 0x00000000026a6e33 in generic_simplify_MINUS_EXPR (loc=0, code=MINUS_EXPR, type=0x7ffff725c000, _p0=0x7ffff7242d50, _p1=0x7ffff52a6870) at generic-match.cc:36418 #3 0x00000000027c9064 in generic_simplify (loc=0, code=MINUS_EXPR, type=0x7ffff725c000, _p0=0x7ffff7242d50, _p1=0x7ffff52a6870) at generic-match.cc:103671 #4 0x00000000015670c0 in fold_binary_loc (loc=0, code=MINUS_EXPR, type=0x7ffff725c000, op0=0x7ffff7242d50, op1=0x7ffff52a6870) at /home/apinski/src/upstream-gcc/gcc/gcc/fold-const.cc:10926 #5 0x0000000001575b6a in fold_build2_loc (loc=0, code=MINUS_EXPR, type=0x7ffff725c000, op0=0x7ffff7242d50, op1=0x7ffff52a6870) at /home/apinski/src/upstream-gcc/gcc/gcc/fold-const.cc:13824 #6 0x000000000150714d in get_inner_reference (exp=0x7ffff5a89540, pbitsize=0x7fffffffd5a8, pbitpos=0x7fffffffd5b0, poffset=0x7fffffffd568, pmode=0x7fffffffd54c, punsignedp=0x7fffffffd550, preversep=0x7fffffffd554, pvolatilep=0x7fffffffd560) at /home/apinski/src/upstream-gcc/gcc/gcc/expr.cc:7995 #7 0x00000000016dac07 in (anonymous namespace)::isra_analyze_call (cs=0x7ffff4e59888) at /home/apinski/src/upstream-gcc/gcc/gcc/ipa-sra.cc:2167 #8 0x00000000016dad39 in (anonymous namespace)::isra_analyze_all_outgoing_calls (node=0x7ffff5a38cc0) at /home/apinski/src/upstream-gcc/gcc/gcc/ipa-sra.cc:2202 #9 0x00000000016e2295 in ipa_sra_summarize_function (node=0x7ffff5a38cc0) at /home/apinski/src/upstream-gcc/gcc/gcc/ipa-sra.cc:4540 #10 0x00000000016dc4e0 in (anonymous namespace)::ipa_sra_generate_summary () at /home/apinski/src/upstream-gcc/gcc/gcc/ipa-sra.cc:2716 #11 0x000000000195ef94 in execute_ipa_summary_passes (ipa_pass=0x52a9270) at /home/apinski/src/upstream-gcc/gcc/gcc/passes.cc:2297 #12 0x00000000013b8699 in ipa_passes () at /home/apinski/src/upstream-gcc/gcc/gcc/cgraphunit.cc:2226 #13 0x00000000013b8987 in symbol_table::compile (this=0x7ffff7246000) at /home/apinski/src/upstream-gcc/gcc/gcc/cgraphunit.cc:2322 #14 0x00000000013b8f7c in symbol_table::finalize_compilation_unit (this=0x7ffff7246000) at /home/apinski/src/upstream-gcc/gcc/gcc/cgraphunit.cc:2574 #15 0x0000000001ac4ae9 in compile_file () at /home/apinski/src/upstream-gcc/gcc/gcc/toplev.cc:471 #16 0x0000000001ac7b29 in do_compile (no_backend=false) at /home/apinski/src/upstream-gcc/gcc/gcc/toplev.cc:2125 #17 0x0000000001ac7f11 in toplev::main (this=0x7fffffffdba2, argc=28, argv=0x7fffffffdca8) at /home/apinski/src/upstream-gcc/gcc/gcc/toplev.cc:2277 #18 0x00000000034a7ea1 in main (argc=28, argv=0x7fffffffdca8) at /home/apinski/src/upstream-gcc/gcc/gcc/main.cc:39
next prev parent reply other threads:[~2023-01-31 20:07 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-01-10 12:41 [Bug tree-optimization/108354] New: Dead Code Elimination Regression at -O2 (trunk vs. 12.2.0) yann at ywg dot ch 2023-01-10 14:44 ` [Bug tree-optimization/108354] [13 Regression] Dead Code Elimination Regression at -O2 since r13-89-gb3e98eb3396e16 marxin at gcc dot gnu.org 2023-01-31 4:33 ` pinskia at gcc dot gnu.org 2023-01-31 4:52 ` pinskia at gcc dot gnu.org 2023-01-31 8:23 ` pinskia at gcc dot gnu.org 2023-01-31 20:01 ` pinskia at gcc dot gnu.org 2023-01-31 20:06 ` pinskia at gcc dot gnu.org 2023-01-31 20:07 ` pinskia at gcc dot gnu.org [this message] 2023-02-14 21:47 ` pinskia at gcc dot gnu.org 2023-02-14 21:48 ` pinskia 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-108354-4-iizpsjWJNq@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).