aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Macleod <amacleod@gcc.gnu.org>2019-08-23 12:08:02 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2019-08-23 12:08:02 +0000
commitbc2baf4c217c86b06fe1e9cc51d6a9402b6ef98d (patch)
treef36feddd81c353f5f1c0a62684caceb82d3b1852
parent507892b02d07c08b0a0164e5e637d86652c9f142 (diff)
downloadgcc-bc2baf4c217c86b06fe1e9cc51d6a9402b6ef98d.zip
gcc-bc2baf4c217c86b06fe1e9cc51d6a9402b6ef98d.tar.gz
gcc-bc2baf4c217c86b06fe1e9cc51d6a9402b6ef98d.tar.bz2
remove old fortrsn boolean hack
From-SVN: r274854
-rw-r--r--gcc/range.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/range.cc b/gcc/range.cc
index c07154d..478bf6b 100644
--- a/gcc/range.cc
+++ b/gcc/range.cc
@@ -40,11 +40,6 @@ range_compatible_p (tree t1, tree t2)
if (POINTER_TYPE_P (t1) && POINTER_TYPE_P (t2))
return true;
- // FORTRAN has different precision booleans that trigger a false
- // from types_compatible_p.
- if (TREE_CODE (t1) == BOOLEAN_TYPE && TREE_CODE (t2) == BOOLEAN_TYPE)
- return true;
-
return types_compatible_p (t1, t2);
}