Hi,
On 10/03/2014 07:13 PM, Andi Kleen wrote:
On Fri, Oct 03, 2014 at 07:10:05PM +0200, Paolo Carlini wrote:
Hi,
On 10/03/2014 04:08 PM, Andi Kleen wrote:
+ if (check_no_cilk (destination,
+ "Cilk array notation cannot be used as a computed goto expression",
+ "%<_Cilk_spawn%> statement cannot be used as a computed goto
expression"))
+ destination = error_mark_node;
Are you sure this kind of error messages will be automatically
translated without helping the machinery by wrapping the string
literals in G_() ?
I have no idea, but there are lots of error_at() all over while
don't use _. So I just follow precedence.
The problem is, you are *not* calling error_at directly, you are using
check_no_cilk and passing pointers. In fact, I think you actually do
need G_, as in many other places of the front-end. If unsure, double check:
https://gcc.gnu.org/translation.html
Paolo.