public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/66707] New: Endless compilation on wrong usage of common
@ 2015-06-30 16:42 gerhard.steinmetz.fortran@t-online.de
2015-09-10 9:09 ` [Bug fortran/66707] " dominiq at lps dot ens.fr
0 siblings, 1 reply; 2+ messages in thread
From: gerhard.steinmetz.fortran@t-online.de @ 2015-06-30 16:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66707
Bug ID: 66707
Summary: Endless compilation on wrong usage of common
Product: gcc
Version: 5.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fortran@t-online.de
Target Milestone: ---
After printing some correct and helpful error messages,
compilation of the following snippets (wrong code) will not end.
Tested with gfortran 5.1.1, 4.9.0, 4.8.3 (on SUSE Linux 13.2, 64 bit).
$ cat zlctc_1.f90
program p
c = 1
common // c
common // c
end
$ cat zlctc_2.f90
program p
integer, pointer :: a
common a, a
common a
end
$ cat zlctc_3.f90
program p
integer, pointer :: a
common a => null()
common a => null()
end
$ time gfortran zlctc_1.f90
zlctc_1.f90:3.14:
common // c
1
Error: Unexpected COMMON statement at (1)
zlctc_1.f90:4.14:
common // c
1
Error: Unexpected COMMON statement at (1)
# ^C after a few minutes
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/66707] Endless compilation on wrong usage of common
2015-06-30 16:42 [Bug fortran/66707] New: Endless compilation on wrong usage of common gerhard.steinmetz.fortran@t-online.de
@ 2015-09-10 9:09 ` dominiq at lps dot ens.fr
0 siblings, 0 replies; 2+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-09-10 9:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66707
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-09-10
CC| |manu at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed with 4.9.3 and 5.2. This seems to have been fixed on trunk between
revision r226476 (2015-08-02, endless compilation) and r227016 (2015-08-19,
tests compiled in a fraction of second).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-10 9:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-30 16:42 [Bug fortran/66707] New: Endless compilation on wrong usage of common gerhard.steinmetz.fortran@t-online.de
2015-09-10 9:09 ` [Bug fortran/66707] " dominiq at lps dot ens.fr
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).