summaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-08 16:22:27 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-08 16:22:27 +0000
commitfbf5140032962686775e5bb75e36adac54ac3ef7 (patch)
treeeb9254c267af5265cd54535259f049fb9a3b637b /gcc/stmt.c
parent2790cbc8c067b2aa2d60d9fc0aef595835bcd310 (diff)
downloadgcc-fbf5140032962686775e5bb75e36adac54ac3ef7.tar.gz
* stmt.c (expand_stack_restore): Change sa mode if needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135085 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r--gcc/stmt.c1
1 files changed, 1 insertions, 0 deletions
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);
}