diff options
author | Martin Uecker <uecker@tugraz.at> | 2023-11-02 13:12:15 +0100 |
---|---|---|
committer | Martin Uecker <uecker@tugraz.at> | 2023-11-02 14:54:53 +0100 |
commit | f432a594fe6d3a0de1330ba69200d158e6248083 (patch) | |
tree | 046368e1ad76258eafb93b74206e0f28ed56ac87 /gcc/tree-vect-loop.cc | |
parent | 04802ed3b94bdc3083547ac08bca71764a004d01 (diff) | |
download | gcc-f432a594fe6d3a0de1330ba69200d158e6248083.zip gcc-f432a594fe6d3a0de1330ba69200d158e6248083.tar.gz gcc-f432a594fe6d3a0de1330ba69200d158e6248083.tar.bz2 |
c: Add missing conditions in Walloc-size to avoid ICEs [PR112347]
Fix ICE because of forgotten checks for pointers to void
and incomplete arrays.
Committed as obvious.
PR c/112347
gcc/c:
* c-typeck.cc (convert_for_assignment): Add missing check.
gcc/testsuite:
* gcc.dg/Walloc-size-3.c: New test.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions