This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCC 3.1 Prerelease
- From: Per Bothner <per at bothner dot com>
- To: tromey at redhat dot com
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, Alexandre Petit-Bianco<apbianco at redhat dot com>, Java Discuss List <java at gcc dot gnu dot org>
- Date: Tue, 23 Apr 2002 14:56:37 -0700
- Subject: Re: GCC 3.1 Prerelease
- References: <14800000.1019552485@gandalf.codesourcery.com> <3CC583C5.6030101@bothner.com> <20980000.1019578223@gandalf.codesourcery.com> <3CC5909E.7070704@bothner.com> <87bscaf6mc.fsf@creche.redhat.com>
Tom Tromey wrote:
> Index: ChangeLog
> from Tom Tromey <tromey@redhat.com>
>
> * parse.y (qualify_ambiguous_name) [case CALL_EXPR]: Always choose
> EXPR_WFL_QUALIFICATION of qual_wfl.
>
> Index: parse.y
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/java/parse.y,v
> retrieving revision 1.353.2.17
> diff -u -r1.353.2.17 parse.y
> --- parse.y 15 Apr 2002 09:28:53 -0000 1.353.2.17
> +++ parse.y 23 Apr 2002 21:01:01 -0000
> @@ -11219,11 +11219,8 @@
> {
> case CALL_EXPR:
> qual_wfl = TREE_OPERAND (qual_wfl, 0);
> - if (TREE_CODE (qual_wfl) != EXPR_WITH_FILE_LOCATION)
> - {
> - qual = EXPR_WFL_QUALIFICATION (qual_wfl);
> - qual_wfl = QUAL_WFL (qual);
> - }
> + qual = EXPR_WFL_QUALIFICATION (qual_wfl);
> + qual_wfl = QUAL_WFL (qual);
> break;
> case NEW_ARRAY_EXPR:
> case NEW_ANONYMOUS_ARRAY_EXPR:
This patch causes building Kawa to break even earlier (while
generating class files).
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/