public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/4715: Tree check failure in check_inner_circular_reference
@ 2002-03-28 15:37 apbianco
  0 siblings, 0 replies; 3+ messages in thread
From: apbianco @ 2002-03-28 15:37 UTC (permalink / raw)
  To: apbianco, bryce, gcc-bugs, gcc-prs, java-prs, nobody

Synopsis: Tree check failure in check_inner_circular_reference

Responsible-Changed-From-To: unassigned->apbianco
Responsible-Changed-By: apbianco
Responsible-Changed-When: Thu Mar 28 15:37:49 2002
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: open->closed
State-Changed-By: apbianco
State-Changed-When: Thu Mar 28 15:37:49 2002
State-Changed-Why:
    I checked in a patch:
    
      http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01917.html

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4715


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: java/4715: Tree check failure in check_inner_circular_reference
@ 2002-01-09  6:16 Mark Wielaard
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Wielaard @ 2002-01-09  6:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Mark Wielaard <mark@klomp.org>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, 
	nobody@gcc.gnu.org, java-prs@gcc.gnu.org, bryce@waitaki.otago.ac.nz
Cc:  
Subject: Re: java/4715: Tree check failure in check_inner_circular_reference
Date: 09 Jan 2002 15:13:10 +0100

 Hi,
 
 The patch that Tom attached works for me to get around the issue that
 I reported on the Classpath mailing list.
 <http://mail.gnu.org/pipermail/classpath/2002-January/001694.html>
 
 Cheers,
 
 Mark


^ permalink raw reply	[flat|nested] 3+ messages in thread

* java/4715: Tree check failure in check_inner_circular_reference
@ 2001-10-28  4:26 bryce
  0 siblings, 0 replies; 3+ messages in thread
From: bryce @ 2001-10-28  4:26 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4715
>Category:       java
>Synopsis:       Tree check failure in check_inner_circular_reference
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 28 04:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        trunk
>Organization:
>Environment:
powerpc-unknown-linux-gnu
>Description:
Building libgcj's java.util package with multiple file input yields a tree check failure. It looks like check_inner_circular_reference can run into unresolved/unloaded classes in certain circumstances, in this case java.util.AbstractMap is a POINTER_TYPE instead of a DECL_TYPE?

A workaround is to add:

if (TREE_CODE (su) == POINTER_TYPE)
  return NULL_TREE;


>How-To-Repeat:
$ cd gcc/libjava
$ gcj -c java/util/*.java -o java-util.o            
./java/util/LinkedHashMap.java:0: Tree check: expected class 'd', have 'x' (identifier_node) in check_inner_circular_reference, at java/parse.y:5245

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-28 23:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-28 15:37 java/4715: Tree check failure in check_inner_circular_reference apbianco
  -- strict thread matches above, loose matches on Subject: below --
2002-01-09  6:16 Mark Wielaard
2001-10-28  4:26 bryce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).