diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2018-01-01 17:36:41 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2018-01-01 17:36:41 +0000 |
commit | f549bfb3db5524f71d1d29f4a3adc99ffcebfd87 (patch) | |
tree | 458601ba76bd1b82c6cbf785c4a8da76fd5f1cb3 /gcc/fold-const.c | |
parent | 3a60f9fd1af9554ab1a032df0af6cb0e1eefca60 (diff) | |
download | gcc-f549bfb3db5524f71d1d29f4a3adc99ffcebfd87.zip gcc-f549bfb3db5524f71d1d29f4a3adc99ffcebfd87.tar.gz gcc-f549bfb3db5524f71d1d29f4a3adc99ffcebfd87.tar.bz2 |
re PR fortran/83076 (ICE in gfc_deallocate_scalar_with_status, at fortran/trans.c:1598)
2018-01-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/83076
* resolve.c (resolve_fl_derived0): Add caf_token fields for
allocatable and pointer scalars, when -fcoarray selected.
* trans-types.c (gfc_copy_dt_decls_ifequal): Copy the token
field as well as the backend_decl.
(gfc_get_derived_type): Flag GFC_FCOARRAY_LIB for module
derived types that are not vtypes. Components with caf_token
attribute are pvoid types. For a component requiring it, find
the caf_token field and have the component token field point to
its backend_decl.
PR fortran/83319
*trans-types.c (gfc_get_array_descriptor_base): Add the token
field to the descriptor even when codimen not set.
2018-01-01 Paul Thomas <pault@gcc.gnu.org>
PR fortran/83076
* gfortran.dg/coarray_45.f90 : New test.
PR fortran/83319
* gfortran.dg/coarray_46.f90 : New test.
From-SVN: r256065
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions