diff options
author | obrien <obrien@FreeBSD.org> | 2001-02-17 08:34:50 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-02-17 08:34:50 +0000 |
commit | c67d59390e4485092d22ef31e9279cd03761aae8 (patch) | |
tree | b86771e64e7a23a8c3c4d3a5e8e0c087685dbc59 /contrib/gcc/tree.c | |
parent | f765f568136edef27288671f5bf261cb36d01ffe (diff) | |
download | FreeBSD-src-c67d59390e4485092d22ef31e9279cd03761aae8.zip FreeBSD-src-c67d59390e4485092d22ef31e9279cd03761aae8.tar.gz |
Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #3
Diffstat (limited to 'contrib/gcc/tree.c')
-rw-r--r-- | contrib/gcc/tree.c | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/contrib/gcc/tree.c b/contrib/gcc/tree.c index 5e29d2f..31bfd9a 100644 --- a/contrib/gcc/tree.c +++ b/contrib/gcc/tree.c @@ -1,5 +1,6 @@ /* Language-independent node constructors for parse phase of GNU compiler. - Copyright (C) 1987, 88, 92-98, 1999 Free Software Foundation, Inc. + Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, + 2000, 2001 Free Software Foundation, Inc. This file is part of GNU CC. @@ -1121,6 +1122,26 @@ make_node (code) case 'c': TREE_CONSTANT (t) = 1; break; + + case 'e': + switch (code) + { + case INIT_EXPR: + case MODIFY_EXPR: + case RTL_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; + break; + + default: + break; + } + break; } return t; @@ -3107,6 +3128,24 @@ build1 (code, type, node) TREE_RAISES (t) = 1; } + switch (code) + { + case INIT_EXPR: + case MODIFY_EXPR: + case RTL_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; + break; + + default: + break; + } + return t; } |