diff options
author | David Mosberger <davidm@hpl.hp.com> | 2005-01-11 03:44:10 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2005-01-10 19:44:10 -0800 |
commit | b1eae416343b059b5be8adb2c8ff4aac8ebec7c4 (patch) | |
tree | bd9857136582cdafa7f583767db66cd6856cc29f /gcc/config/ia64 | |
parent | cc765143396b4100714e4caeafe532051c983d5f (diff) | |
download | gcc-b1eae416343b059b5be8adb2c8ff4aac8ebec7c4.zip gcc-b1eae416343b059b5be8adb2c8ff4aac8ebec7c4.tar.gz gcc-b1eae416343b059b5be8adb2c8ff4aac8ebec7c4.tar.bz2 |
re PR target/18987 ([ia64] Extra '.restore sp' in tail call)
Patch from David Mosberger to fix -fno-omit-frame-pointer bug.
PR target/18987
* config/ia64/ia64.c (process_set): For alloc insn, only call
process_epilogue is !frame_pointer_needed.
From-SVN: r93174
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r-- | gcc/config/ia64/ia64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index 98ce550..5e8c5cd 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -7761,7 +7761,7 @@ process_set (FILE *asm_out_file, rtx pat) followed by a new prologue. If the procedure doesn't have a memory-stack frame, we'll issue a dummy ".restore sp" now. */ - if (current_frame_info.total_size == 0) + if (current_frame_info.total_size == 0 && !frame_pointer_needed) /* if haven't done process_epilogue() yet, do it now */ process_epilogue (); fprintf (asm_out_file, "\t.prologue\n"); |