diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-21 01:37:35 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-21 01:37:35 +0000 |
commit | 9cf1919403a5946b6cdead67f9db98049ba44aa6 (patch) | |
tree | 337ed6016df1dc1476a762f7d246d255cfed9a89 /gcc/function.c | |
parent | a25fe002453525250274d62e00772cef35757703 (diff) | |
download | gcc-9cf1919403a5946b6cdead67f9db98049ba44aa6.tar.gz |
PR middle-end/18683
* function.c (pop_function_context_from): Don't reset reg_renumber.
* g++.dg/opt/pr18683-1.C: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92452 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index 9251071d6f8..a7dc2236bf6 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -286,7 +286,6 @@ pop_function_context_from (tree context ATTRIBUTE_UNUSED) outer_function_chain = p->outer; current_function_decl = p->decl; - reg_renumber = 0; lang_hooks.function.leave_nested (p); |