public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113201] New: [14 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst in replace_uses_by, at tree-cfg.cc:2058 Date: Tue, 02 Jan 2024 15:48:13 +0000 [thread overview] Message-ID: <bug-113201-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113201 Bug ID: 113201 Summary: [14 Regression] internal compiler error: tree check: expected ssa_name, have integer_cst in replace_uses_by, at tree-cfg.cc:2058 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: doko at gcc dot gnu.org Target Milestone: --- seen with trunk 20240101 on x86_64-linux-gnu, building the xserver-xorg-video-intel package: fails with -O1, works with -O0. The unreduced testcase didn't work with -O2 either, the reduced test case works with -O2 $ cat sna_accel.i void __sigsetjmp(); void kgem_add_reloc() { int bh; __sigsetjmp(); while (--bh) ; kgem_add_reloc(); } $ gcc -c -O1 sna_accel.i during GIMPLE pass: sccp sna_accel.i: In function 'kgem_add_reloc': sna_accel.i:2:6: internal compiler error: tree check: expected ssa_name, have integer_cst in replace_uses_by, at tree-cfg.cc:2058 2 | void kgem_add_reloc() { | ^~~~~~~~~~~~~~ 0x137f737 tree_check_failed(tree_node const*, char const*, int, char const*, ...) ../../src/gcc/tree.cc:8952 0xbbd284 tree_check(tree_node*, char const*, int, char const*, tree_code) ../../src/gcc/tree.h:3612 0xbbd284 replace_uses_by(tree_node*, tree_node*) ../../src/gcc/tree-cfg.cc:2058 0x1fcbdc6 final_value_replacement_loop(loop*) ../../src/gcc/tree-scalar-evolution.cc:3885 0x1f62756 execute ../../src/gcc/tree-ssa-loop.cc:410 Please submit a full bug report, with preprocessed source (by using -freport-bug).
next reply other threads:[~2024-01-02 15:48 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-01-02 15:48 doko at gcc dot gnu.org [this message] 2024-01-02 21:39 ` [Bug tree-optimization/113201] " pinskia at gcc dot gnu.org 2024-01-02 21:43 ` pinskia at gcc dot gnu.org 2024-01-03 17:47 ` jakub at gcc dot gnu.org 2024-01-05 10:18 ` cvs-commit at gcc dot gnu.org 2024-01-05 10:19 ` jakub at gcc dot gnu.org 2024-01-05 14:20 ` jakub 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-113201-4@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).