]> gcc.gnu.org Git - gcc.git/commit
OpenMP: Avoid ICE with LTO and 'omp allocate'
authorTobias Burnus <tobias@codesourcery.com>
Wed, 18 Oct 2023 11:05:35 +0000 (13:05 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Wed, 18 Oct 2023 11:05:35 +0000 (13:05 +0200)
commitaf4bb221153359f5948da917d5ef2df738bb1e61
treef7a1292d513e724e5970fd0187a33f55aad96d9d
parentf1744dd50bb1661c98b694ff907cb0a1be4f6134
OpenMP: Avoid ICE with LTO and 'omp allocate'

gcc/ChangeLog:

* gimplify.cc (gimplify_bind_expr): Remove "omp allocate" attribute
to avoid that auxillary statement list reaches LTO.

gcc/testsuite/ChangeLog:

* gfortran.dg/gomp/allocate-13a.f90: New test.
gcc/gimplify.cc
gcc/testsuite/gfortran.dg/gomp/allocate-13a.f90 [new file with mode: 0644]
This page took 0.074537 seconds and 5 git commands to generate.