This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: tuplesprint.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]