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
This commit is contained in:
parent
cc76514339
commit
b1eae41634
|
@ -1,3 +1,9 @@
|
|||
2005-01-10 David Mosberger <davidm@hpl.hp.com>
|
||||
|
||||
PR target/18987
|
||||
* config/ia64/ia64.c (process_set): For alloc insn, only call
|
||||
process_epilogue is !frame_pointer_needed.
|
||||
|
||||
2005-01-10 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
PR c++/19355
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue