This is the mail archive of the java-prs@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcj/56


The following reply was made to PR gcj/56; it has been noted by GNATS.

From: apbianco@cygnus.com
To: apbianco@cygnus.com, ashe@qms.com, java-gnats@sourceware.cygnus.com
Cc:  
Subject: Re: gcj/56
Date: 21 Oct 1999 10:59:11 -0000

 Synopsis: jc1 segfaults on assignment combined with method call or field access
 
 State-Changed-From-To: open->feedback
 State-Changed-By: apbianco
 State-Changed-When: Thu Oct 21 03:59:11 1999
 State-Changed-Why:
     Here's a patch you should try. Let me know how it works for
     you. I'm still testing the non regressions, and I will
     refine the patch.
     
     Index: parse.y
     ===================================================================
     RCS file: /cvs/gcc/egcs/gcc/java/parse.y,v
     retrieving revision 1.112
     diff -u -p -r1.112 parse.y
     --- parse.y     1999/10/14 17:13:56     1.112
     +++ parse.y     1999/10/21 10:49:31
     @@ -7866,6 +7866,10 @@ qualify_ambiguous_name (id)
                  TREE_CODE (TREE_OPERAND (qual_wfl, 0)) == EXPR_WITH_FILE_LOCATION)
            name = EXPR_WFL_NODE (TREE_OPERAND (qual_wfl, 0));
      
     +    else if (code == MODIFY_EXPR &&
     +            TREE_CODE (TREE_OPERAND (qual_wfl, 0)) == EXPR_WITH_FILE_LOCATION)
     +      name = EXPR_WFL_NODE (TREE_OPERAND (qual_wfl, 0));
     +
          else if (code == STRING_CST || code == CONDITIONAL_EXPR)
            {
             qual = TREE_CHAIN (qual);
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=56

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]