]> gcc.gnu.org Git - gcc.git/commit
Fortran: Fix func decl mismatch [PR93660]
authorTobias Burnus <tobias@codesourcery.com>
Tue, 23 Mar 2021 14:45:36 +0000 (15:45 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 23 Mar 2021 14:45:36 +0000 (15:45 +0100)
commit212f4988f37ccf788c8c72b1dc952980bc9be3b7
treef598fe094efce00a0bbd382a79d54287b80656f0
parentd7cea7ceff9a2be7436108030c598628c51fba0f
Fortran: Fix func decl mismatch [PR93660]

gcc/fortran/ChangeLog:

PR fortran/93660
* trans-decl.c (build_function_decl): Add comment;
increment hidden_typelist for caf_token/caf_offset.
* trans-types.c (gfc_get_function_type): Add comment;
add missing caf_token/caf_offset args.

gcc/testsuite/ChangeLog:

PR fortran/93660
* gfortran.dg/gomp/declare-simd-coarray-lib.f90: New test.
gcc/fortran/trans-decl.c
gcc/fortran/trans-types.c
gcc/testsuite/gfortran.dg/gomp/declare-simd-coarray-lib.f90 [new file with mode: 0644]
This page took 0.069689 seconds and 6 git commands to generate.