From 41ccb5d1b1c83fabd2d0411d8a2c49168518f4bb Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Thu, 8 May 2008 16:22:27 +0000 Subject: [PATCH] * stmt.c (expand_stack_restore): Change sa mode if needed. From-SVN: r135085 --- gcc/ChangeLog | 4 ++++ gcc/stmt.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fcf9e3d074e..f87e063d216 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-05-08 Steve Ellcey + + * stmt.c (expand_stack_restore): Change sa mode if needed. + 2008-05-08 Richard Guenther * config/i386/i386-protos.h (ix86_return_in_memory): Adjust diff --git a/gcc/stmt.c b/gcc/stmt.c index ba4c49d4d87..4dba88196cf 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -1996,6 +1996,7 @@ expand_stack_restore (tree var) { rtx sa = expand_normal (var); + sa = convert_memory_address (Pmode, sa); emit_stack_restore (SAVE_BLOCK, sa, NULL_RTX); } -- 2.30.2