This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/70348] [6 Regression][openacc] ICE in visit_ref_for_mod_analysis, at ipa-prop.c
- From: "nathan at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Mar 2016 16:22:49 +0000
- Subject: [Bug ipa/70348] [6 Regression][openacc] ICE in visit_ref_for_mod_analysis, at ipa-prop.c
- Auto-submitted: auto-generated
- References: <bug-70348-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70348
--- Comment #5 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
the intended current implementation is to treat 'sum' as firstprivate.
however, putting in an explicit firstprivate causes another different ICE (in
lower_oacc_reductions) -- regardless of whether 'sum' is a parameter, or a
local (initialized) variable. Clearly at least two other bugs lurk.