[Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075

2020-06-11 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95611

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from anlauf at gcc dot gnu.org ---
Fixed on master for GCC-11, 10-branch and 9-branch.

Thanks for the report!

[Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075

2020-06-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95611

--- Comment #5 from CVS Commits  ---
The releases/gcc-9 branch has been updated by Harald Anlauf
:

https://gcc.gnu.org/g:f2db0516e1ad6e1c08ed36b14920422f7699c153

commit r9-8667-gf2db0516e1ad6e1c08ed36b14920422f7699c153
Author: Harald Anlauf 
Date:   Thu Jun 11 21:03:48 2020 +0200

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 

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

Co-Authored-By: Steven G. Kargl  
(cherry picked from commit 393ccb72566dc004b9ab5c3b8fb6fdca6c095812)

[Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075

2020-06-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95611

--- Comment #4 from CVS Commits  ---
The releases/gcc-10 branch has been updated by Harald Anlauf
:

https://gcc.gnu.org/g:3b9a3b484f7c89bc5064bf32ecfa2b4aee218d5f

commit r10-8275-g3b9a3b484f7c89bc5064bf32ecfa2b4aee218d5f
Author: Harald Anlauf 
Date:   Thu Jun 11 21:03:48 2020 +0200

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 

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

Co-Authored-By: Steven G. Kargl  
(cherry picked from commit 393ccb72566dc004b9ab5c3b8fb6fdca6c095812)

[Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075

2020-06-11 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95611

--- Comment #3 from CVS Commits  ---
The master branch has been updated by Harald Anlauf :

https://gcc.gnu.org/g:393ccb72566dc004b9ab5c3b8fb6fdca6c095812

commit r11-1241-g393ccb72566dc004b9ab5c3b8fb6fdca6c095812
Author: Harald Anlauf 
Date:   Thu Jun 11 21:03:48 2020 +0200

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 

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

Co-Authored-By: Steven G. Kargl  

[Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075

2020-06-11 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95611

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |anlauf at gcc dot 
gnu.org
 CC||anlauf at gcc dot gnu.org

--- Comment #2 from anlauf at gcc dot gnu.org ---
I'll commit that as obvious.

[Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075

2020-06-09 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95611

kargl at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P4
 Status|UNCONFIRMED |NEW
 CC||kargl at gcc dot gnu.org
   Last reconfirmed||2020-06-09
 Ever confirmed|0   |1

--- Comment #1 from kargl at gcc dot gnu.org ---
Index: gcc/fortran/decl.c
===
--- gcc/fortran/decl.c  (revision 280157)
+++ gcc/fortran/decl.c  (working copy)
@@ -8998,7 +8998,7 @@ access_attr_decl (gfc_statement st)
  else
{
  gfc_error ("Access specification of the .%s. operator at %C "
-"has already been specified", sym->name);
+"has already been specified", uop->name);
  goto done;
}