diff options
author | Martin Sebor <msebor@redhat.com> | 2020-09-30 09:31:29 -0600 |
---|---|---|
committer | Martin Sebor <msebor@redhat.com> | 2020-09-30 12:59:53 -0600 |
commit | e808f3fdfa8f31066da19011b55acb8c0446c72d (patch) | |
tree | c263bdab839225d79c50032b48ec97d7acf0fab0 /libgo | |
parent | 73ae6eb572515ad627b575a7fbdfdd47a4368e1c (diff) | |
download | gcc-e808f3fdfa8f31066da19011b55acb8c0446c72d.zip gcc-e808f3fdfa8f31066da19011b55acb8c0446c72d.tar.gz gcc-e808f3fdfa8f31066da19011b55acb8c0446c72d.tar.bz2 |
PR c/97206 - ICE in composite_type on declarations of a similar array types
gcc/ChangeLog:
PR c/97206
* attribs.c (attr_access::array_as_string): Avoid modifying a shared
type in place and use build_type_attribute_qual_variant instead.
gcc/testsuite/ChangeLog:
PR c/97206
* gcc.dg/Warray-parameter-7.c: New test.
* gcc.dg/Warray-parameter-8.c: New test.
* gcc.dg/Wvla-parameter-5.c: New test.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions