On 08/12/15 09:30, Nathan Sidwell wrote:
I've committed this patch to gomp4. It reworks the oacc functiuon attribute dimension handling. Rather than pass the TREE_LIST to the various hooks, I convert it to a regular C array of ints. That makes life simpler for the consumers. They return a 'changed' flag to indicate whether the attrribute should be rewritten. That rewriting is done in a way that doesn;t presume the attribute is unshared (Cesar, your workaround should no longer be necessary).
I've discovered I'd committed a slightly earlier version of what I'd tested. Consequently there is some breakage. I'll be fixing it later today, after a retest.
nathan