https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123719
Bug ID: 123719
Summary: ICE in count_type_elements after a cascade of
invalid/incomplete struct declarations produces an
error_mark type for an array element.
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: aamadu.olander at gmail dot com
Target Milestone: ---
Created attachment 63413
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63413&action=edit
The file contains the output of -freport-bug switch
I have generated a testcase using a fuzzer and here's the output when I run the
latest version of gcc to compile the c code.