[Bug java/15769] [3.5 Regression] ICE: seemingly infinite recursion through gimplify_expr

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 3 17:30:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-03 13:04 -------
Yes it is, simple fix:
Index: expr.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/java/expr.c,v
retrieving revision 1.191
diff -u -d -b -w -u -p -r1.191 expr.c
--- expr.c      14 May 2004 02:29:32 -0000      1.191
+++ expr.c      3 Jun 2004 13:04:08 -0000
@@ -160,12 +160,16 @@ java_truthvalue_conversion (tree expr)
 
   switch (TREE_CODE (expr))
     {
-    case EQ_EXPR:
-    case NE_EXPR: case LE_EXPR: case GE_EXPR: case LT_EXPR: case GT_EXPR:
+    case EQ_EXPR:   case NE_EXPR:   case UNEQ_EXPR: case LTGT_EXPR:
+    case LE_EXPR:   case GE_EXPR:   case LT_EXPR:   case GT_EXPR:
+    case UNLE_EXPR: case UNGE_EXPR: case UNLT_EXPR: case UNGT_EXPR:
+    case ORDERED_EXPR: case UNORDERED_EXPR:
     case TRUTH_ANDIF_EXPR:
     case TRUTH_ORIF_EXPR:
     case TRUTH_AND_EXPR:
     case TRUTH_OR_EXPR:
+    case TRUTH_XOR_EXPR:
+    case TRUTH_NOT_EXPR:
     case ERROR_MARK:
       return expr;

-- 


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



More information about the Java-prs mailing list