diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2013-03-23 11:13:39 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2013-03-23 11:13:39 +0000 |
commit | 66de4d7c91fca7d178f619761565fed9826cd05c (patch) | |
tree | 531e09418de1364c9e9e88b283de5f7dd9b75cbd /gcc/function.c | |
parent | 4f25c8fbfd7c6909cb107c2634a92fb0187966fc (diff) | |
download | gcc-66de4d7c91fca7d178f619761565fed9826cd05c.zip gcc-66de4d7c91fca7d178f619761565fed9826cd05c.tar.gz gcc-66de4d7c91fca7d178f619761565fed9826cd05c.tar.bz2 |
calls.c (expand_call): Add missing guard to code handling return of non-BLKmode structures in MSB.
* calls.c (expand_call): Add missing guard to code handling return
of non-BLKmode structures in MSB.
* function.c (expand_function_end): Likewise.
From-SVN: r197003
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 e673f21..5419b88 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), |