This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][tuples] Fix gcc.dg/tree-ssa/pr32901.c
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 14 Jul 2008 17:45:25 +0200 (CEST)
- Subject: [PATCH][tuples] Fix gcc.dg/tree-ssa/pr32901.c
Here we prefix a constructor assignment with [constructor] which trunk
doesn't do.
Fixed with the following.
Richard.
2008-07-14 Richard Guenther <rguenther@suse.de>
* gimple-pretty-print.c (dump_unary_rhs): Do not prefix
CONSTRUCTOR with [constructor].
Index: gimple-pretty-print.c
===================================================================
*** gimple-pretty-print.c (revision 137785)
--- gimple-pretty-print.c (working copy)
*************** dump_unary_rhs (pretty_printer *buffer,
*** 285,291 ****
|| TREE_CODE_CLASS (rhs_code) == tcc_constant
|| TREE_CODE_CLASS (rhs_code) == tcc_reference
|| rhs_code == SSA_NAME
! || rhs_code == ADDR_EXPR)
; /* do nothing. */
else if (rhs_code == BIT_NOT_EXPR)
pp_string (buffer, "~");
--- 285,292 ----
|| TREE_CODE_CLASS (rhs_code) == tcc_constant
|| TREE_CODE_CLASS (rhs_code) == tcc_reference
|| rhs_code == SSA_NAME
! || rhs_code == ADDR_EXPR
! || rhs_code == CONSTRUCTOR)
; /* do nothing. */
else if (rhs_code == BIT_NOT_EXPR)
pp_string (buffer, "~");