]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR fortran/95611 - ICE in access_attr_decl, at fortran/decl.c:9075
authorHarald Anlauf <anlauf@gmx.de>
Thu, 11 Jun 2020 19:03:48 +0000 (21:03 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Thu, 11 Jun 2020 19:14:10 +0000 (21:14 +0200)
commitf2db0516e1ad6e1c08ed36b14920422f7699c153
treead1d9a02bf1890dbac1d5d709ed683ef0c0d976b
parent77137fbd464b20e2422c887d1e46fa5f1c38dc9e
PR fortran/95611 - ICE in access_attr_decl, at fortran/decl.c:9075

When reporting a duplicate access specification of an operator, refer to
the proper symbol.

2020-06-11  Harald Anlauf <anlauf@gmx.de>

gcc/fortran/
PR fortran/95611
* decl.c (access_attr_decl): Use correct symbol in error message.

Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>
(cherry picked from commit 393ccb72566dc004b9ab5c3b8fb6fdca6c095812)
gcc/fortran/decl.c
gcc/testsuite/gfortran.dg/pr95611.f90 [new file with mode: 0644]