diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-05 11:30:52 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-10-05 11:30:52 +0000 |
commit | a417188d791c5ffb8a0c3219ae61cbe2a89623c9 (patch) | |
tree | 1068d016c93593ad53a56bc3bb207bd66de9e5aa /gcc/ipa-icf.c | |
parent | 20cb53c9f2b5ee65d583c1674a1a1be8153b3bae (diff) | |
download | gcc-a417188d791c5ffb8a0c3219ae61cbe2a89623c9.tar.gz |
Remove remaining uses of REAL_VALUES_IDENTICAL
This patch continues the removal of real-related macros.
We already had both the old-style REAL_VALUES_IDENTICAL and the
new-style real_identical, so this patch replaces all remaining
uses of the former with the latter.
Bootstrapped & regression-tested on x86_64-linux-gnu. Also tested by
building one target per CPU directory and checking that there were
no new warnings and no changes in testsuite output at -O2.
gcc/
* real.h (REAL_VALUES_IDENTICAL): Delete.
* config/m68k/m68k.c (standard_68881_constant_p): Use real_identical
instead of REAL_VALUES_IDENTICAL.
* fold-const.c (operand_equal_p): Likewise.
* ipa-icf.c (sem_variable::equals): Likewise.
* tree-complex.c (some_nonzerop): Likewise.
(expand_complex_multiplication): Likewise.
* tree.c (simple_cst_equal): Likewise.
* varasm.c (compare_constant): Likewise.
---
gcc/config/m68k/m68k.c | 5 ++---
gcc/fold-const.c | 3 +--
gcc/ipa-icf.c | 4 ++--
gcc/real.h | 1 -
gcc/tree-complex.c | 4 ++--
gcc/tree.c | 2 +-
gcc/varasm.c | 2 +-
7 files changed, 9 insertions(+), 12 deletions(-)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228474 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-icf.c')
-rw-r--r-- | gcc/ipa-icf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c index d39a3c12203..b0762227539 100644 --- a/gcc/ipa-icf.c +++ b/gcc/ipa-icf.c @@ -2030,8 +2030,8 @@ sem_variable::equals (tree t1, tree t2) /* Real constants are the same only if the same width of type. */ if (TYPE_PRECISION (TREE_TYPE (t1)) != TYPE_PRECISION (TREE_TYPE (t2))) return return_false_with_msg ("REAL_CST precision mismatch"); - return return_with_debug (REAL_VALUES_IDENTICAL (TREE_REAL_CST (t1), - TREE_REAL_CST (t2))); + return return_with_debug (real_identical (&TREE_REAL_CST (t1), + &TREE_REAL_CST (t2))); case VECTOR_CST: { unsigned i; |