From 66de4d7c91fca7d178f619761565fed9826cd05c Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sat, 23 Mar 2013 11:13:39 +0000 Subject: 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 --- gcc/function.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/function.c') 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), -- cgit v1.1