public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/103770] New: ICE related to VLA
@ 2021-12-19 18:30 muecker at gwdg dot de
  2021-12-19 21:17 ` [Bug middle-end/103770] [11 Regression] " pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: muecker at gwdg dot de @ 2021-12-19 18:30 UTC (permalink / raw)
  To: gcc-bugs

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);
}

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-05-29 10:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-19 18:30 [Bug c/103770] New: ICE related to VLA muecker at gwdg dot de
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

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).