]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/interface.cc
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 17:05:05 +0000 (19:05 +0200)
commit600956c81c784f4a0cc9d10f6e03e01847afd961
tree7d4f5f819bcd8356560c4a8fd8f9f121f6611ecf
parent975658b782f36dcf6eb190966d5b705977bfd5eb
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.
gcc/fortran/interface.cc
gcc/testsuite/gfortran.dg/pr103504.f90 [new file with mode: 0644]