aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenth@gcc.gnu.org>2005-05-18 20:11:20 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2005-05-18 20:11:20 +0000
commit90b4552881c78f9be7252dee27a357a74428d40e (patch)
treed37131282ef399b4c5955c212623c594a319b03a /gcc
parent55cb016929542dfcf421a86070f6bb4e5cf9f86e (diff)
downloadgcc-90b4552881c78f9be7252dee27a357a74428d40e.zip
gcc-90b4552881c78f9be7252dee27a357a74428d40e.tar.gz
gcc-90b4552881c78f9be7252dee27a357a74428d40e.tar.bz2
tree.c (build1_stat): Don't try to handle two-operand tree codes.
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.c6
2 files changed, 5 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 10ab316..47332e1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/tree.c b/gcc/tree.c
index 3297772..de74fe9 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -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;