This patch adds printing of "<address-space-N>" markers for aggregates
in non-default address spaces.
gcc/
* tree-pretty-print.c (dump_generic_node): Emit non-generic
address space info for aggregates.
if (quals & TYPE_QUAL_VOLATILE)
pp_string (pp, "volatile ");
+ if (!ADDR_SPACE_GENERIC_P (TYPE_ADDR_SPACE (node)))
+ {
+ pp_string (pp, "<address-space-");
+ pp_decimal_int (pp, TYPE_ADDR_SPACE (node));
+ pp_string (pp, "> ");
+ }
+
/* Print the name of the structure. */
if (TREE_CODE (node) == RECORD_TYPE)
pp_string (pp, "struct ");