[Bug fortran/71717] A gfortran silent "wrong code" bug in the transition from 4.9.0 -> 4.9.1, using OpenMP.

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 2 10:25:00 GMT 2016


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Jul  2 10:24:41 2016
New Revision: 237943

URL: https://gcc.gnu.org/viewcvs?rev=237943&root=gcc&view=rev
Log:
        Backported from mainline
        2016-07-01  Jakub Jelinek  <jakub@redhat.com>

        PR fortran/71717
        * trans-openmp.c (gfc_omp_privatize_by_reference): Return false
        for GFC_DECL_ASSOCIATE_VAR_P with POINTER_TYPE.

        * testsuite/libgomp.fortran/associate3.f90: New test.

Added:
    branches/gcc-6-branch/libgomp/testsuite/libgomp.fortran/associate3.f90
Modified:
    branches/gcc-6-branch/gcc/fortran/ChangeLog
    branches/gcc-6-branch/gcc/fortran/trans-openmp.c
    branches/gcc-6-branch/libgomp/ChangeLog


More information about the Gcc-bugs mailing list