[Bug fortran/77973] [6 Regression] ICE in scan_omp_1_op, at omp-low.c:3841

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 7 22:41:00 GMT 2016


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec  7 22:40:40 2016
New Revision: 243392

URL: https://gcc.gnu.org/viewcvs?rev=243392&root=gcc&view=rev
Log:
        Backported from mainline
        2016-10-26  Jakub Jelinek  <jakub@redhat.com>
                    Martin Liska  <mliska@suse.cz>

        PR fortran/77973
        * gimplify.c (gimplify_adjust_omp_clauses_1): For all added map
        clauses with OMP_CLAUSE_SIZE being a decl, call omp_notice_variable
        on outer context if any.

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

Added:
    branches/gcc-6-branch/gcc/testsuite/gfortran.dg/gomp/pr77973.f90
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/gimplify.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list