diff options
author | Richard Guenther <rguenther@suse.de> | 2009-07-29 20:16:32 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2009-07-29 20:16:32 +0000 |
commit | 9e34da8b076782c692a7e4fa6587fd19764d9b2d (patch) | |
tree | 2d32a3bb27ecb9ca4e4a9bd39bfa88b4d0c93093 /gcc/cp | |
parent | 2958f4a215223d78c9deb984cadfc410446e4e48 (diff) | |
download | gcc-9e34da8b076782c692a7e4fa6587fd19764d9b2d.tar.gz |
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')
-rw-r--r-- | gcc/cp/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cp/cp-gimplify.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ee37b654aed..743854196a0 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2009-07-29 Richard Guenther <rguenther@suse.de> + + PR c++/40834 + * cp-gimplify.c (cp_genericize_r): Properly walk the BIND_EXPR + vars. + 2009-07-26 Simon Martin <simartin@users.sourceforge.net> PR c++/40749 diff --git a/gcc/cp/cp-gimplify.c b/gcc/cp/cp-gimplify.c index 184ae9e3072..b4d36de44ca 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) |