https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88532
Joseph S. Myers changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88532
--- Comment #2 from sasho648 at gmail dot com ---
Related points from the standard:
6.7.9 p3 states:
The type of the entity to be initialized shall be an array of unknown size or a
complete object type that is not a variable length array type.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88532
--- Comment #1 from Andrew Pinski ---
IIRC types defined in sizeof are not exposed to the current scope.