public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* 5.1 regression(?) format statement with '& !' character string
@ 2015-11-23 14:59 Anton Shterenlikht
  2015-11-23 17:07 ` Steve Kargl
  2015-11-23 18:06 ` Jerry DeLisle
  0 siblings, 2 replies; 4+ messages in thread
From: Anton Shterenlikht @ 2015-11-23 14:59 UTC (permalink / raw)
  To: fortran

The problem seems to be in 5.1.
It doesn't occur in 5.0 or 6.0.

$ cat z.f90 
102 format ( '(' , es23.16 , '_rk , ' , es23.16 , '_rk) , & !' , i4 )
101 format ( '(' , es23.16 , '_rk , ' , es23.16 , '_rk)   & !' , i4 )
end 
$ gfortran --version
GNU Fortran (GCC) 5.1.0
Copyright (C) 2015 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

$ gfortran z.f90
z.f90:2:31:

 101 format ( '(' , es23.16 , '_rk , ' , es23.16 , '_rk)   & !' , i4 )
                               1
Error: Unexpected element '_' in format string at (1)
z.f90:3:4:

 end 
    1
Error: Unexpected end of format string in format string at (1)
$ module swap languages/gcc-5.1 languages/gcc-5.0
$ gfortran --version
GNU Fortran (GCC) 5.0.0 20150201 (experimental)
Copyright (C) 2015 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

$ gfortran z.f90
$ 

Thanks

Anton

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

* Re: 5.1 regression(?) format statement with '& !' character string
  2015-11-23 14:59 5.1 regression(?) format statement with '& !' character string Anton Shterenlikht
@ 2015-11-23 17:07 ` Steve Kargl
  2015-11-23 18:06 ` Jerry DeLisle
  1 sibling, 0 replies; 4+ messages in thread
From: Steve Kargl @ 2015-11-23 17:07 UTC (permalink / raw)
  To: Anton Shterenlikht; +Cc: fortran

On Mon, Nov 23, 2015 at 06:59:01AM -0800, Anton Shterenlikht wrote:
> The problem seems to be in 5.1.
> It doesn't occur in 5.0 or 6.0.
> 

It compiles with 5.3 (i.e., the 5-branch).
So, it has been fixed.

-- 
Steve

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

* Re: 5.1 regression(?) format statement with '& !' character string
  2015-11-23 14:59 5.1 regression(?) format statement with '& !' character string Anton Shterenlikht
  2015-11-23 17:07 ` Steve Kargl
@ 2015-11-23 18:06 ` Jerry DeLisle
  1 sibling, 0 replies; 4+ messages in thread
From: Jerry DeLisle @ 2015-11-23 18:06 UTC (permalink / raw)
  To: mexas, fortran

On 11/23/2015 06:59 AM, Anton Shterenlikht wrote:
> The problem seems to be in 5.1.
> It doesn't occur in 5.0 or 6.0.
> 

Yes, we could not get the fix committed before 5.1 went out, caught in between.

Thanks for asking.

Jerry

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

* Re: 5.1 regression(?) format statement with '& !' character string
@ 2015-11-23 17:54 Dominique d'Humières
  0 siblings, 0 replies; 4+ messages in thread
From: Dominique d'Humières @ 2015-11-23 17:54 UTC (permalink / raw)
  To: mexas; +Cc: Steve Kargl, fortran

> So, it has been fixed.

pr65903 fixed on trunk at r223248 and on the 5 branch at r223428.

Dominique

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

end of thread, other threads:[~2015-11-23 18:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-23 14:59 5.1 regression(?) format statement with '& !' character string Anton Shterenlikht
2015-11-23 17:07 ` Steve Kargl
2015-11-23 18:06 ` Jerry DeLisle
2015-11-23 17:54 Dominique d'Humières

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).