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]

RTL sharing problem in i386.c


Hi,
I've commited the attached patch as obvious.  It fixes RTL sharing
problem on SUBREG that causes combine to die on x86_64 compilation of
testsuite.

Tue Aug 27 19:16:53 CEST 2002  Jan Hubicka  <jh@suse.cz>
	* i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
Index: i386.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/i386/i386.c,v
retrieving revision 1.447
diff -c -3 -p -r1.447 i386.c
*** i386.c	21 Aug 2002 02:41:47 -0000	1.447
--- i386.c	27 Aug 2002 17:15:08 -0000
*************** ix86_expand_int_movcc (operands)
*** 8990,8996 ****
  		emit_insn (gen_rtx_SET (VOIDmode, out, tmp));
  	    }
  	  if (out != operands[0])
! 	    emit_move_insn (operands[0], out);
  
  	  return 1; /* DONE */
  	}
--- 8994,9000 ----
  		emit_insn (gen_rtx_SET (VOIDmode, out, tmp));
  	    }
  	  if (out != operands[0])
! 	    emit_move_insn (operands[0], copy_rtx (out));
  
  	  return 1; /* DONE */
  	}


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