https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109557
Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #6 from Siddhesh Poyarekar <siddhesh at gcc dot gnu.org> --- (In reply to Martin Uecker from comment #5) > With "in general" I meant in a different program. From just knowing the > type of the pointer you can not derive the object size. This is how I > understood the original question. Ah ok, agreed. Closing this as invalid then; I noticed I was missing the inline keyword when I tried forcing inlining, so that was also a PEBKAC.