diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-23 22:57:07 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-23 22:57:07 +0000 |
commit | 80f0bab197e581906b37719d2d8349ec188f0396 (patch) | |
tree | 6eab91f749ed269b1d645956f8385ea3a3651fb0 /gcc/cp/decl.c | |
parent | b9b94822e255660728ce3cdfe07fd1232a24a0a2 (diff) | |
download | linaro-gcc-80f0bab197e581906b37719d2d8349ec188f0396.tar.gz linaro-gcc-80f0bab197e581906b37719d2d8349ec188f0396.tar.bz2 linaro-gcc-80f0bab197e581906b37719d2d8349ec188f0396.zip |
2004-01-23 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/13701
* decl.c (finish_function): Move the call to
finish_fname_decls below the call to
finish_eh_spec_block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76464 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r-- | gcc/cp/decl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index db93277a592..6fa3faac36e 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -10736,8 +10736,6 @@ finish_function (int flags) which then got a warning when stored in a ptr-to-function variable. */ my_friendly_assert (building_stmt_tree (), 20000911); - - finish_fname_decls (); /* For a cloned function, we've already got all the code we need; there's no need to add any extra bits. */ @@ -10762,6 +10760,8 @@ finish_function (int flags) current_eh_spec_block); } + finish_fname_decls (); + /* If we're saving up tree structure, tie off the function now. */ finish_stmt_tree (&DECL_SAVED_TREE (fndecl)); |