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]

[patch, OpenACC] Fix reduction lowering segfault in omp-low


Hi Jakub,
This patch fixes an OpenACC reduction lowering segfault which
triggers when nested acc loop directives are present.
Cesar has reviewed this patch internally (since he mostly wrote
the code originally)

Patch has been tested and committed to gomp-4_0-branch,
is this also okay for trunk?

Thanks,
Chung-Lin

2016-08-15  Chung-Lin Tang  <cltang@codesourcery.com>

        * omp-low.c (lower_oacc_reductions): Adjust variable lookup to use
        maybe_lookup_decl, to handle nested acc loop directives.

Attachment: omplow.diff
Description: Text document


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