aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/avr/avr.c
diff options
context:
space:
mode:
authorPeter Bergner <bergner@linux.ibm.com>2022-06-17 23:43:23 -0500
committerMartin Liska <mliska@suse.cz>2022-07-28 14:09:02 +0200
commiteee84fda23eaac131f1efe4c9520e77f769371b4 (patch)
treeb966912cd73f037f7e422f633e209f90c4f66e46 /gcc/config/avr/avr.c
parent1758efd9057bc6d1780b02f3b51e10ede233451e (diff)
downloadgcc-eee84fda23eaac131f1efe4c9520e77f769371b4.zip
gcc-eee84fda23eaac131f1efe4c9520e77f769371b4.tar.gz
gcc-eee84fda23eaac131f1efe4c9520e77f769371b4.tar.bz2
c: Handle initializations of opaque types [PR106016]
The initial commit that added opaque types thought that there couldn't be any valid initializations for variables of these types, but the test case in the bug report shows that isn't true. The solution is to handle OPAQUE_TYPE initializations like the other scalar types. 2022-06-17 Peter Bergner <bergner@linux.ibm.com> gcc/ PR c/106016 * expr.cc (count_type_elements): Handle OPAQUE_TYPE. gcc/testsuite/ PR c/106016 * gcc.target/powerpc/pr106016.c: New test.
Diffstat (limited to 'gcc/config/avr/avr.c')
0 files changed, 0 insertions, 0 deletions