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/69281] gfortran ICE on temporary array in function call with -fstack-arrays -fopenmp


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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Aug 19 15:27:40 2016
New Revision: 239618

URL: https://gcc.gnu.org/viewcvs?rev=239618&root=gcc&view=rev
Log:
        PR fortran/69281
        * trans-openmp.c (gfc_trans_omp_parallel, gfc_trans_omp_task,
        gfc_trans_omp_target): Wrap gfc_trans_omp_code result in an extra
        BIND_EXPR with its own forced BLOCK.

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

Added:
    trunk/gcc/testsuite/gfortran.dg/gomp/pr69281.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-openmp.c
    trunk/gcc/testsuite/ChangeLog

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