From: Richard Guenther Date: Wed, 18 May 2005 20:11:20 +0000 (+0000) Subject: tree.c (build1_stat): Don't try to handle two-operand tree codes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90b4552881c78f9be7252dee27a357a74428d40e;p=gcc.git tree.c (build1_stat): Don't try to handle two-operand tree codes. 2005-05-18 Richard Guenther * tree.c (build1_stat): Don't try to handle two-operand tree codes. From-SVN: r99923 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 10ab31694d6..47332e1b19a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-05-18 Richard Guenther + + * tree.c (build1_stat): Don't try to handle two-operand + tree codes. + 2005-05-18 Richard Sandiford * config.gcc (sh*-*-*): Define SUPPORT_* macros to 1. diff --git a/gcc/tree.c b/gcc/tree.c index 32977724d9d..de74fe98bdb 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;