diff options
author | Jason Merrill <jason@redhat.com> | 2003-10-21 10:24:28 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2003-10-21 10:24:28 -0400 |
commit | 064ee155f8d7dfb0987007caff4eb02b30716e70 (patch) | |
tree | 961dcd722825aacaa8628fc0a9fb1d8300361177 /gcc/tree.c | |
parent | 82c2e3d44ae7b45717e0dd539bd097ff8cd4ab79 (diff) | |
download | gcc-064ee155f8d7dfb0987007caff4eb02b30716e70.zip gcc-064ee155f8d7dfb0987007caff4eb02b30716e70.tar.gz gcc-064ee155f8d7dfb0987007caff4eb02b30716e70.tar.bz2 |
* tree.c (build1): Fix off-by-one error.
From-SVN: r72754
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2478,7 +2478,7 @@ build1 (enum tree_code code, tree type, tree node) TREE_SIDE_EFFECTS (t) = 0; if (!DECL_P (node)) { - int i = first_rtl_op (TREE_CODE (node)); + int i = first_rtl_op (TREE_CODE (node)) - 1; for (; i >= 0; --i) { if (TREE_SIDE_EFFECTS (TREE_OPERAND (node, i))) |