[Bug fortran/84116] [7 Regression] ICE in gfc_match_omp_clauses, at fortran/openmp.c:1354

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 3 13:25:00 GMT 2018


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  <jakub@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


More information about the Gcc-bugs mailing list