aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.c
diff options
context:
space:
mode:
authorMark Eggleston <markeggleston@gcc.gnu.org>2020-07-06 07:14:59 +0100
committerMark Eggleston <markeggleston@gcc.gnu.org>2020-07-14 07:16:56 +0100
commit9ad19a66d751ab48515ef61f830e192ae4078b93 (patch)
tree609958db50c9bfc59d705623e9e65e23cdaca652 /gcc/fortran/trans-openmp.c
parentea69fcf9a036bbecd63c39f24b155b1c46953e0d (diff)
downloadgcc-9ad19a66d751ab48515ef61f830e192ae4078b93.zip
gcc-9ad19a66d751ab48515ef61f830e192ae4078b93.tar.gz
gcc-9ad19a66d751ab48515ef61f830e192ae4078b93.tar.bz2
Fortran : Implicitly type parameter causes an invalid error PR96038
If a paramter to declared and initialised before its type is declared a bogus error is output at the type declaration idicating that initialisation is missing. 2020-07-14 Steven G. Kargl <kargl@gcc.gnu.org> gcc/fortran/ PR fortran/96038 * decl.c (add_init_expr_sym): For a symbol that is a parameter accept an initialisation if it does not have a value otherwise output a error and reject. 2020-07-14 Mark Eggleston <markeggleston@gcc.gnu.org> gcc/testsuite/ PR fortran/96038 * gfortran.dg/pr96038.f90: New test.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions