OSDN Git Service

2005-05-18 Richard Guenther <rguenth@gcc.gnu.org>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 May 2005 20:11:20 +0000 (20:11 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 May 2005 20:11:20 +0000 (20:11 +0000)
* tree.c (build1_stat): Don't try to handle two-operand
tree codes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99923 138bc75d-0d04-0410-961f-82ee72b054a4

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;