public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95611] New: ICE in access_attr_decl, at fortran/decl.c:9075
@ 2020-06-09 17:29 gscfq@t-online.de
2020-06-09 17:40 ` [Bug fortran/95611] " kargl at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2020-06-09 17:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95611
Bug ID: 95611
Summary: ICE in access_attr_decl, at fortran/decl.c:9075
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Affects versions down to at least r5, with a doubled statement :
$ cat z1.f90
module m
public operator (.a.)
public operator (.a.)
end
$ gfortran-11-20200607 -c z1.f90
f951: internal compiler error: Segmentation fault
0xbc593f crash_signal
../../gcc/toplev.c:328
0x63c87b access_attr_decl
../../gcc/fortran/decl.c:9075
0x6acbca decode_statement
../../gcc/fortran/parse.c:544
0x6acf5a next_free
../../gcc/fortran/parse.c:1279
0x6acf5a next_statement
../../gcc/fortran/parse.c:1511
0x6ae5ab parse_spec
../../gcc/fortran/parse.c:3922
0x6b257e parse_module
../../gcc/fortran/parse.c:6115
0x6b28c7 gfc_parse_file()
../../gcc/fortran/parse.c:6428
0x6feb3f gfc_be_parse_file
../../gcc/fortran/f95-lang.c:212
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075
2020-06-09 17:29 [Bug fortran/95611] New: ICE in access_attr_decl, at fortran/decl.c:9075 gscfq@t-online.de
@ 2020-06-09 17:40 ` kargl at gcc dot gnu.org
2020-06-11 18:56 ` anlauf at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: kargl at gcc dot gnu.org @ 2020-06-09 17:40 UTC (permalink / raw)
To: gcc-bugs
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;
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075
2020-06-09 17:29 [Bug fortran/95611] New: ICE in access_attr_decl, at fortran/decl.c:9075 gscfq@t-online.de
2020-06-09 17:40 ` [Bug fortran/95611] " kargl at gcc dot gnu.org
@ 2020-06-11 18:56 ` anlauf at gcc dot gnu.org
2020-06-11 19:08 ` cvs-commit at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-06-11 18:56 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075
2020-06-09 17:29 [Bug fortran/95611] New: ICE in access_attr_decl, at fortran/decl.c:9075 gscfq@t-online.de
2020-06-09 17:40 ` [Bug fortran/95611] " kargl at gcc dot gnu.org
2020-06-11 18:56 ` anlauf at gcc dot gnu.org
@ 2020-06-11 19:08 ` cvs-commit at gcc dot gnu.org
2020-06-11 19:12 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-11 19:08 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95611
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:393ccb72566dc004b9ab5c3b8fb6fdca6c095812
commit r11-1241-g393ccb72566dc004b9ab5c3b8fb6fdca6c095812
Author: Harald Anlauf <anlauf@gmx.de>
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 <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>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075
2020-06-09 17:29 [Bug fortran/95611] New: ICE in access_attr_decl, at fortran/decl.c:9075 gscfq@t-online.de
` (2 preceding siblings ...)
2020-06-11 19:08 ` cvs-commit at gcc dot gnu.org
@ 2020-06-11 19:12 ` cvs-commit at gcc dot gnu.org
2020-06-11 19:14 ` cvs-commit at gcc dot gnu.org
2020-06-11 19:15 ` anlauf at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-11 19:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95611
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:3b9a3b484f7c89bc5064bf32ecfa2b4aee218d5f
commit r10-8275-g3b9a3b484f7c89bc5064bf32ecfa2b4aee218d5f
Author: Harald Anlauf <anlauf@gmx.de>
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 <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)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075
2020-06-09 17:29 [Bug fortran/95611] New: ICE in access_attr_decl, at fortran/decl.c:9075 gscfq@t-online.de
` (3 preceding siblings ...)
2020-06-11 19:12 ` cvs-commit at gcc dot gnu.org
@ 2020-06-11 19:14 ` cvs-commit at gcc dot gnu.org
2020-06-11 19:15 ` anlauf at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-06-11 19:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95611
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:f2db0516e1ad6e1c08ed36b14920422f7699c153
commit r9-8667-gf2db0516e1ad6e1c08ed36b14920422f7699c153
Author: Harald Anlauf <anlauf@gmx.de>
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 <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)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/95611] ICE in access_attr_decl, at fortran/decl.c:9075
2020-06-09 17:29 [Bug fortran/95611] New: ICE in access_attr_decl, at fortran/decl.c:9075 gscfq@t-online.de
` (4 preceding siblings ...)
2020-06-11 19:14 ` cvs-commit at gcc dot gnu.org
@ 2020-06-11 19:15 ` anlauf at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-06-11 19:15 UTC (permalink / raw)
To: gcc-bugs
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!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-06-11 19:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-09 17:29 [Bug fortran/95611] New: ICE in access_attr_decl, at fortran/decl.c:9075 gscfq@t-online.de
2020-06-09 17:40 ` [Bug fortran/95611] " kargl at gcc dot gnu.org
2020-06-11 18:56 ` anlauf at gcc dot gnu.org
2020-06-11 19:08 ` cvs-commit at gcc dot gnu.org
2020-06-11 19:12 ` cvs-commit at gcc dot gnu.org
2020-06-11 19:14 ` cvs-commit at gcc dot gnu.org
2020-06-11 19:15 ` anlauf at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).