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

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 30 12:15:50 2019
New Revision: 275127

URL: https://gcc.gnu.org/viewcvs?rev=275127&root=gcc&view=rev
Log:
        Backported from mainline
        2019-03-11  Jakub Jelinek  <ja...@redhat.com>

        PR fortran/89651
        * trans-openmp.c (gfc_omp_clause_default_ctor): Set TREE_NO_WARNING
        on decl if adding COND_EXPR for allocatable.
        (gfc_omp_clause_copy_ctor): Set TREE_NO_WARNING on dest.

        * gfortran.dg/gomp/pr89651.f90: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gfortran.dg/gomp/pr89651.f90
Modified:
    branches/gcc-7-branch/gcc/fortran/ChangeLog
    branches/gcc-7-branch/gcc/fortran/trans-openmp.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog

Reply via email to