This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: RFA: Fix PR java/14853
Tom Tromey writes:
> >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>
> Andrew> Eeeeh, OK. This is nasty stuff.
>
> Yeah. I really dislike how gcj builds different trees up front
> depending on flag_emit_class_files and flag_syntax_only (and other
> things, like enable_assertions).
>
> Here's the revision of the patch as we discussed on irc.
> Instead of stripping in an ad hoc way, we now use a function that
> already existed for doing this. It is renamed since we both disliked
> the old name.
>
> Ok?
>
> Tom
>
> Index: gcc/java/ChangeLog
> from Tom Tromey <tromey@redhat.com>
>
> PR java/14853:
> * java-tree.h (extract_field_decl): Declare.
> * parse.y (extract_field_decl): Renamed from
> strip_out_static_field_access_decl. No longer static.
> * check-init.c (get_variable_decl): Unwrap COMPOUND_EXPRs.
Yes, that's better.
Andrew.