https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118655
Bug ID: 118655
Summary: __is_bounded_array returns true for zero-size arrays
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: nikolasklauser at berlin dot de
Target Milestone: ---
__is_bounded_array(int[0]) returns true, while __is_array(int[0]) returns
false, which seems wrong. IIRC there was a bug report about __is_array(int[0])
being true that has been fixed, but I can't find it anymore.