This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] s390 missing brackets in s390_emit_prologue


Hello,

the following patch fixed a bug introduced by my packed stack patch:

http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00781.html

I think the fix can be considered obvious.

OK?

Bye

-Andreas-

2004-09-10  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.c (s390_emit_prologue): Added missing
	"{}" brackets.



Index: config/s390/s390.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/s390/s390.c,v
retrieving revision 1.172
diff -p -c -r1.172 s390.c
*** config/s390/s390.c  22 Aug 2004 22:07:12 -0000      1.172
--- config/s390/s390.c  24 Aug 2004 15:13:26 -0000
*************** s390_emit_prologue (void)
*** 6293,6304 ****

    /* Save call saved gprs.  */
    if (cfun_frame_layout.first_save_gpr != -1)
!     insn = save_gprs (stack_pointer_rtx,
!                     cfun_frame_layout.gprs_offset,
!                     cfun_frame_layout.first_save_gpr,
!                     cfun_frame_layout.last_save_gpr);
!   emit_insn (insn);
!
    /* Dummy insn to mark literal pool slot.  */

    emit_insn (gen_main_pool (cfun->machine->base_reg));
--- 6293,6306 ----

    /* Save call saved gprs.  */
    if (cfun_frame_layout.first_save_gpr != -1)
!     {
!       insn = save_gprs (stack_pointer_rtx,
!                       cfun_frame_layout.gprs_offset,
!                       cfun_frame_layout.first_save_gpr,
!                       cfun_frame_layout.last_save_gpr);
!       emit_insn (insn);
!     }
!
    /* Dummy insn to mark literal pool slot.  */

    emit_insn (gen_main_pool (cfun->machine->base_reg));


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]