aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2010-09-13 03:42:07 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2010-09-13 03:42:07 +0000
commit4e3a5f1940d233b685cadfbcb472462d6e7f5416 (patch)
tree3fe3e0344a44d49014a08007443d7878dbf0d0d4 /gcc/tree-pretty-print.c
parentddf68ab9b599b0aa79c118e24fca70ff7663d0eb (diff)
downloadgcc-4e3a5f1940d233b685cadfbcb472462d6e7f5416.zip
gcc-4e3a5f1940d233b685cadfbcb472462d6e7f5416.tar.gz
gcc-4e3a5f1940d233b685cadfbcb472462d6e7f5416.tar.bz2
re PR testsuite/45604 (New test failures)
PR debug/45604 PR debug/45419 PR debug/45408 * tree-pretty-print.c (dump_generic_node): Disregard top-level types of MEM_REF pointer types to the same type. From-SVN: r164242
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r--gcc/tree-pretty-print.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index 108a0d1..6440f80 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -809,8 +809,6 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
== TYPE_MODE (TREE_TYPE (TREE_OPERAND (node, 1))))
&& (TYPE_REF_CAN_ALIAS_ALL (TREE_TYPE (TREE_OPERAND (node, 0)))
== TYPE_REF_CAN_ALIAS_ALL (TREE_TYPE (TREE_OPERAND (node, 1))))
- && (TYPE_MAIN_VARIANT (TREE_TYPE (TREE_OPERAND (node, 0)))
- == TYPE_MAIN_VARIANT (TREE_TYPE (TREE_OPERAND (node, 1))))
/* Same value types ignoring qualifiers. */
&& (TYPE_MAIN_VARIANT (TREE_TYPE (node))
== TYPE_MAIN_VARIANT
@@ -1173,8 +1171,6 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
== TYPE_MODE (TREE_TYPE (TREE_OPERAND (op0, 1))))
&& (TYPE_REF_CAN_ALIAS_ALL (TREE_TYPE (TREE_OPERAND (op0, 0)))
== TYPE_REF_CAN_ALIAS_ALL (TREE_TYPE (TREE_OPERAND (op0, 1))))
- && (TYPE_MAIN_VARIANT (TREE_TYPE (TREE_OPERAND (op0, 0)))
- == TYPE_MAIN_VARIANT (TREE_TYPE (TREE_OPERAND (op0, 1))))
/* Same value types ignoring qualifiers. */
&& (TYPE_MAIN_VARIANT (TREE_TYPE (op0))
== TYPE_MAIN_VARIANT