aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-08-15 10:55:48 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2003-08-15 08:55:48 +0000
commitab0ba00c845d766ed888295f16cecae919cabe05 (patch)
treea027e3a8c1c783d5ed7f0a196a2a5f4920e15800 /gcc/cp
parent34945b31d90dea9490faced3d9a3976d767b87c8 (diff)
downloadgcc-ab0ba00c845d766ed888295f16cecae919cabe05.zip
gcc-ab0ba00c845d766ed888295f16cecae919cabe05.tar.gz
gcc-ab0ba00c845d766ed888295f16cecae919cabe05.tar.bz2
* method.c (use_thunk): Expand body directly.
From-SVN: r70473
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/method.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 6a27652..e7e0edd 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+Thu Aug 14 12:19:25 CEST 2003 Jan Hubicka <jh@suse.cz>
+
+ * method.c (use_thunk): Expand body directly.
+
2003-08-12 Mark Mitchell <mark@codesourcery.com>
PR c++/11703
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index c49af51..9069972 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -468,7 +468,7 @@ use_thunk (tree thunk_fndecl, bool emit_p)
/* Re-enable access control. */
pop_deferring_access_checks ();
- expand_or_defer_fn (finish_function (0));
+ expand_body (finish_function (0));
}
pop_from_top_level ();