public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/20846] New: error needed
@ 2005-04-08 15:52 jv244 at cam dot ac dot uk
  2005-04-09 19:25 ` [Bug fortran/20846] " fxcoudert at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jv244 at cam dot ac dot uk @ 2005-04-08 15:52 UTC (permalink / raw)
  To: gcc-bugs

The following is non-standard and the compiler should probably generate a
warning/error with '-pedantic -std=f95'


INQUIRE(FILE="TEST",UNIT=7,RECL=I)
END

-- 
           Summary: error needed
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20846


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/20846] error needed
  2005-04-08 15:52 [Bug fortran/20846] New: error needed jv244 at cam dot ac dot uk
@ 2005-04-09 19:25 ` fxcoudert at gcc dot gnu dot org
  2005-05-24 18:10 ` [Bug fortran/20846] inquire(FILE=..., UNIT=...) not flagged as error jblomqvi at cc dot hut dot fi
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-04-09 19:25 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-04-09 19:25 -------
Confirmed, we shouldn't be able to specify a FILE and a UNIT in the same INQUIRE
statement. Perhaps this should even be an error in any case (that is, without
-pedantic and -std=f95).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-09 19:25:50
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20846


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/20846] inquire(FILE=..., UNIT=...) not flagged as error
  2005-04-08 15:52 [Bug fortran/20846] New: error needed jv244 at cam dot ac dot uk
  2005-04-09 19:25 ` [Bug fortran/20846] " fxcoudert at gcc dot gnu dot org
@ 2005-05-24 18:10 ` jblomqvi at cc dot hut dot fi
  2005-05-30  0:21 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jblomqvi at cc dot hut dot fi @ 2005-05-24 18:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jblomqvi at cc dot hut dot fi  2005-05-24 18:04 -------
Patch here: http://gcc.gnu.org/ml/gcc-patches/2005-05/msg02298.html

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20846


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/20846] inquire(FILE=..., UNIT=...) not flagged as error
  2005-04-08 15:52 [Bug fortran/20846] New: error needed jv244 at cam dot ac dot uk
  2005-04-09 19:25 ` [Bug fortran/20846] " fxcoudert at gcc dot gnu dot org
  2005-05-24 18:10 ` [Bug fortran/20846] inquire(FILE=..., UNIT=...) not flagged as error jblomqvi at cc dot hut dot fi
@ 2005-05-30  0:21 ` cvs-commit at gcc dot gnu dot org
  2005-05-30  0:23 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-30  0:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-30 00:19 -------
Subject: Bug 20846

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	kargl@gcc.gnu.org	2005-05-30 00:19:44

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: inquire_8.f90 

Log message:
	PR fortran/20846
	* gfortran.dg/inquire_8.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5555&r2=1.5556
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/inquire_8.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20846


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/20846] inquire(FILE=..., UNIT=...) not flagged as error
  2005-04-08 15:52 [Bug fortran/20846] New: error needed jv244 at cam dot ac dot uk
                   ` (2 preceding siblings ...)
  2005-05-30  0:21 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-30  0:23 ` cvs-commit at gcc dot gnu dot org
  2005-05-30  0:30 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-30  0:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-30 00:21 -------
Subject: Bug 20846

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	kargl@gcc.gnu.org	2005-05-30 00:21:34

Modified files:
	gcc/fortran    : ChangeLog io.c 

Log message:
	PR fortran/20846
	* io.c (gfc_match_inquire): Implement constraints on UNIT and FILE usage.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.335.2.57&r2=1.335.2.58
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/io.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.19.10.3&r2=1.19.10.4



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20846


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/20846] inquire(FILE=..., UNIT=...) not flagged as error
  2005-04-08 15:52 [Bug fortran/20846] New: error needed jv244 at cam dot ac dot uk
                   ` (3 preceding siblings ...)
  2005-05-30  0:23 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-30  0:30 ` cvs-commit at gcc dot gnu dot org
  2005-05-30  0:31 ` kargl at gcc dot gnu dot org
  2005-05-30  1:40 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-30  0:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-30 00:23 -------
Subject: Bug 20846

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	kargl@gcc.gnu.org	2005-05-30 00:23:46

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: inquire_8.f90 

Log message:
	PR fortran/20846
	* gfortran.dg/inquire_8.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.208&r2=1.5084.2.209
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/inquire_8.f90.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20846


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/20846] inquire(FILE=..., UNIT=...) not flagged as error
  2005-04-08 15:52 [Bug fortran/20846] New: error needed jv244 at cam dot ac dot uk
                   ` (4 preceding siblings ...)
  2005-05-30  0:30 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-30  0:31 ` kargl at gcc dot gnu dot org
  2005-05-30  1:40 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: kargl at gcc dot gnu dot org @ 2005-05-30  0:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kargl at gcc dot gnu dot org  2005-05-30 00:30 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20846


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/20846] inquire(FILE=..., UNIT=...) not flagged as error
  2005-04-08 15:52 [Bug fortran/20846] New: error needed jv244 at cam dot ac dot uk
                   ` (5 preceding siblings ...)
  2005-05-30  0:31 ` kargl at gcc dot gnu dot org
@ 2005-05-30  1:40 ` pinskia at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-30  1:40 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20846


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-05-30  0:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-08 15:52 [Bug fortran/20846] New: error needed jv244 at cam dot ac dot uk
2005-04-09 19:25 ` [Bug fortran/20846] " fxcoudert at gcc dot gnu dot org
2005-05-24 18:10 ` [Bug fortran/20846] inquire(FILE=..., UNIT=...) not flagged as error jblomqvi at cc dot hut dot fi
2005-05-30  0:21 ` cvs-commit at gcc dot gnu dot org
2005-05-30  0:23 ` cvs-commit at gcc dot gnu dot org
2005-05-30  0:30 ` cvs-commit at gcc dot gnu dot org
2005-05-30  0:31 ` kargl at gcc dot gnu dot org
2005-05-30  1:40 ` 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).