[Bug middle-end/106016] [PowerPC] crash with attempt to initialize array of MMA accumulators
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Aug 12 00:26:20 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106016
--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Peter Bergner
<bergner@gcc.gnu.org>:
https://gcc.gnu.org/g:6aaaf20ee4ad9c85f3099ef425720547644fb08d
commit r12-8682-g6aaaf20ee4ad9c85f3099ef425720547644fb08d
Author: Peter Bergner <bergner@linux.ibm.com>
Date: Fri Jun 17 23:43:23 2022 -0500
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.
(cherry picked from commit 975658b782f36dcf6eb190966d5b705977bfd5eb)
More information about the Gcc-bugs
mailing list