On 01/29/16 02:48, Richard Biener wrote:

I see.  Is it possible to simply scrub the whole OACC region in this
case instead?

Do you mean jettison the body of the offloaded fn, or something else? I guess the former's doable. (Throwing away the fn entirely could result in unresolved symbol errors, which might confuse?)

Or even better, report those errors earlier?

Well, one could split the pass into two passes (I think) and move the first half. But in general, these errors are only discoverable in the device compiler.

nathan
--
Nathan Sidwell - Director, Sourcery Services - Mentor Embedded

Reply via email to