aboutsummaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2008-05-08 16:22:27 +0000
committerSteve Ellcey <sje@gcc.gnu.org>2008-05-08 16:22:27 +0000
commit41ccb5d1b1c83fabd2d0411d8a2c49168518f4bb (patch)
treeeb9254c267af5265cd54535259f049fb9a3b637b /gcc/stmt.c
parenta3ced85e050ccac642e57092e940d2b1f367693f (diff)
downloadgcc-41ccb5d1b1c83fabd2d0411d8a2c49168518f4bb.zip
gcc-41ccb5d1b1c83fabd2d0411d8a2c49168518f4bb.tar.gz
gcc-41ccb5d1b1c83fabd2d0411d8a2c49168518f4bb.tar.bz2
* stmt.c (expand_stack_restore): Change sa mode if needed.
From-SVN: r135085
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 ba4c49d..4dba881 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);
}