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]

trivial fix to x86_64 trampoilnes commited



Fri May  4 13:06:06 CEST 2001  Jan Hubicka  <jh@suse.cz>
	* i386.c (x86_initialize_trampoline): Fix mode of constant.

Index: i386.c
===================================================================
RCS file: /home/cvs/Repository/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.66
diff -c -3 -p -r1.66 i386.c
*** i386.c	2001/05/03 15:57:53	1.66
--- i386.c	2001/05/04 10:03:09
*************** x86_initialize_trampoline (tramp, fnaddr
*** 10180,10186 ****
        emit_move_insn (gen_rtx_MEM (HImode, plus_constant (tramp, offset)),
  		      GEN_INT (trunc_int_for_mode (0xff49, HImode)));
        emit_move_insn (gen_rtx_MEM (QImode, plus_constant (tramp, offset+2)),
! 		      GEN_INT (trunc_int_for_mode (0xe3, HImode)));
        offset += 3;
        if (offset > TRAMPOLINE_SIZE)
  	abort();
--- 10180,10186 ----
        emit_move_insn (gen_rtx_MEM (HImode, plus_constant (tramp, offset)),
  		      GEN_INT (trunc_int_for_mode (0xff49, HImode)));
        emit_move_insn (gen_rtx_MEM (QImode, plus_constant (tramp, offset+2)),
! 		      GEN_INT (trunc_int_for_mode (0xe3, QImode)));
        offset += 3;
        if (offset > TRAMPOLINE_SIZE)
  	abort();


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