[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails
qinzhao at gcc dot gnu.org
Wed Jun 8 16:06:47 GMT 2022
--- Comment #14 from qinzhao at gcc dot gnu.org ---
(In reply to Kees Cook from comment #13)
> Maybe the enum needs to also be expanded so that  can be distinguished
> from ?
I believe that the IR for real flexible array  is different from , it's
already identified by the IR itself, no need for this enum to distinguish.
More information about the Gcc-bugs