Message ID | 20191023233402.GA79990@troutmask.apl.washington.edu |
---|---|
State | New |
Headers | show |
Series | [Committed] Update Fortran expression dumper for BT_BOZ | expand |
Index: gcc/fortran/dump-parse-tree.c =================================================================== --- gcc/fortran/dump-parse-tree.c (revision 277296) +++ gcc/fortran/dump-parse-tree.c (working copy) @@ -559,6 +559,16 @@ show_expr (gfc_expr *p) fputc (')', dumpfile); break; + case BT_BOZ: + if (p->boz.rdx == 2) + fputs ("b'", dumpfile); + else if (p->boz.rdx == 8) + fputs ("o'", dumpfile); + else + fputs ("z'", dumpfile); + fprintf (dumpfile, "%s'", p->boz.str); + break; + case BT_HOLLERITH: fprintf (dumpfile, HOST_WIDE_INT_PRINT_DEC "H", p->representation.length);