public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107937] [13 Regression] ICE in find_var_cmp_const, at gimple-predicate-analysis.cc:257 since r13-4408-gb628cad9e093f7a3 Date: Thu, 01 Dec 2022 05:28:57 +0000 [thread overview] Message-ID: <bug-107937-4-lNCQr38GcL@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-107937-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107937 --- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> --- Another test-case: $ cat warn.i int regs, vm_debug_engine_vp_0, vm_debug_engine_vp_2; void vm_dispatch_hook(); void vm_debug_engine() { int fp; void *jump_table = &&l_nop; l_nop: if (__builtin_expect(vm_debug_engine_vp_2, 0)) vm_dispatch_hook(); if (_setjmp(regs)) { fp = fp; vm_dispatch_hook(); goto *jump_table; } vm_debug_engine_vp_0 = fp; } $ gcc -c warn.i -O1 -Wall warn.i: In function ‘vm_debug_engine’: warn.i:14:7: warning: implicit declaration of function ‘_setjmp’ [-Wimplicit-function-declaration] 14 | if (_setjmp(regs)) { | ^~~~~~~ during GIMPLE pass: uninit warn.i:8:1: internal compiler error: in find_var_cmp_const, at gimple-predicate-analysis.cc:257 8 | vm_debug_engine() { | ^~~~~~~~~~~~~~~ 0x84abb6 find_var_cmp_const /home/marxin/Programming/gcc/gcc/gimple-predicate-analysis.cc:257 0x1c83ff2 uninit_analysis::overlap(gphi*, unsigned int, hash_set<gphi*, false, default_hash_traits<gphi*> >*, predicate const&) /home/marxin/Programming/gcc/gcc/gimple-predicate-analysis.cc:648 0x1c83b45 uninit_analysis::is_use_guarded(gimple*, basic_block_def*, gphi*, unsigned int, hash_set<gphi*, false, default_hash_traits<gphi*> >*) /home/marxin/Programming/gcc/gcc/gimple-predicate-analysis.cc:2215 0x1c840ea uninit_analysis::is_use_guarded(gimple*, basic_block_def*, gphi*, unsigned int) /home/marxin/Programming/gcc/gcc/gimple-predicate-analysis.cc:2249 0x11188e7 find_uninit_use /home/marxin/Programming/gcc/gcc/tree-ssa-uninit.cc:1234 0x111923e warn_uninitialized_phi /home/marxin/Programming/gcc/gcc/tree-ssa-uninit.cc:1304 0x111923e execute_late_warn_uninitialized /home/marxin/Programming/gcc/gcc/tree-ssa-uninit.cc:1425 0x111923e execute /home/marxin/Programming/gcc/gcc/tree-ssa-uninit.cc:1442 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.
next prev parent reply other threads:[~2022-12-01 5:28 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-30 17:17 [Bug c/107937] New: ice in find_var_cmp_const, at gimple-predicate-analysis.cc:257 dcb314 at hotmail dot com 2022-11-30 17:19 ` [Bug tree-optimization/107937] [13 Regression] " pinskia at gcc dot gnu.org 2022-11-30 17:23 ` pinskia at gcc dot gnu.org 2022-11-30 17:26 ` pinskia at gcc dot gnu.org 2022-11-30 17:29 ` dcb314 at hotmail dot com 2022-11-30 17:33 ` pinskia at gcc dot gnu.org 2022-12-01 5:24 ` [Bug tree-optimization/107937] [13 Regression] ICE in find_var_cmp_const, at gimple-predicate-analysis.cc:257 since r13-4408-gb628cad9e093f7a3 marxin at gcc dot gnu.org 2022-12-01 5:28 ` marxin at gcc dot gnu.org [this message] 2022-12-01 7:34 ` rguenth at gcc dot gnu.org 2022-12-01 8:38 ` zhendong.su at inf dot ethz.ch 2022-12-01 9:54 ` cvs-commit at gcc dot gnu.org 2022-12-01 14:00 ` rguenth 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-107937-4-lNCQr38GcL@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).