aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-gimplify.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-07-29 20:16:32 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-07-29 20:16:32 +0000
commit9e34da8b076782c692a7e4fa6587fd19764d9b2d (patch)
tree2d32a3bb27ecb9ca4e4a9bd39bfa88b4d0c93093 /gcc/cp/cp-gimplify.c
parent2958f4a215223d78c9deb984cadfc410446e4e48 (diff)
downloadgcc-9e34da8b076782c692a7e4fa6587fd19764d9b2d.zip
gcc-9e34da8b076782c692a7e4fa6587fd19764d9b2d.tar.gz
gcc-9e34da8b076782c692a7e4fa6587fd19764d9b2d.tar.bz2
re PR c++/40834 (Revision 149750 failed 483.xalancbmk in SPEC CPU 2006)
2009-07-29 Richard Guenther <rguenther@suse.de> PR c++/40834 * cp-gimplify.c (cp_genericize_r): Properly walk the BIND_EXPR vars. * g++.dg/torture/pr40834.C: New testcase. From-SVN: r150222
Diffstat (limited to 'gcc/cp/cp-gimplify.c')
-rw-r--r--gcc/cp/cp-gimplify.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/cp-gimplify.c b/gcc/cp/cp-gimplify.c
index 184ae9e..b4d36de4 100644
--- a/gcc/cp/cp-gimplify.c
+++ b/gcc/cp/cp-gimplify.c
@@ -810,7 +810,6 @@ cp_genericize_r (tree *stmt_p, int *walk_subtrees, void *data)
cp_walk_tree (&BIND_EXPR_BODY (stmt),
cp_genericize_r, data, NULL);
VEC_pop (tree, wtd->bind_expr_stack);
- *walk_subtrees = 0;
}
else if (TREE_CODE (stmt) == USING_STMT)