diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-23 11:13:39 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-03-23 11:13:39 +0000 |
commit | d8ef55fc678c5f8e3f54a1c38db33b37ea898181 (patch) | |
tree | 531e09418de1364c9e9e88b283de5f7dd9b75cbd /gcc/function.c | |
parent | 32cf0798d0e3f3e4170dbc818293f08e5f4754db (diff) | |
download | gcc-d8ef55fc678c5f8e3f54a1c38db33b37ea898181.tar.gz |
* calls.c (expand_call): Add missing guard to code handling return
of non-BLKmode structures in MSB.
* function.c (expand_function_end): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197003 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c index e673f21a57d..5419b88593d 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -5093,6 +5093,7 @@ expand_function_end (void) amount. BLKmode results are handled using the group load/store machinery. */ if (TYPE_MODE (TREE_TYPE (decl_result)) != BLKmode + && REG_P (real_decl_rtl) && targetm.calls.return_in_msb (TREE_TYPE (decl_result))) { emit_move_insn (gen_rtx_REG (GET_MODE (decl_rtl), |