This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal compiler error with gcj
- To: java at gcc dot gnu dot org
- Subject: Internal compiler error with gcj
- From: Martin Kahlert <martin dot kahlert at infineon dot com>
- Date: Wed, 14 Feb 2001 16:51:40 +0100
- Cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: martin dot kahlert at infineon dot com
Hi!
This gives an ICE on Linux:
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 -v:
Configured with: ../configure --prefix=/sw/snapshots
--enable-languages=c++,f77,java --enable-threads=posix --enable-libstdcxx-v3
gcc version 2.97 20010205 (experimental)
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: Internal compiler error in patch_assignment, at parse.y:12440
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Hope this is enough the be helpful.
Thanks,
Martin.
PS: Where is the new gcc-snapshot?
--
The early bird gets the worm. If you want something else for
breakfast, get up later.