OSDN Git Service

(invert_truthvalue, case CLEANUP_POINT_EXPR): New case.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 May 1995 21:44:45 +0000 (21:44 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 May 1995 21:44:45 +0000 (21:44 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9735 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fold-const.c

index c51b8cd..e3470b3 100644 (file)
@@ -2088,6 +2088,10 @@ invert_truthvalue (arg)
 
     case SAVE_EXPR:
       return build1 (TRUTH_NOT_EXPR, type, arg);
+
+    case CLEANUP_POINT_EXPR:
+      return build1 (CLEANUP_POINT_EXPR, type,
+                    invert_truthvalue (TREE_OPERAND (arg, 0)));
     }
   if (TREE_CODE (TREE_TYPE (arg)) != BOOLEAN_TYPE)
     abort ();