]> gcc.gnu.org Git - 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:11:25 +0000 (21:11 +0200)
commit3b9a3b484f7c89bc5064bf32ecfa2b4aee218d5f
tree9c572424d1d0c7e63a41faa50ff1de1bc332ada8
parent800dac8fca3cf75512913e380df339fa2253ba76
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]
This page took 0.073367 seconds and 5 git commands to generate.