From: "Manuel López-Ibáñez" <lopezibanez@gmail.com>
To: Tobias Burnus <tobias.burnus@physik.fu-berlin.de>,
gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org,
Joseph Myers <joseph@codesourcery.com>,
Jakub Jelinek <jakub@redhat.com>
Subject: Re: [Patch, Fortran] PR68815 - replace '%s' quotes by %< ... %>
Date: Thu, 10 Dec 2015 22:05:00 -0000 [thread overview]
Message-ID: <5669F722.6000902@gmail.com> (raw)
In-Reply-To: <20151209155337.GA6991@physik.fu-berlin.de>
On 12/09/2015 03:53 PM, Tobias Burnus wrote:
> In principle, %<%c%> and %<%d%> should be convertable to %qc and
> %qd (as the code is more readable), but the current function
> annotation prevent this, telling that the q flag is not valid for
> %c and %d. As %< is fine, I didn't dig into it.
You need to edit the gcc_gfc_* variables in c-family/c-format.c. The correct
way to do that does not seem to be documented anywhere. I only got the current
support working after painful trial and error.
Joseph, Jakub, could you advise the Fortran devs on how to edit c-format.c to
handle %qc and %qd as the C/C++ FEs do?
Thanks,
Manuel
next prev parent reply other threads:[~2015-12-10 22:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-09 15:53 Tobias Burnus
2015-12-09 18:16 ` Steve Kargl
2015-12-10 22:05 ` Manuel López-Ibáñez [this message]
2015-12-11 0:03 ` Joseph Myers
2015-12-11 10:00 ` Tobias Burnus
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=5669F722.6000902@gmail.com \
--to=lopezibanez@gmail.com \
--cc=fortran@gcc.gnu.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=jakub@redhat.com \
--cc=joseph@codesourcery.com \
--cc=tobias.burnus@physik.fu-berlin.de \
/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).