aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dse.c
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2021-09-23 08:03:52 -0700
committerSandra Loosemore <sandra@codesourcery.com>2021-09-23 16:42:35 -0700
commit2646d0e06b170569be1da28fce1d6e2f03a15f60 (patch)
tree5b1a43523e1b310bd5ec3df6a5dc252d5e168689 /gcc/tree-ssa-dse.c
parente5c0492b7f42ccc093f9f4385bbbc4b39dc5ffcb (diff)
downloadgcc-2646d0e06b170569be1da28fce1d6e2f03a15f60.zip
gcc-2646d0e06b170569be1da28fce1d6e2f03a15f60.tar.gz
gcc-2646d0e06b170569be1da28fce1d6e2f03a15f60.tar.bz2
Fortran: Diagnose default-initialized pointer/allocatable dummies
TS29113 changed what was then C516 in the 2010 Fortran standard (now C1557 in F2018) from disallowing all of pointer, allocatable, and optional attributes on dummy arguments to BIND(C) functions, to disallowing only pointer/allocatable with default-initialization. gfortran was previously failing to diagnose violations of this constraint. 2021-09-23 Sandra Loosemore <sandra@codesourcery.com> PR fortran/101320 gcc/fortran/ * decl.c (gfc_verify_c_interop_param): Handle F2018 C1557, aka TS29113 C516. gcc/testsuite/ * gfortran.dg/c-interop/c516.f90: Remove xfails. Add more tests.
Diffstat (limited to 'gcc/tree-ssa-dse.c')
0 files changed, 0 insertions, 0 deletions