https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107952
--- Comment #17 from qinzhao at gcc dot gnu.org --- (In reply to Siddhesh Poyarekar from comment #16) > > We might add a new utility routine to determine whether a ref to a struct or > > union have flexible array? > > It will be useful for __bos/__bdos for sure. Yes, this new utility routine can be added and used by tree-object-size, then we can fix the PR 101832 separately. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832