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]
Other format: [Raw text]

[Bug java/12501] New: ICE in store_expr


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12501

           Summary: ICE in store_expr
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: m68k-linux

When compiling libjava for m68k-linux:  
  
/bin/sh ./libtool --tag=GCJ --mode=compile /cvs/test/m68k/gcc/gcc/gcj -B/cvs/ 
test/m68k/gcc/m68k-linux/libjava/ -B/cvs/test/m68k/gcc/gcc/ --encoding=UTF-8  
-Wno-deprecated -fclasspath= -fbootclasspath=/cvs/test/m68k/gcc/m68k-linux/ 
libjava -g -O2 -MD -MT java/lang/ThreadGroup.lo -MF java/lang/ThreadGroup.d -c  
-o java/lang/ThreadGroup.lo /cvs/gcc/libjava/java/lang/ThreadGroup.java  
/cvs/test/m68k/gcc/gcc/gcj -B/cvs/test/m68k/gcc/m68k-linux/libjava/ -B/cvs/ 
test/m68k/gcc/gcc/ --encoding=UTF-8 -Wno-deprecated -fclasspath=  
-fbootclasspath=/cvs/test/m68k/gcc/m68k-linux/libjava -g -O2 -MD -MT java/lang/ 
ThreadGroup.lo -MF java/lang/ThreadGroup.d -c /cvs/gcc/libjava/java/lang/ 
ThreadGroup.java -fPIC -o java/lang/.libs/ThreadGroup.o  
/cvs/gcc/libjava/java/lang/ThreadGroup.java: In class `java.lang.ThreadGroup':  
/cvs/gcc/libjava/java/lang/ThreadGroup.java: In method  
`java.lang.ThreadGroup.enumerate(java.lang.ThreadGroup[],int,boolean)':  
/cvs/gcc/libjava/java/lang/ThreadGroup.java:670: internal compiler error: in  
store_expr, at expr.c:4432  
Please submit a full bug report,  
with preprocessed source if appropriate.  
See <URL:http://gcc.gnu.org/bugs.html> for instructions.  
  
Line 4432 is this:  
  
  if (VOID_TYPE_P (TREE_TYPE (exp)))  
    {  
      /* C++ can generate ?: expressions with a throw expression in one  
	 branch and an rvalue in the other. Here, we resolve attempts to  
	 store the throw expression's nonexistent result.  */  
      if (want_value)  
	abort ();  
  
exp is a CALL_EXPR (calling _Jv_ThrowNullPointerException) inside a COND_EXPR.


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