[tuples] [PATCH] make gimple-pretty-print.c unary expression print more correctly

Andrew Pinski pinskia@gmail.com
Wed May 28 19:52:00 GMT 2008


Hi,
  This patch makes gimple-pretty-print.c more closer to what
tree-pretty-print.c did for unary expressions.  I changed the
conversions; add paren and abs expressions; and fixed up negate
expression.  This fixed a couple of regressions, though it exposed a
new testcase failure (but that is because it was not matching before).

OK?  Bootstrapped and tested on i686-linux-gnu with no regressions.

Thanks,
Andrew Pinski

ChangeLog:

* gimple-pretty-print.c (dump_unary_rhs): Handle conversions correctly.
Handle PAREN_EXPR, ABS_EXPR, and NEGATE_EXPR.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tuplesprint.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080528/2a27f15b/attachment.txt>


More information about the Gcc-patches mailing list