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 fortran/71717] A gfortran silent "wrong code" bug in the transition from 4.9.0 -> 4.9.1, using OpenMP.


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Jul  7 12:51:01 2016
New Revision: 238104

URL: https://gcc.gnu.org/viewcvs?rev=238104&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-5-branch/libgomp/testsuite/libgomp.fortran/associate3.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/trans-openmp.c
    branches/gcc-5-branch/libgomp/ChangeLog

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