]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR middle-end/46725 (ICE when compiling libstdc++-v3/include/precompiled/stdc...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 30 Nov 2010 15:48:09 +0000 (15:48 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 30 Nov 2010 15:48:09 +0000 (15:48 +0000)
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

gcc/ChangeLog
gcc/tree.c

index ab808ce3992f378433820fcf5244edc6dadee603..cd83b5f688cb78731f0daab3daf0969a6ce9a2da 100644 (file)
@@ -5,11 +5,6 @@
        call.  Manually create EH edges for the direct call and update
        target PHI nodes.
 
-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.
-
 2010-11-30  Joseph Myers  <joseph@codesourcery.com>
 
        * diagnostic-core.h: Include bversion.h.
index d9a98f114391fa33cae1f9dde544fd3f34402b63..2f8d96ef4a2054da68715d6135ebb7835a68e0c6 100644 (file)
@@ -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.  */