]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: error recovery from calculation of storage size of a symbol [PR103504]
authorHarald Anlauf <anlauf@gmx.de>
Mon, 25 Jul 2022 20:29:50 +0000 (22:29 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Tue, 26 Jul 2022 18:25:59 +0000 (20:25 +0200)
commit2009850b2b7042a678c385cd72e6ceb40caac8cd
tree3b7181fc6bd0a14fc875b01f42cfa92427b8d307
parent9be0feeadeeac2166fbe3823421bc5712bc59087
Fortran: error recovery from calculation of storage size of a symbol [PR103504]

gcc/fortran/ChangeLog:

PR fortran/103504
* interface.cc (get_sym_storage_size): Array bounds and character
length can only be of integer type.

gcc/testsuite/ChangeLog:

PR fortran/103504
* gfortran.dg/pr103504.f90: New test.

(cherry picked from commit 600956c81c784f4a0cc9d10f6e03e01847afd961)
gcc/fortran/interface.cc
gcc/testsuite/gfortran.dg/pr103504.f90 [new file with mode: 0644]