[Bug objc/101616] Objective-C frontend should not emit vtable/fixup messages (at least, not by default)
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 25 07:28:44 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101616
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Matt Jacobson from comment #0)
> In 10.2.0, the Objective-C frontend (in NeXT v2 ABI mode) emits "fixup"
> messages for all message sends.
Please check 10.3, 11.(1,2rc) and master - I believe this is already fixed (and
back ported to 10.3).
I have not (yet) applied it to 9.x (so that would not appear until 9.5, if
done).
The changes are selective on the target OS version (since fixup messages _are_
emitted by the 'system' [i.e. last usable Xcode] compilers for earlier OS
versions).
So that
gcc foo.m
on a recent OS version should omit the fixup versions
but with -mmacosx-version-min=10.5 the fixups versions should be emitted
(actually, with a few small changes as the OS version changes).
More information about the Gcc-bugs
mailing list