mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 00:09:34 +08:00
rs6000.c (toc_hash_eq): Use CODE_LABEL_NUMBER to compare LABEL_REFs.
2000-06-14 Geoff Keating <geoffk@cygnus.com> * rs6000.c (toc_hash_eq): Use CODE_LABEL_NUMBER to compare LABEL_REFs. From-SVN: r34558
This commit is contained in:
parent
d98a8d38dd
commit
e4a0656ff8
@ -1,3 +1,8 @@
|
||||
2000-06-14 Geoff Keating <geoffk@cygnus.com>
|
||||
|
||||
* rs6000.c (toc_hash_eq): Use CODE_LABEL_NUMBER to compare
|
||||
LABEL_REFs.
|
||||
|
||||
2000-06-14 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* conflict.c (conflict_graph_compute): Don't look for REG_INC.
|
||||
@ -285,7 +290,7 @@ Mon Jun 12 9:44:00 2000 Mark Klein <mklein@dis.com>
|
||||
(CPP_SPEC): Change mthreads to pthread.
|
||||
(LIB_SPEC): Likewise.
|
||||
(STARTFILE_SPEC): Likewise.
|
||||
* aix43.h (SUBTARGET_SWITCHES): Delete thread.
|
||||
* aix43.h (SUBTARGET_SWITCHES): Delete threads.
|
||||
(CPP_SPEC): Change mthreads to pthread.
|
||||
(LIB_SPEC): Likewise.
|
||||
(STARTFILE_SPEC): Likewise.
|
||||
|
@ -6134,7 +6134,8 @@ toc_hash_eq (h1, h2)
|
||||
return 1;
|
||||
}
|
||||
else if (GET_CODE (r1) == LABEL_REF)
|
||||
return XINT (XEXP (r1, 0), 3) == XINT (XEXP (r2, 0), 3);
|
||||
return (CODE_LABEL_NUMBER (XEXP (r1, 0))
|
||||
== CODE_LABEL_NUMBER (XEXP (r2, 0)));
|
||||
else
|
||||
return rtx_equal_p (r1, r2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user