This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/80853] [6/7 Regression] OpenMP ICE in build_outer_var_ref with array reduction
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 May 2017 10:06:11 +0000
- Subject: [Bug middle-end/80853] [6/7 Regression] OpenMP ICE in build_outer_var_ref with array reduction
- Auto-submitted: auto-generated
- References: <bug-80853-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80853
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri May 26 10:05:39 2017
New Revision: 248486
URL: https://gcc.gnu.org/viewcvs?rev=248486&root=gcc&view=rev
Log:
Backported from mainline
2017-05-22 Jakub Jelinek <jakub@redhat.com>
PR middle-end/80853
* omp-low.c (lower_reduction_clauses): Pass OMP_CLAUSE_PRIVATE
as last argument to build_outer_var_ref for pointer bases of array
section reductions.
* testsuite/libgomp.c/pr80853.c: New test.
Added:
branches/gcc-7-branch/libgomp/testsuite/libgomp.c/pr80853.c
Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/omp-low.c
branches/gcc-7-branch/libgomp/ChangeLog