https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79269
--- Comment #2 from mojo at world3 dot net --- Thanks. __builtin_object_size() works well at runtime and solves me immediate need, which spurred me to suggest this enhancement. After giving it some thought I agree with you, I can't see any easy way to handle incomplete objects.