public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "muecker at gwdg dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/103770] New: ICE related to VLA Date: Sun, 19 Dec 2021 18:30:06 +0000 [thread overview] Message-ID: <bug-103770-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103770 Bug ID: 103770 Summary: ICE related to VLA Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: muecker at gwdg dot de Target Milestone: --- Here is an ICE related to VLAs starting version 11 and seems fixed on trunk. https://godbolt.org/z/Y63dEq7KE struct struct_s { void* ptr; void* ptr2; void* ptr3; }; struct struct_s struct_create(int N, const long vla[N]); void fun(int N) { long vla[N]; struct struct_s st = struct_create(N, vla); }
next reply other threads:[~2021-12-19 18:30 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-19 18:30 muecker at gwdg dot de [this message] 2021-12-19 21:17 ` [Bug middle-end/103770] [11 Regression] " pinskia at gcc dot gnu.org 2021-12-20 9:09 ` marxin at gcc dot gnu.org 2021-12-20 11:48 ` pinskia at gcc dot gnu.org 2021-12-29 12:10 ` muecker at gwdg dot de 2021-12-29 20:20 ` pinskia at gcc dot gnu.org 2022-03-26 21:42 ` pinskia at gcc dot gnu.org 2022-04-21 7:51 ` rguenth at gcc dot gnu.org 2023-01-28 18:15 ` muecker at gwdg dot de 2023-05-29 10:06 ` 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-103770-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).