https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- -xobjective-c should work fine with both gcc and clang and is much better designed, it isn't about two almost dead languages, but allows specifying any language the compiler supports.