[Bug c/107951] Invalid flexible array use not detected in nested structs by the C frontend
qinzhao at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 2 16:51:03 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107951
--- Comment #6 from qinzhao at gcc dot gnu.org ---
after reading the history, my understanding is:
this gcc extension is added as a workaround to build glibc since glibc source
code has such usage of flexible array members;
my question is: why not changing the glibc source code instead? then we don't
need such workaround in GCC?
More information about the Gcc-bugs
mailing list