This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gomp4, PR68977, Committed] Don't gimplify in ssa mode if seen_error in oacc_xform_loop
- From: Nathan Sidwell <nathan_sidwell at mentor dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>, Tom de Vries <Tom_deVries at mentor dot com>
- Cc: "gcc-patches at gnu dot org" <gcc-patches at gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Fri, 29 Jan 2016 09:16:08 -0500
- Subject: Re: [gomp4, PR68977, Committed] Don't gimplify in ssa mode if seen_error in oacc_xform_loop
- Authentication-results: sourceware.org; auth=none
- References: <5696ADD7 dot 5040202 at mentor dot com> <CAFiYyc2DS7=3W6d_7epTT_hRujagB7OH=4aZda89ouLBS=6cQw at mail dot gmail dot com> <56A60033 dot 4020507 at mentor dot com> <CAFiYyc19ADh6smW-T4t+QF2_n-g8mPMMzMK2RbaPZO8gz754Ow at mail dot gmail dot com> <56AA5492 dot 7040702 at mentor dot com> <CAFiYyc1JOGahAboGGv9TvwBxLfidFO2OTWWwn-7OtrEwu-SipQ at mail dot gmail dot com>
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
- References:
- [gomp4, PR68977, Committed] Don't gimplify in ssa mode if seen_error in oacc_xform_loop
- Re: [gomp4, PR68977, Committed] Don't gimplify in ssa mode if seen_error in oacc_xform_loop
- Re: [gomp4, PR68977, Committed] Don't gimplify in ssa mode if seen_error in oacc_xform_loop
- Re: [gomp4, PR68977, Committed] Don't gimplify in ssa mode if seen_error in oacc_xform_loop
- Re: [gomp4, PR68977, Committed] Don't gimplify in ssa mode if seen_error in oacc_xform_loop
- Re: [gomp4, PR68977, Committed] Don't gimplify in ssa mode if seen_error in oacc_xform_loop