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]

i386 build problem on 64bit machines


Hi
I've checked in following fix as obvious.  The problem has been reported by Richard
Kenner and even when I don't have machine to test, I believe it will do the trick.

Honza

Mon Mar 19 18:53:54 CET 2001  Jan Hubicka  <jh@suse.cz>

	* i386.md (absdf2 expander): Fix 64bit case.

Index: i386.md
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.md,v
retrieving revision 1.237
diff -c -3 -p -r1.237 i386.md
*** i386.md	2001/03/16 13:51:49	1.237
--- i386.md	2001/03/19 17:52:56
***************
*** 7700,7706 ****
  	     in register.  */
  	  rtx reg = gen_reg_rtx (DFmode);
  #if HOST_BITS_PER_WIDE_INT >= 64
! 	  rtx imm = gen_reg_rtx (GEN_INT (0x80000000));
  #else
  	  rtx imm = immed_double_const (0, 0x80000000, DImode);
  #endif
--- 7700,7706 ----
  	     in register.  */
  	  rtx reg = gen_reg_rtx (DFmode);
  #if HOST_BITS_PER_WIDE_INT >= 64
! 	  rtx imm = GEN_INT (0x80000000);
  #else
  	  rtx imm = immed_double_const (0, 0x80000000, DImode);
  #endif


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