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
This commit is contained in:
Alexandre Oliva 2010-09-13 03:42:07 +00:00 committed by Alexandre Oliva
parent ddf68ab9b5
commit 4e3a5f1940
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2010-09-13 Alexandre Oliva <aoliva@redhat.com>
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.
2010-09-13 Hans-Peter Nilsson <hp@axis.com>
PR rtl-optimization/41087

View File

@ -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