This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gomp4, PR68977, Committed] Don't gimplify in ssa mode if seen_error in oacc_xform_loop


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]