diff options
author | Richard Sandiford <rsandifo@redhat.com> | 2004-01-02 15:54:08 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2004-01-02 15:54:08 +0000 |
commit | 8748dc22aeb70a363598b81e1afced8556f79138 (patch) | |
tree | 364b6697bb38016eea701af9db7e0b7c0b800207 /gcc | |
parent | 43f3a59d9fbdeade83036d203a25669bb69201da (diff) | |
download | gcc-8748dc22aeb70a363598b81e1afced8556f79138.zip gcc-8748dc22aeb70a363598b81e1afced8556f79138.tar.gz gcc-8748dc22aeb70a363598b81e1afced8556f79138.tar.bz2 |
re PR c++/12729 (mipsisa64-elf regressions: g++.old-deja/g++.jason/thunk1.C, thunk2.C)
PR target/12729
* method.c (use_thunk): Pass the CALL_EXPR through force_target_expr.
From-SVN: r75325
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/method.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index fa81437..b2ab218 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2004-01-02 Richard Sandiford <rsandifo@redhat.com> + + PR target/12729 + * method.c (use_thunk): Pass the CALL_EXPR through force_target_expr. + 2004-01-02 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> PR c++/13520 diff --git a/gcc/cp/method.c b/gcc/cp/method.c index bd1e2ad..9dd3c48 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -487,6 +487,7 @@ use_thunk (tree thunk_fndecl, bool emit_p) t = tree_cons (NULL_TREE, a, t); t = nreverse (t); t = build_call (alias, t); + t = force_target_expr (TREE_TYPE (t), t); if (!this_adjusting) t = thunk_adjust (t, /*this_adjusting=*/0, fixed_offset, virtual_offset); |