From: "Dominique d'Humières" <dominiq@lps.ens.fr>
To: Paul Richard Thomas <paul.richard.thomas@gmail.com>
Cc: Steve Kargl <sgk@troutmask.apl.washington.edu>,
"fortran@gcc.gnu.org" <fortran@gcc.gnu.org>,
Damian Rouson <damian@sourceryinstitute.org>,
Louis Krupp <louis.krupp@zoho.com>
Subject: Re: [Patch, fortran] Bug 68241 - [meta-bug] Deferred-length character - PRs50221, 68216 and 67674
Date: Fri, 13 Nov 2015 15:32:00 -0000 [thread overview]
Message-ID: <082CDB52-8722-456A-AF6F-BA44357ACAD3@lps.ens.fr> (raw)
In-Reply-To: <48B16E7C-A51B-4A08-BB6E-11D95F4E174E@lps.ens.fr>
do i = 1, size(strings, 1)
print *, "'",strings(i),"'"
end do
gives
'A '
'C '
'ABCD'
'V ‘
print *, (strings(i), i= 1, size(strings, 1))
gives
"A C ABCDV " (double quotes added)
Both outputs seem correct, but
print *, strings
gives
" A CDV ? »
and
print '(a)', strings
gives
A
CDV
?
i.e., four lines, the three last ones being wrong.
Dominique
> Le 13 nov. 2015 à 15:16, Dominique d'Humières <dominiq@lps.ens.fr> a écrit :
>
> deferred_character_4_db.f90
prev parent reply other threads:[~2015-11-13 15:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 13:38 Paul Richard Thomas
2015-11-09 14:46 ` Steve Kargl
2015-11-10 9:48 ` Paul Richard Thomas
2015-11-10 15:39 ` Dominique d'Humières
2015-11-12 13:14 ` Paul Richard Thomas
2015-11-12 18:56 ` Dominique d'Humières
2015-11-13 14:16 ` Dominique d'Humières
2015-11-13 15:32 ` Dominique d'Humières [this message]
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=082CDB52-8722-456A-AF6F-BA44357ACAD3@lps.ens.fr \
--to=dominiq@lps.ens.fr \
--cc=damian@sourceryinstitute.org \
--cc=fortran@gcc.gnu.org \
--cc=louis.krupp@zoho.com \
--cc=paul.richard.thomas@gmail.com \
--cc=sgk@troutmask.apl.washington.edu \
/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).