On 09/27/2016 12:58 PM, Nathan Sidwell wrote:
In working on some new code I got sufficiently frustrated to implement
pretty printing on internal function discriminators, as I think one of
you suggested a while back. With this patch we get:
.data_dep.2 = UNIQUE (OACC_FORK, .data_dep.2, -1);
rather than an obscure raw integer for the first argument.
For the internal fns (I know of) that have a discriminator argument, I
define the codes in appropriate macros, and then expand them to create
the enum definitions. In the pretty printer I examine the first
argument and use that to index into a string array also built from the
code macro.
Ok for trunk? (I've just applied it to gomp4).
Ok.
Bernd