I am using debug_node() to emit the tree of functions for later processing. For this I need all the information to be present. So far I came across one expression type that isn't handled correctly. For VIEW_CONVERT_EXPR only the type value is printed, not the first tree operand. The following patch fixes this.
OK? 2019-11-12 Ulrich Drepper <drep...@redhat.com> * tree-dump.c (dequeue_and_dump): Print first tree operand for VIEW_CONVERT_EXPR. diff --git a/gcc/tree-dump.c b/gcc/tree-dump.c index 51c0965861f..83eb29b7e2b 100644 --- a/gcc/tree-dump.c +++ b/gcc/tree-dump.c @@ -561,6 +561,7 @@ dequeue_and_dump (dump_info_p di) case ADDR_EXPR: case INDIRECT_REF: case CLEANUP_POINT_EXPR: + case VIEW_CONVERT_EXPR: case SAVE_EXPR: case REALPART_EXPR: case IMAGPART_EXPR:
signature.asc
Description: OpenPGP digital signature