public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Tobias Burnus <burnus@net-b.de>
To: Jerry DeLisle <jvdelisle@verizon.net>,
	gcc-patches@gcc.gnu.org, 	fortran@gcc.gnu.org
Subject: Re: [patch, fortran]PR25829 Add support for F2003 I/O features
Date: Tue, 01 Apr 2008 21:10:00 -0000	[thread overview]
Message-ID: <20080401211028.GA31075@net-b.de> (raw)

> Please give it a spin and test if you can.  Any test cases people are
> willing to submit would be welcome.

DECIMAL="comma" does not work properly:

integer :: i
real :: a(10) = [ (i*1.3, i=1,10) ]
namelist /nm/ a
write(*,nml=nm,decimal='comma')
end

This should print
 &nm a = 1,3; 2,6; ...
but it prints:
 &nm a = 1,3, 2,6, ...

 * * *

The following program should print:
  1.3  4.0  5.0  5.0  7.0  0.0
but gfortran has:
  Fortran runtime error: Cannot match namelist object name

implicit none
integer :: i
real :: a(6) = 0.0
character(len=30) :: str = '&nm a = 1,3; 4, 5; 5; 7; /'
namelist /nm/ a
read(str,nml=nm,decimal='comma')
print *, a
end

 * * *

+      notify_std (&dtp->common, GFC_STD_F2003, "DC or DP descriptor "

Please use also in libgfortran the "Fortran 2003:" prefix.

 * * *

The patch looks otherwise OK. It would be great if some others could 
do some tests or code review as well. The code is too big to quickly
see whether everything is correct or whether checks are missing or ...

Tobias,
who is looking forward to the updated patch

             reply	other threads:[~2008-04-01 21:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01 21:10 Tobias Burnus [this message]
2008-04-04  4:53 ` Jerry DeLisle
  -- strict thread matches above, loose matches on Subject: below --
2008-04-05 12:21 Tobias Burnus
2008-04-05 16:30 ` Jerry DeLisle
2008-04-05 17:31   ` NightStrike
2008-04-05 17:58     ` Jerry DeLisle
     [not found]   ` <47F7FE02.3070407@net-b.de>
     [not found]     ` <1207454811.15229.2.camel@lenova.localdomain>
2008-04-06 10:00       ` Tobias Burnus
2008-03-29 17:45 Tobias Burnus
2008-03-29 19:57 ` Jerry DeLisle
2008-04-01  4:31 ` Jerry DeLisle
2008-04-01 11:47   ` Tobias Burnus
2008-04-01 14:15     ` Jerry DeLisle
2008-04-01 14:15     ` Jerry DeLisle
     [not found]       ` <47F494AC.30003@net-b.de>
2008-04-05  9:24         ` Jerry DeLisle
2008-04-05  9:27           ` Jerry DeLisle
2008-03-16 21:48 Jerry DeLisle
2008-03-16 22:03 ` FX Coudert
2008-03-17  0:25   ` Jerry DeLisle
2008-03-17  7:52     ` Janne Blomqvist

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080401211028.GA31075@net-b.de \
    --to=burnus@net-b.de \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jvdelisle@verizon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).