[PATCH] Handle TRUTH_{AND,OR,XOR}_EXPR in dump_expr (PR c++/34965)

Gabriel Dos Reis gdr@cs.tamu.edu
Fri Jan 25 18:50:00 GMT 2008


On Fri, 25 Jan 2008, Jakub Jelinek wrote:

| Hi!
| 
| These 3 can be created by fold, if TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR
| or {EQ,NE}_EXPR arguments are simple enough truthvalues.
| 
| Regtested on x86_64-linux, ok for trunk?
| 
| 2008-01-25  Jakub Jelinek  <jakub@redhat.com>
| 
| 	PR c++/34965
| 	* error.c (dump_expr): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
| 	and TRUTH_XOR_EXPR.

hi Jakub, could put the definitions in cxx-pretty-print.c instead?
If it is also producible for C codes, then maybe it should go into
c-pretty-print.c.

-- Gaby



More information about the Gcc-patches mailing list