2005-01-10 David Mosberger PR target/18987 * config/ia64/ia64.c (process_set): For alloc insn, only call process_epilogue is !frame_pointer_needed. Index: config/ia64/ia64.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/config/ia64/ia64.c,v retrieving revision 1.332 diff -u -r1.332 ia64.c --- config/ia64/ia64.c 9 Nov 2004 10:13:04 -0000 1.332 +++ config/ia64/ia64.c 20 Dec 2004 20:09:59 -0000 @@ -7307,7 +7307,7 @@ 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");