https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88477
Anders Granlund changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88477
Joseph S. Myers changed:
What|Removed |Added
CC||sasho648 at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88477
--- Comment #4 from Anders Granlund ---
In general the standard seems to be a bit inprecise when it talks about types
beeing complete.
The same type may be incomplete at one point in the program, but complete at
another point. The standard shoul
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88477
--- Comment #3 from joseph at codesourcery dot com ---
I'm referring to C17 6.7.9#3, in the constraints for initializers.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88477
--- Comment #2 from Anders Granlund ---
To what part of the standard are you refering to?
This is what I found and it allows the given program:
C11 standard 6.7.7: https://port70.net/~nsz/c/c11/n1570.html#6.7p7
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88477
--- Comment #1 from joseph at codesourcery dot com ---
I'd argue that the constraint "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." must be unders