tree.c (build1_stat): Don't try to handle two-operand tree codes.
authorRichard Guenther <rguenth@gcc.gnu.org>
Wed, 18 May 2005 20:11:20 +0000 (20:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 18 May 2005 20:11:20 +0000 (20:11 +0000)
2005-05-18  Richard Guenther  <rguenth@gcc.gnu.org>

* tree.c (build1_stat): Don't try to handle two-operand
tree codes.

From-SVN: r99923

gcc/ChangeLog
gcc/tree.c

index 10ab316..47332e1 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-18  Richard Guenther  <rguenth@gcc.gnu.org>
+
+       * tree.c (build1_stat): Don't try to handle two-operand
+       tree codes.
+
 2005-05-18  Richard Sandiford  <rsandifo@redhat.com>
 
        * config.gcc (sh*-*-*): Define SUPPORT_* macros to 1.
index 3297772..de74fe9 100644 (file)
@@ -2536,13 +2536,7 @@ build1_stat (enum tree_code code, tree type, tree node MEM_STAT_DECL)
     TREE_SIDE_EFFECTS (t) = 1;
   else switch (code)
     {
-    case INIT_EXPR:
-    case MODIFY_EXPR:
     case VA_ARG_EXPR:
-    case PREDECREMENT_EXPR:
-    case PREINCREMENT_EXPR:
-    case POSTDECREMENT_EXPR:
-    case POSTINCREMENT_EXPR:
       /* All of these have side-effects, no matter what their
         operands are.  */
       TREE_SIDE_EFFECTS (t) = 1;