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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 22 19:27:00 GMT 2017


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon May 22 18:51:54 2017
New Revision: 248344

URL: https://gcc.gnu.org/viewcvs?rev=248344&root=gcc&view=rev
Log:
        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:
    trunk/libgomp/testsuite/libgomp.c/pr80853.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-low.c
    trunk/libgomp/ChangeLog


More information about the Gcc-bugs mailing list