aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2010-11-30 15:48:09 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2010-11-30 15:48:09 +0000
commit5b55141a954febb2c069b237166d7478827d336c (patch)
tree7795d6b86c9f75b980e4acd9fbce53ef6e3b8fbf /gcc/tree.c
parent20f455770b2c175d1867c02989a6bd4c411a4ee7 (diff)
downloadgcc-5b55141a954febb2c069b237166d7478827d336c.zip
gcc-5b55141a954febb2c069b237166d7478827d336c.tar.gz
gcc-5b55141a954febb2c069b237166d7478827d336c.tar.bz2
re PR middle-end/46725 (ICE when compiling libstdc++-v3/include/precompiled/stdc++.h)
PR middle-end/46725 Revert 2010-11-30 Eric Botcazou <ebotcazou@adacore.com> * tree.c (build_range_type_1): Do not set TYPE_STRUCTURAL_EQUALITY_P because of self-referential bounds. From-SVN: r167300
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index d9a98f1..2f8d96e 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -7110,11 +7110,9 @@ build_range_type_1 (tree type, tree lowval, tree highval, bool shared)
TYPE_USER_ALIGN (itype) = TYPE_USER_ALIGN (type);
if ((TYPE_MIN_VALUE (itype)
- && TREE_CODE (TYPE_MIN_VALUE (itype)) != INTEGER_CST
- && !CONTAINS_PLACEHOLDER_P (TYPE_MIN_VALUE (itype)))
+ && TREE_CODE (TYPE_MIN_VALUE (itype)) != INTEGER_CST)
|| (TYPE_MAX_VALUE (itype)
- && TREE_CODE (TYPE_MAX_VALUE (itype)) != INTEGER_CST
- && !CONTAINS_PLACEHOLDER_P (TYPE_MAX_VALUE (itype))))
+ && TREE_CODE (TYPE_MAX_VALUE (itype)) != INTEGER_CST))
{
/* Since we cannot reliably merge this type, we need to compare it using
structural equality checks. */