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]

Re: temporary fix for sparc v9 bootstrap failure


Richard Henderson <rth@redhat.com> writes:

  > On Sun, Dec 16, 2001 at 01:50:18PM -0800, Dan Nicolaescu wrote:
  > >   (define_insn "*movdi_zero"
  > >     [(set (match_operand:DI 0 "memory_operand" "")
  > >         (const_int 0))]
  > 
  > The problem is that you didn't follow my directions and gave 
  > no constraint at all.  That should be "=m".

Right, sorry about that. Could you please check in the fix? 


	* config/sparc/sparc.md (movdi_zero): Fix constraint. 

*** sparc.md.~1.138.~	Sun Dec 16 09:17:56 2001
--- sparc.md	Mon Dec 17 09:24:14 2001
***************
*** 2445,2451 ****
  }")
  
  (define_insn "*movdi_zero"
!   [(set (match_operand:DI 0 "memory_operand" "")
  	(const_int 0))]
    "TARGET_V9"
    "stx\\t%%g0, %0"
--- 2445,2451 ----
  }")
  
  (define_insn "*movdi_zero"
!   [(set (match_operand:DI 0 "memory_operand" "=m")
  	(const_int 0))]
    "TARGET_V9"
    "stx\\t%%g0, %0"


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