Re: [PATCH] rs6000: wrap const in an error message.

2022-03-22 Thread Segher Boessenkool
On Tue, Mar 22, 2022 at 01:50:09PM +0100, Martin Liška wrote: > Pushed as obvious. > - warning (0, "passing argument %d of %qE discards const qualifier > " > - "from pointer target type", n + 1, fndecl); > + warning (0, "passing argument %d of %qE discards % " >

Re: [PATCH] rs6000: wrap const in an error message.

2022-03-22 Thread Martin Liška
On 3/22/22 13:50, Martin Liška wrote: +warning (0, "passing argument %d of %qE discards %  " I've just installed version only with one space. Sorry for noise. Martin

[PATCH] rs6000: wrap const in an error message.

2022-03-22 Thread Martin Liška
Pushed as obvious. Martin PR target/104903 gcc/ChangeLog: * config/rs6000/rs6000-c.cc (altivec_resolve_overloaded_builtin): Wrap const keyword. --- gcc/config/rs6000/rs6000-c.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/rs6000/r