public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/35754]  New: -std=f95: Reject "1P2E12.4" w/o a comma after the "P"
@ 2008-03-29 13:09 burnus at gcc dot gnu dot org
  2008-11-01 12:51 ` [Bug fortran/35754] " jvdelisle at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: burnus at gcc dot gnu dot org @ 2008-03-29 13:09 UTC (permalink / raw)
  To: gcc-bugs

The comma after the "P" is optional in Fortran 2003 if followed by a repeat
specifier but required in Fortran 95. (According to MR&C)


-- 
           Summary: -std=f95: Reject "1P2E12.4" w/o a comma after the "P"
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


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


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

* [Bug fortran/35754] -std=f95: Reject "1P2E12.4" w/o a comma after the "P"
  2008-03-29 13:09 [Bug fortran/35754] New: -std=f95: Reject "1P2E12.4" w/o a comma after the "P" burnus at gcc dot gnu dot org
@ 2008-11-01 12:51 ` jvdelisle at gcc dot gnu dot org
  2009-08-23  6:25 ` jvdelisle at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-11-01 12:51 UTC (permalink / raw)
  To: gcc-bugs



-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jvdelisle at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-11-01 12:50:08
               date|                            |


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


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

* [Bug fortran/35754] -std=f95: Reject "1P2E12.4" w/o a comma after the "P"
  2008-03-29 13:09 [Bug fortran/35754] New: -std=f95: Reject "1P2E12.4" w/o a comma after the "P" burnus at gcc dot gnu dot org
  2008-11-01 12:51 ` [Bug fortran/35754] " jvdelisle at gcc dot gnu dot org
@ 2009-08-23  6:25 ` jvdelisle at gcc dot gnu dot org
  2009-08-24  4:42 ` jvdelisle at gcc dot gnu dot org
  2009-08-25  1:22 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-08-23  6:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jvdelisle at gcc dot gnu dot org  2009-08-23 06:25 -------
F95 Standard: 10.1.1

"Constraint: The comma used to separate format-items in a format-item-list may
be omitted

(1)   Between a P edit descriptor and an immediately following F, E, EN, ES, D,
or G edit descriptor (10.6.5)"

F2003 Standard: 10.1.1

"(1) Between a P edit descriptor and an immediately following F, E, EN, ES, D,
or G edit descriptor (10.7.5), possibly preceded by a repeat specifier"

Patch on its way.


-- 


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


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

* [Bug fortran/35754] -std=f95: Reject "1P2E12.4" w/o a comma after the "P"
  2008-03-29 13:09 [Bug fortran/35754] New: -std=f95: Reject "1P2E12.4" w/o a comma after the "P" burnus at gcc dot gnu dot org
  2008-11-01 12:51 ` [Bug fortran/35754] " jvdelisle at gcc dot gnu dot org
  2009-08-23  6:25 ` jvdelisle at gcc dot gnu dot org
@ 2009-08-24  4:42 ` jvdelisle at gcc dot gnu dot org
  2009-08-25  1:22 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-08-24  4:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jvdelisle at gcc dot gnu dot org  2009-08-24 04:42 -------
Subject: Bug 35754

Author: jvdelisle
Date: Mon Aug 24 04:41:51 2009
New Revision: 151045

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151045
Log:
2009-08-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR fortran/35754
        * io.c (check_format): Add checks for comma and the allowed
        format specifiers after the 'P' specifier. Fix typo in error message
        and adjust locus.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/io.c


-- 


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


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

* [Bug fortran/35754] -std=f95: Reject "1P2E12.4" w/o a comma after the "P"
  2008-03-29 13:09 [Bug fortran/35754] New: -std=f95: Reject "1P2E12.4" w/o a comma after the "P" burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-08-24  4:42 ` jvdelisle at gcc dot gnu dot org
@ 2009-08-25  1:22 ` jvdelisle at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2009-08-25  1:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2009-08-25 01:22 -------
Closing, fixed on trunk.


-- 

jvdelisle at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2009-08-25  1:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-29 13:09 [Bug fortran/35754] New: -std=f95: Reject "1P2E12.4" w/o a comma after the "P" burnus at gcc dot gnu dot org
2008-11-01 12:51 ` [Bug fortran/35754] " jvdelisle at gcc dot gnu dot org
2009-08-23  6:25 ` jvdelisle at gcc dot gnu dot org
2009-08-24  4:42 ` jvdelisle at gcc dot gnu dot org
2009-08-25  1:22 ` jvdelisle 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).