diff options
author | Richard Henderson <rth@redhat.com> | 2004-02-03 13:24:39 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-02-03 13:24:39 -0800 |
commit | a8c0bbc7214a44d82448ea5b6d443f53c8b5c43b (patch) | |
tree | 81065e6e11925afe354e3045f94321c0c5910d80 /gcc/varasm.c | |
parent | 18f5be99b4e9b8104748413f4538bb620d9f0a45 (diff) | |
download | gcc-a8c0bbc7214a44d82448ea5b6d443f53c8b5c43b.zip gcc-a8c0bbc7214a44d82448ea5b6d443f53c8b5c43b.tar.gz gcc-a8c0bbc7214a44d82448ea5b6d443f53c8b5c43b.tar.bz2 |
* varasm.c (const_desc_rtx_sym_eq): Compare symbol strings.
From-SVN: r77191
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 27f2f34..91ca435 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2617,7 +2617,7 @@ const_desc_rtx_sym_eq (const void *a, const void *b) { const struct constant_descriptor_rtx *x = a; const struct constant_descriptor_rtx *y = b; - return x->sym == y->sym; + return XSTR (x->sym, 0) == XSTR (y->sym, 0); } /* This is the worker function for const_rtx_hash, called via for_each_rtx. */ |