public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/19313] New: inquire(pad=) not implemented
@ 2005-01-07 15:05 Thomas dot Koenig at online dot de
  2005-01-07 15:32 ` [Bug fortran/19313] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Thomas dot Koenig at online dot de @ 2005-01-07 15:05 UTC (permalink / raw)
  To: gcc-bugs

$ cat pad.f
      character*20 chr
      open(7)
      inquire(7,pad=chr)
      print *,chr
      end
$ gfortran pad.f && ./a.out

$ gfortran -v ; gfortran -dumpmachine
Using built-in specs.
Configured with: ../gcc-4.0-20050102/configure --prefix=/home/zfkts
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20050102 (experimental)
ia64-unknown-linux-gnu

This is not a g77 regression. g77 does not support pad= in inquire.

-- 
           Summary: inquire(pad=) not implemented
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug fortran/19313] inquire(pad=) not implemented
  2005-01-07 15:05 [Bug libfortran/19313] New: inquire(pad=) not implemented Thomas dot Koenig at online dot de
@ 2005-01-07 15:32 ` pinskia at gcc dot gnu dot org
  2005-01-07 15:40 ` Thomas dot Koenig at online dot de
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-07 15:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-07 15:31 -------
This is partly a front-end bug:
  _gfortran_filename = "t.f";
  _gfortran_line = 3;
  _gfortran_ioparm.unit = 7;
  _gfortran_st_inquire ();

And a library bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|libfortran                  |fortran
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-07 15:31:43
               date|                            |


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


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

* [Bug fortran/19313] inquire(pad=) not implemented
  2005-01-07 15:05 [Bug libfortran/19313] New: inquire(pad=) not implemented Thomas dot Koenig at online dot de
  2005-01-07 15:32 ` [Bug fortran/19313] " pinskia at gcc dot gnu dot org
@ 2005-01-07 15:40 ` Thomas dot Koenig at online dot de
  2005-01-18 13:10 ` bdavis at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas dot Koenig at online dot de @ 2005-01-07 15:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From Thomas dot Koenig at online dot de  2005-01-07 15:40 -------
inquire (delim= ) also doesn't work (returns blanks).


-- 


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


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

* [Bug fortran/19313] inquire(pad=) not implemented
  2005-01-07 15:05 [Bug libfortran/19313] New: inquire(pad=) not implemented Thomas dot Koenig at online dot de
  2005-01-07 15:32 ` [Bug fortran/19313] " pinskia at gcc dot gnu dot org
  2005-01-07 15:40 ` Thomas dot Koenig at online dot de
@ 2005-01-18 13:10 ` bdavis at gcc dot gnu dot org
  2005-01-23 14:20 ` [Bug libfortran/19313] " cvs-commit at gcc dot gnu dot org
  2005-01-23 15:47 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: bdavis at gcc dot gnu dot org @ 2005-01-18 13:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bdavis at gcc dot gnu dot org  2005-01-18 13:10 -------
patch here:

http://gcc.gnu.org/ml/fortran/2005-01/msg00207.html

-- 


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


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

* [Bug libfortran/19313] inquire(pad=) not implemented
  2005-01-07 15:05 [Bug libfortran/19313] New: inquire(pad=) not implemented Thomas dot Koenig at online dot de
                   ` (2 preceding siblings ...)
  2005-01-18 13:10 ` bdavis at gcc dot gnu dot org
@ 2005-01-23 14:20 ` cvs-commit at gcc dot gnu dot org
  2005-01-23 15:47 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-23 14:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-23 14:20 -------
Subject: Bug 19313

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bdavis@gcc.gnu.org	2005-01-23 14:19:55

Modified files:
	gcc/fortran    : ChangeLog trans-io.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gfortran.dg: inquire_6.f90 

Log message:
	2005-01-22  Bud Davis  <bdavis9659@comcast.net>
	
	PR fortran/19313
	* trans-io.c (gfc_trans_inquire): Added code to support
	pad.
	
	PR fortran/19313
	* gfortan.dg/inquire_6.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.309&r2=1.310
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-io.c.diff?cvsroot=gcc&r1=1.27&r2=1.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4926&r2=1.4927
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/inquire_6.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug libfortran/19313] inquire(pad=) not implemented
  2005-01-07 15:05 [Bug libfortran/19313] New: inquire(pad=) not implemented Thomas dot Koenig at online dot de
                   ` (3 preceding siblings ...)
  2005-01-23 14:20 ` [Bug libfortran/19313] " cvs-commit at gcc dot gnu dot org
@ 2005-01-23 15:47 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-23 15:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-23 15:47 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2005-01-23 15:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-07 15:05 [Bug libfortran/19313] New: inquire(pad=) not implemented Thomas dot Koenig at online dot de
2005-01-07 15:32 ` [Bug fortran/19313] " pinskia at gcc dot gnu dot org
2005-01-07 15:40 ` Thomas dot Koenig at online dot de
2005-01-18 13:10 ` bdavis at gcc dot gnu dot org
2005-01-23 14:20 ` [Bug libfortran/19313] " cvs-commit at gcc dot gnu dot org
2005-01-23 15:47 ` 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).