sparc.c bogus comparison

DJ Delorie dj@redhat.com
Fri Jan 25 14:57:00 GMT 2002


In sparc_emit_set_symbolic_const64, I see this code:

      if (temp1 == op0)
	abort ();

However, I tripped over one case (in old sources, not yet
reproducible) where the rtx's were different addresses but reflected
the same register.  Shouldn't the above be thusly?

      if (rtx_equal_p (temp1, op0))
	abort ();



More information about the Gcc mailing list