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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Mar  3 13:24:36 2018
New Revision: 258182

URL: https://gcc.gnu.org/viewcvs?rev=258182&root=gcc&view=rev
Log:
        Backported from mainline
        2018-01-31  Jakub Jelinek  <ja...@redhat.com>

        PR fortran/84116
        * openmp.c (gfc_match_omp_clauses): If all the linear
        gfc_match_omp_variable_list calls failed, don't gfc_free_omp_namelist
        nor set *head = NULL.  Formatting fixes.

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

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

Reply via email to