This is the mail archive of the gcc-bugs@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]

[Bug middle-end/80853] [6 Regression] OpenMP ICE in build_outer_var_ref with array reduction


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80853

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jun 22 11:07:44 2017
New Revision: 249504

URL: https://gcc.gnu.org/viewcvs?rev=249504&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-6-branch/libgomp/testsuite/libgomp.c/pr80853.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/omp-low.c
    branches/gcc-6-branch/libgomp/ChangeLog

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