This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] OpenACC fortran front end
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Cesar Philippidis <cesar at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, <fortran at gcc dot gnu dot org>, Ilmir Usmanov <i dot usmanov at samsung dot com>, Tobias Burnus <burnus at net-b dot de>
- Date: Fri, 14 Nov 2014 18:13:17 +0000
- Subject: Re: [patch] OpenACC fortran front end
- Authentication-results: sourceware.org; auth=none
- References: <545BF570 dot 8070508 at codesourcery dot com> <20141113164320 dot GW5026 at tucnak dot redhat dot com> <54655E88 dot 2010502 at codesourcery dot com> <20141114065252 dot GD5026 at tucnak dot redhat dot com>
On Fri, 14 Nov 2014, Jakub Jelinek wrote:
> You want
> gfc_error (is_oacc (p)
> ? "%s statement at %C leaving OpenACC structured block"
> : "%s statement at %C leaving OpenMP structured block",
> gfc_ascii_statement (st));
> instead to be more translation friendly.
Does gettext now extract both halves of a conditional expression? At
least at one point it was necessary to use an if statement, or mark up
both strings with G_() to get them extracted.
--
Joseph S. Myers
joseph@codesourcery.com