public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/66979] New: gfortran internal compiler error with malformed FLUSH statement
@ 2015-07-23 20:34 maddenp at colorado dot edu
2015-08-29 13:37 ` [Bug fortran/66979] " dominiq at lps dot ens.fr
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: maddenp at colorado dot edu @ 2015-07-23 20:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66979
Bug ID: 66979
Summary: gfortran internal compiler error with malformed FLUSH
statement
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: maddenp at colorado dot edu
Target Milestone: ---
This program has a syntax error (no unit specified) in the flush statement:
% cat p.f90
program p
implicit none
integer::i
flush (iostat=i)
end program p
% gfortran p.f90
f951: internal compiler error: Segmentation fault
[...]
% gfortran --version
GNU Fortran (Ubuntu 4.9.2-10ubuntu13) 4.9.2
[...]
Also, using the nightly snapshot I just downloaded (is this too new to be
useful?):
% ~/Desktop/gcc-trunk/bin/gfortran p.f90
f951: internal compiler error: Segmentation fault
0x5a78e0 ???
../sysdeps/x86_64/elf/start.S:113
[...]
% ~/Desktop/gcc-trunk/bin/gfortran --version
GNU Fortran (GCC) 6.0.0 20150723 (experimental) [trunk revision 226084]
[...]
My system:
% uname -a
Linux o 3.19.0-22-generic #22-Ubuntu SMP Tue Jun 16 17:15:15 UTC 2015 x86_64
x86_64 x86_64 GNU/Linux
I hope this is useful.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/66979] gfortran internal compiler error with malformed FLUSH statement
2015-07-23 20:34 [Bug fortran/66979] New: gfortran internal compiler error with malformed FLUSH statement maddenp at colorado dot edu
@ 2015-08-29 13:37 ` dominiq at lps dot ens.fr
2015-09-30 23:15 ` kargl at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-08-29 13:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66979
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-08-29
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from 4.8 up to trunk (6.0).
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/66979] gfortran internal compiler error with malformed FLUSH statement
2015-07-23 20:34 [Bug fortran/66979] New: gfortran internal compiler error with malformed FLUSH statement maddenp at colorado dot edu
2015-08-29 13:37 ` [Bug fortran/66979] " dominiq at lps dot ens.fr
@ 2015-09-30 23:15 ` kargl at gcc dot gnu.org
2015-10-02 0:50 ` kargl at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu.org @ 2015-09-30 23:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66979
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot gnu.org
Known to fail| |4.7.4, 4.8.5, 4.9.4, 5.2.1,
| |6.0
--- Comment #2 from kargl at gcc dot gnu.org ---
I have a patch.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/66979] gfortran internal compiler error with malformed FLUSH statement
2015-07-23 20:34 [Bug fortran/66979] New: gfortran internal compiler error with malformed FLUSH statement maddenp at colorado dot edu
2015-08-29 13:37 ` [Bug fortran/66979] " dominiq at lps dot ens.fr
2015-09-30 23:15 ` kargl at gcc dot gnu.org
@ 2015-10-02 0:50 ` kargl at gcc dot gnu.org
2015-10-02 20:20 ` kargl at gcc dot gnu.org
2015-10-02 21:31 ` kargl at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu.org @ 2015-10-02 0:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66979
--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Oct 2 00:49:28 2015
New Revision: 228364
URL: https://gcc.gnu.org/viewcvs?rev=228364&root=gcc&view=rev
Log:
2015-10-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66979
* io.c (gfc_resolve_filepos): Check for a UNIT number. Add a nearby
missing 'return false'.
2015-10-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66979
gfortran.dg/pr66979.f90: new test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr66979.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/io.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/66979] gfortran internal compiler error with malformed FLUSH statement
2015-07-23 20:34 [Bug fortran/66979] New: gfortran internal compiler error with malformed FLUSH statement maddenp at colorado dot edu
` (2 preceding siblings ...)
2015-10-02 0:50 ` kargl at gcc dot gnu.org
@ 2015-10-02 20:20 ` kargl at gcc dot gnu.org
2015-10-02 21:31 ` kargl at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu.org @ 2015-10-02 20:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66979
--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Oct 2 20:19:32 2015
New Revision: 228423
URL: https://gcc.gnu.org/viewcvs?rev=228423&root=gcc&view=rev
Log:
2015-10-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66979
* io.c (gfc_resolve_filepos): Check for a UNIT number. Add a nearby
missing 'return false'.
2015-10-01 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/66979
gfortran.dg/pr66979.f90: new test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr66979.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/io.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/66979] gfortran internal compiler error with malformed FLUSH statement
2015-07-23 20:34 [Bug fortran/66979] New: gfortran internal compiler error with malformed FLUSH statement maddenp at colorado dot edu
` (3 preceding siblings ...)
2015-10-02 20:20 ` kargl at gcc dot gnu.org
@ 2015-10-02 21:31 ` kargl at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: kargl at gcc dot gnu.org @ 2015-10-02 21:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66979
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |5.3
--- Comment #5 from kargl at gcc dot gnu.org ---
Fixed on trunk and 5-branch. Thanks for the bug report.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-10-02 21:31 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-23 20:34 [Bug fortran/66979] New: gfortran internal compiler error with malformed FLUSH statement maddenp at colorado dot edu
2015-08-29 13:37 ` [Bug fortran/66979] " dominiq at lps dot ens.fr
2015-09-30 23:15 ` kargl at gcc dot gnu.org
2015-10-02 0:50 ` kargl at gcc dot gnu.org
2015-10-02 20:20 ` kargl at gcc dot gnu.org
2015-10-02 21:31 ` kargl 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).