Re: [PATCH] Move error_operand_p one level up

2011-06-10 Thread Paolo Carlini
On 06/10/2011 12:14 PM, Richard Guenther wrote: On Fri, Jun 10, 2011 at 11:58 AM, Paolo Carlini wrote: Hi, yesterday I noticed that, as I vaguely suspected for quite some time, error_operand_p can be useful also outside the c++ front-end. The below, which I bootstrapped c, c++, go, on x86_64-

Re: [PATCH] Move error_operand_p one level up

2011-06-10 Thread Richard Guenther
On Fri, Jun 10, 2011 at 11:58 AM, Paolo Carlini wrote: > Hi, > > yesterday I noticed that, as I vaguely suspected for quite some time, > error_operand_p can be useful also outside the c++ front-end. The below, > which I bootstrapped c, c++, go, on x86_64-linux (and I'm finishing testing) > tries t

[PATCH] Move error_operand_p one level up

2011-06-10 Thread Paolo Carlini
Hi, yesterday I noticed that, as I vaguely suspected for quite some time, error_operand_p can be useful also outside the c++ front-end. The below, which I bootstrapped c, c++, go, on x86_64-linux (and I'm finishing testing) tries to do that, moving the macro one level up and using it in all t