Internal compiler error with gcj

Martin Kahlert martin.kahlert@infineon.com
Wed Feb 14 07:51:00 GMT 2001


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /