This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

java/2008: ICE in gcj (no optimization)



>Number:         2008
>Category:       java
>Synopsis:       ICE in gcj (no optimization)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 16 09:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martin Kahlert
>Release:        3.0 20010215 (prerelease)
>Organization:
Infineon AG
>Environment:
System: Linux keksy 2.2.18 #5 SMP Wed Jan 24 09:24:42 CET 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../configure --prefix=/sw/snapshots --enable-languages=c++,f77,java --enable-threads=posix --enable-libstdcxx-v3
>Description:
	ICE when compiling this correct code
>How-To-Repeat:

cat VXE_ParseTreeException.java:
==========================================
public class VXE_ParseTreeException
{
 private VCDN_Node _node;		

 public void getMessage()
    {
     VCDN_Node       aNode;	
     String pList[]= new String[2];

     aNode    =  _node.getChild(0);
     pList[0] += "\n  + " + aNode;	
    }
}
==========================================


cat VCDN_Node.java:
==========================================
public abstract class VCDN_Node 
{
    public VCDN_Node getChild( int  index)
    {
	return( null );
    }
}
==========================================

gcj -c VXE_ParseTreeException.java
VXE_ParseTreeException.java: In class `VXE_ParseTreeException':
VXE_ParseTreeException.java: In method `VXE_ParseTreeException.getMessage()':
VXE_ParseTreeException.java:13: Tree check: expected class 'e', have 'd' (function_decl)
VXE_ParseTreeException.java:13: confused by earlier errors, bailing out

>Fix:
No idea - sorry.
>Release-Note:
>Audit-Trail:
>Unformatted:


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