diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-03-28 23:33:29 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-03-28 23:33:29 +0100 |
commit | 79d64ee8295b19668e47e0f38bfe77ad9d67c0a7 (patch) | |
tree | 89da244f9e4f48eabb4b07ba477ea7762b9c30fd /gcc/function.c | |
parent | e4479ec676b96445e52f47950703218162c4637a (diff) | |
download | gcc-79d64ee8295b19668e47e0f38bfe77ad9d67c0a7.zip gcc-79d64ee8295b19668e47e0f38bfe77ad9d67c0a7.tar.gz gcc-79d64ee8295b19668e47e0f38bfe77ad9d67c0a7.tar.bz2 |
re PR middle-end/89621 (ICE with allocatable character and openmp)
PR middle-end/89621
* tree-inline.h (struct copy_body_data): Add
dont_remap_vla_if_no_change flag.
* tree-inline.c (remap_type_3, remap_type_2): New functions.
(remap_type): Don't remap vla types if id->dont_remap_vla_if_no_change
and remap_type_2 returns false.
* omp-low.c (new_omp_context): Set ctx->cb.dont_remap_vla_if_no_change.
Move ctx->cb.adjust_array_error_bounds setting to the outermost ctx
only from where it is copied to nested contexts.
* gfortran.dg/gomp/pr89621.f90: New test.
From-SVN: r270009
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions