Re: [trans-mem] Avoid ICE with transaction expressions vs constant expressions.

2011-11-04 Thread Richard Henderson
On 11/04/2011 05:54 PM, Paolo Carlini wrote: > ... isn't translated correctly. Maybe better wrapping the strings in G_(). Ah, right. Fixed here, and the place I copied it from. r~ diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 7a7cfe8..b6ac918 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/par

Re: [trans-mem] Avoid ICE with transaction expressions vs constant expressions.

2011-11-04 Thread Paolo Carlini
Hi, There we actually two ICEs here -- one with -fgnu-tm that Torvald pointed me at, and one without -fgnu-tm that I of course stumbled upon while fumble-fingering the command-line to test the thing. Committed to branch. I believe that this: +error (keyword == RID_TRANSACTION_RELAXED +

[trans-mem] Avoid ICE with transaction expressions vs constant expressions.

2011-11-04 Thread Richard Henderson
There we actually two ICEs here -- one with -fgnu-tm that Torvald pointed me at, and one without -fgnu-tm that I of course stumbled upon while fumble-fingering the command-line to test the thing. Committed to branch. r~ * cp/parser.c (enum non_integral_constant): Add NIC_TRANSACTION