diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2020-12-20 16:34:41 +0100 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2020-12-20 16:34:41 +0100 |
commit | 7c641985fd8b75cd741ac0c98c1924629d45cb34 (patch) | |
tree | ce3891be52bc629de857fa706f238c15e816fdf5 /gcc/cppdefault.c | |
parent | 76453c3247faca6dfcf72ec04644e1cb87648d1f (diff) | |
download | gcc-7c641985fd8b75cd741ac0c98c1924629d45cb34.zip gcc-7c641985fd8b75cd741ac0c98c1924629d45cb34.tar.gz gcc-7c641985fd8b75cd741ac0c98c1924629d45cb34.tar.bz2 |
Fix allocation with source for coarrays.
gcc/fortran/ChangeLog:
* resolve.c (gfc_expr_to_initialize): Check for coarrays only
if the reference is right.
* trans-array.c (gfc_array_allocate): If SOURCE has a size,
use it.
Diffstat (limited to 'gcc/cppdefault.c')
0 files changed, 0 insertions, 0 deletions