]> git.ipfire.org Git - thirdparty/gcc.git/commit
Backported from trunk:
authorMartin Sebor <msebor@redhat.com>
Thu, 17 Jun 2021 17:42:10 +0000 (11:42 -0600)
committerMartin Sebor <msebor@redhat.com>
Thu, 17 Jun 2021 20:07:15 +0000 (14:07 -0600)
commit933885db3872cc58dc36498aa1b8e8f15484e008
treea4219e71918585bd02037a4d66733b1ff0e9bea4
parent11133f8f113e4591a2a5c9e61d810b9e5931043e
Backported from trunk:

PR c/100619 - ICE on a VLA parameter with too many dimensions

gcc/c-family/ChangeLog:

PR c/100619
* c-attribs.c (build_attr_access_from_parms): Handle arbitrarily many
bounds.

gcc/testsuite/ChangeLog:

PR c/100619
* gcc.dg/pr100619.c: New test.
gcc/c-family/c-attribs.c
gcc/testsuite/gcc.dg/pr100619.c [new file with mode: 0644]