[Bug fortran/77371] [6/7 Regression] ICE in force_constant_size, at gimplify.c:671 (... and others)

cltang at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Oct 2 10:13:00 GMT 2016


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

--- Comment #4 from Chung-Lin Tang <cltang at gcc dot gnu.org> ---
Author: cltang
Date: Sun Oct  2 10:13:04 2016
New Revision: 240700

URL: https://gcc.gnu.org/viewcvs?rev=240700&root=gcc&view=rev
Log:
2016-10-02  Chung-Lin Tang  <cltang@codesourcery.com>

        PR fortran/77371
        * omp-low.c (lower_omp_target): Avoid reference-type processing
        on pointers for firstprivate clause.
        * gimplify.c (gimplify_adjust_omp_clauses): Add 'remove = true'
        when emitting error on private/firstprivate reductions.

        testsuite/
        * gfortran.dg/goacc/pr77371-1.f90: New test.
        * gfortran.dg/goacc/pr77371-2.f90: New test.


Added:
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/pr77371-1.f90
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/pr77371-2.f90
Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/gimplify.c
    branches/gomp-4_0-branch/gcc/omp-low.c
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp


More information about the Gcc-bugs mailing list