mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-01 15:54:17 +08:00
sparc.c (sparc_emit_set_symbolic_const64): Compare using rtx_equal_p, not by comparing pointers.
* config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare using rtx_equal_p, not by comparing pointers. From-SVN: r49237
This commit is contained in:
parent
e67051746f
commit
6cd444b4e0
@ -1,3 +1,8 @@
|
||||
2002-01-25 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
|
||||
using rtx_equal_p, not by comparing pointers.
|
||||
|
||||
2002-01-25 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
* emit-rtl.c (gen_rtx_REG): Always return the same rtx
|
||||
|
@ -1423,7 +1423,7 @@ sparc_emit_set_symbolic_const64 (op0, op1, temp1)
|
||||
We _MUST_ have a separate temporary at this point,
|
||||
if we don't barf immediately instead of generating
|
||||
incorrect code. */
|
||||
if (temp1 == op0)
|
||||
if (rtx_equal_p (temp1, op0))
|
||||
abort ();
|
||||
|
||||
emit_insn (gen_sethh (op0, op1));
|
||||
|
Loading…
Reference in New Issue
Block a user