Commit e4a0656f by Geoff Keating Committed by David Edelsohn

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
parent d98a8d38
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> 2000-06-14 Richard Henderson <rth@cygnus.com>
* conflict.c (conflict_graph_compute): Don't look for REG_INC. * 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> ...@@ -285,7 +290,7 @@ Mon Jun 12 9:44:00 2000 Mark Klein <mklein@dis.com>
(CPP_SPEC): Change mthreads to pthread. (CPP_SPEC): Change mthreads to pthread.
(LIB_SPEC): Likewise. (LIB_SPEC): Likewise.
(STARTFILE_SPEC): Likewise. (STARTFILE_SPEC): Likewise.
* aix43.h (SUBTARGET_SWITCHES): Delete thread. * aix43.h (SUBTARGET_SWITCHES): Delete threads.
(CPP_SPEC): Change mthreads to pthread. (CPP_SPEC): Change mthreads to pthread.
(LIB_SPEC): Likewise. (LIB_SPEC): Likewise.
(STARTFILE_SPEC): Likewise. (STARTFILE_SPEC): Likewise.
......
...@@ -6134,7 +6134,8 @@ toc_hash_eq (h1, h2) ...@@ -6134,7 +6134,8 @@ toc_hash_eq (h1, h2)
return 1; return 1;
} }
else if (GET_CODE (r1) == LABEL_REF) 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 else
return rtx_equal_p (r1, r2); return rtx_equal_p (r1, r2);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment