* stmt.c (expand_stack_restore): Change sa mode if needed.

From-SVN: r135085
This commit is contained in:
Steve Ellcey 2008-05-08 16:22:27 +00:00 committed by Steve Ellcey
parent a3ced85e05
commit 41ccb5d1b1
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-05-08 Steve Ellcey <sje@cup.hp.com>
* stmt.c (expand_stack_restore): Change sa mode if needed.
2008-05-08 Richard Guenther <rguenther@suse.de> 2008-05-08 Richard Guenther <rguenther@suse.de>
* config/i386/i386-protos.h (ix86_return_in_memory): Adjust * config/i386/i386-protos.h (ix86_return_in_memory): Adjust

View File

@ -1996,6 +1996,7 @@ expand_stack_restore (tree var)
{ {
rtx sa = expand_normal (var); rtx sa = expand_normal (var);
sa = convert_memory_address (Pmode, sa);
emit_stack_restore (SAVE_BLOCK, sa, NULL_RTX); emit_stack_restore (SAVE_BLOCK, sa, NULL_RTX);
} }