PATCH: ObjC++-related common code mods

Geoffrey Keating
Tue Aug 17 21:50:00 GMT 2004

Ziemowit Laski <> writes:

> Ok, so I've whittled down my patch from yesterday so that now it only
> contains the front-end-independent code, so that one of the blanket
> maintainers can review it.  OK if bootstrap succeeds?
> Thanks,

... I think you should have broken this up a bit more.

> --Zem
> [gcc/ChangeLog]
> 2004-08-17  Ziemowit Laski  <>
>          * expr.c (categorize_ctor_elements_1): Check for existence of a
>          designated initializer before grokking it.

This part has already been rejected by rth.

>          * gcc.c (default_compilers): Add info about ".mm", ".M" and
> ".mii"
>          Objective-C++ extensions.

This part is OK.

>          * gengtype.c (get_file_basename): Match entire subdirectory name
>          ('cp', 'objc', 'objcp') rather than just its suffix.
>          (get_base_file_bitmap): Allow for files to belong to more
> than one
>          language.
>          (get_output_file_with_visibility): Treat objc/objc-act.h as a
> header
>          used by more than one front-end.

This part is OK.

More information about the Gcc-patches mailing list