https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112347
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Uecker <uec...@gcc.gnu.org>: https://gcc.gnu.org/g:f432a594fe6d3a0de1330ba69200d158e6248083 commit r14-5084-gf432a594fe6d3a0de1330ba69200d158e6248083 Author: Martin Uecker <uec...@tugraz.at> Date: Thu Nov 2 13:12:15 2023 +0100 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.