public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "shaohua.li at inf dot ethz.ch" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/111571] New: [13/14 Regression] ICE in modify_call, at ipa-param-manipulation.cc:656 Date: Sun, 24 Sep 2023 13:06:30 +0000 [thread overview] Message-ID: <bug-111571-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111571 Bug ID: 111571 Summary: [13/14 Regression] ICE in modify_call, at ipa-param-manipulation.cc:656 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: shaohua.li at inf dot ethz.ch CC: mjambor at suse dot cz Target Milestone: --- gcc at -O2 crashes on the following testcase. Bisected to r13-4685-g4834e9360f7 Compiler explorer: https://godbolt.org/z/3b9ra7Kf8 $ cat a.c struct a { int b; }; struct c { long d; struct a e; long f; }; int g, h, i; int j() {return 0;} static void k(struct a l, int p) { if (h) g = 0; for (; g; g = j()) if (l.b) break; } static void m(struct c l) { k(l.e, l.f); for (;; --i) ; } int main() { struct c n = {10, 9}; m(n); } $ $ gcc -O2 a.c during IPA pass: inline a.c: In function ‘main’: a.c:25:9: internal compiler error: in modify_call, at ipa-param-manipulation.cc:655 25 | m(n); | ^~~~ 0x7f9be5bb7082 __libc_start_main ../csu/libc-start.c:308 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 reply other threads:[~2023-09-24 13:06 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-24 13:06 shaohua.li at inf dot ethz.ch [this message] 2023-09-24 13:22 ` [Bug tree-optimization/111571] " jamborm at gcc dot gnu.org 2023-09-24 16:55 ` [Bug ipa/111571] " pinskia at gcc dot gnu.org 2023-11-02 9:37 ` noamlewis at google dot com 2024-03-07 21:52 ` law at gcc dot gnu.org 2024-03-12 13:26 ` jakub at gcc dot gnu.org 2024-03-15 17:57 ` jamborm at gcc dot gnu.org 2024-04-04 20:59 ` cvs-commit at gcc dot gnu.org 2024-04-04 21:16 ` [Bug ipa/111571] [13 " jamborm at gcc dot gnu.org 2024-04-19 14:58 ` cvs-commit at gcc dot gnu.org 2024-05-08 12:17 ` 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-111571-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).