This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCC 3.1 Prerelease
- From: Tom Tromey <tromey at redhat dot com>
- To: Per Bothner <per at bothner 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: 23 Apr 2002 17:10:58 -0600
- 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> <3CC5D895.8090605@bothner.com>
- Reply-to: tromey at redhat dot com
>>>>> "Per" == Per Bothner <per@bothner.com> writes:
Per> This patch causes building Kawa to break even earlier (while
Per> generating class files).
Yeah, I saw that once I started rebuilding libgcj with it. Try the
appended. We really need Alex to look at this though.
Tom
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 23:04:15 -0000
@@ -11219,7 +11219,9 @@
{
case CALL_EXPR:
qual_wfl = TREE_OPERAND (qual_wfl, 0);
- if (TREE_CODE (qual_wfl) != EXPR_WITH_FILE_LOCATION)
+ if (TREE_CODE (qual_wfl) != EXPR_WITH_FILE_LOCATION
+ || (EXPR_WFL_QUALIFICATION (qual_wfl)
+ && TREE_CODE (EXPR_WFL_QUALIFICATION (qual_wfl)) == TREE_LIST))
{
qual = EXPR_WFL_QUALIFICATION (qual_wfl);
qual_wfl = QUAL_WFL (qual);