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]

Re: ICE breaks glibc compilation on PPC



I think this fixes it.  When it finishes a bootstrap & test on
powerpc, I'll commit it.

--- 
- Geoffrey Keating <geoffk@cygnus.com>

==========rs6000-combineasm.patch==========
2000-09-18  Geoff Keating  <geoffk@cygnus.com>

	* combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
	into anything.

Index: gcc/combine.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/combine.c,v
retrieving revision 1.149
diff -p -u -u -p -r1.149 combine.c
--- combine.c	2000/09/08 09:39:23	1.149
+++ combine.c	2000/09/19 01:07:51
@@ -1058,6 +1058,8 @@ can_combine_p (insn, i3, pred, succ, pde
       /* Don't combine with an insn that sets a register to itself if it has
 	 a REG_EQUAL note.  This may be part of a REG_NO_CONFLICT sequence.  */
       || (rtx_equal_p (src, dest) && find_reg_note (insn, REG_EQUAL, NULL_RTX))
+      /* Can't merge an ASM_OPERANDS.  */
+      || GET_CODE (src) == ASM_OPERANDS
       /* Can't merge a function call.  */
       || GET_CODE (src) == CALL
       /* Don't eliminate a function call argument.  */
==========rs6000-combineasm.patch==========

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