public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/16161] New: [gfortran] IMPLICIT CHARACTER not implemented
@ 2004-06-23 16:36 tow21 at cam dot ac dot uk
2004-06-23 17:19 ` [Bug fortran/16161] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: tow21 at cam dot ac dot uk @ 2004-06-23 16:36 UTC (permalink / raw)
To: gcc-bugs
gfortran, when confronted with the following code:
PROGRAM TEST
IMPLICIT CHARACTER (C)
END PROGRAM
gives an incorrect error message, and then ICEs
parabrisas:~% gfortran test.f
In file test.f:2
IMPLICIT CHARACTER (C)
1
Error: Syntax error in IMPLICIT statement at (1)
test.f:0: internal compiler error: Segmentation fault
--
Summary: [gfortran] IMPLICIT CHARACTER not implemented
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tow21 at cam dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16161
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/16161] [gfortran] IMPLICIT CHARACTER not implemented
2004-06-23 16:36 [Bug fortran/16161] New: [gfortran] IMPLICIT CHARACTER not implemented tow21 at cam dot ac dot uk
@ 2004-06-23 17:19 ` pinskia at gcc dot gnu dot org
2004-06-29 20:59 ` tobi at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-23 17:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-23 17:19 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code, rejects-
| |valid
Last reconfirmed|0000-00-00 00:00:00 |2004-06-23 17:19:07
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16161
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/16161] [gfortran] IMPLICIT CHARACTER not implemented
2004-06-23 16:36 [Bug fortran/16161] New: [gfortran] IMPLICIT CHARACTER not implemented tow21 at cam dot ac dot uk
2004-06-23 17:19 ` [Bug fortran/16161] " pinskia at gcc dot gnu dot org
@ 2004-06-29 20:59 ` tobi at gcc dot gnu dot org
2004-06-30 12:58 ` cvs-commit at gcc dot gnu dot org
2004-06-30 22:26 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-29 20:59 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-06-29 20:55 -------
Patch here: http://gcc.gnu.org/ml/fortran/2004-06/msg00294.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16161
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/16161] [gfortran] IMPLICIT CHARACTER not implemented
2004-06-23 16:36 [Bug fortran/16161] New: [gfortran] IMPLICIT CHARACTER not implemented tow21 at cam dot ac dot uk
2004-06-23 17:19 ` [Bug fortran/16161] " pinskia at gcc dot gnu dot org
2004-06-29 20:59 ` tobi at gcc dot gnu dot org
@ 2004-06-30 12:58 ` cvs-commit at gcc dot gnu dot org
2004-06-30 22:26 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-30 12:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-30 12:49 -------
Subject: Bug 16161
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tobi@gcc.gnu.org 2004-06-30 12:48:51
Modified files:
gcc/fortran : ChangeLog decl.c match.c match.h
gcc/testsuite : ChangeLog
gcc/testsuite/gfortran.fortran-torture/compile: implicit.f90
Log message:
fortran/
PR fortran/16161
* decl.c (gfc_match_type_spec): Rename second argument to
'implicit_flag', reverse meaning. Don't match_char_spec if
'implicit_flag' is set. Rename to ...
(match_type_spec): ... this.
(gfc_match_implicit_none, match_implicit_range): Move here
from match.c.
(gfc_match_implicit): Move here from match.c, try to
match_char_len if match_implicit_range doesn't succeed for
CHARACTER implicits. Call renamed fucntion match_type_spec.
(gfc_match_data_decl, match_prefix): Call renamed function
match_type_spec.
* match.c (gfc_match_implicit_none, match_implicit_range,
gfc_match_implicit): Move to decl.c.
* match.h (gfc_match_implicit_none, gfc_match_implicit):
Move protoypes to section 'decl.c'.
(gfc_match_type_spec): Remove prototype.
testsuite/
PR fortran/16161
* gfortran.fortran-torture/compile/implicit.f90: Add test
for implicit character.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.94&r2=1.95
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gcc&r1=1.15&r2=1.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/match.c.diff?cvsroot=gcc&r1=1.13&r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/match.h.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3922&r2=1.3923
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/compile/implicit.f90.diff?cvsroot=gcc&r1=1.2&r2=1.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16161
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/16161] [gfortran] IMPLICIT CHARACTER not implemented
2004-06-23 16:36 [Bug fortran/16161] New: [gfortran] IMPLICIT CHARACTER not implemented tow21 at cam dot ac dot uk
` (2 preceding siblings ...)
2004-06-30 12:58 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-30 22:26 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-30 22:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-30 22:21 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16161
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-06-30 22:21 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-23 16:36 [Bug fortran/16161] New: [gfortran] IMPLICIT CHARACTER not implemented tow21 at cam dot ac dot uk
2004-06-23 17:19 ` [Bug fortran/16161] " pinskia at gcc dot gnu dot org
2004-06-29 20:59 ` tobi at gcc dot gnu dot org
2004-06-30 12:58 ` cvs-commit at gcc dot gnu dot org
2004-06-30 22:26 ` pinskia at gcc dot gnu dot 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).