diff options
author | Roger Sayle <roger@eyesopen.com> | 2004-12-21 01:37:35 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2004-12-21 01:37:35 +0000 |
commit | 5fdf61fee32a4b2b2dd2e2884a43c730dd5f90d1 (patch) | |
tree | 337ed6016df1dc1476a762f7d246d255cfed9a89 /gcc/function.c | |
parent | f5b25f8cca4732d0c64d20ea20792b2941ac7bb3 (diff) | |
download | gcc-5fdf61fee32a4b2b2dd2e2884a43c730dd5f90d1.zip gcc-5fdf61fee32a4b2b2dd2e2884a43c730dd5f90d1.tar.gz gcc-5fdf61fee32a4b2b2dd2e2884a43c730dd5f90d1.tar.bz2 |
re PR middle-end/18683 (seg fault in local allocate)
PR middle-end/18683
* function.c (pop_function_context_from): Don't reset reg_renumber.
* g++.dg/opt/pr18683-1.C: New test case.
From-SVN: r92452
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 9251071..a7dc223 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); |