Re: [PATCH] Fix -Wformat-diag for ARM target.

2022-01-13 Thread Martin Liška
On 1/13/22 16:37, Richard Earnshaw wrote:  "range [0-%d] enabled with %<+cdecp%>" Great, this works. So I'm going to push the commit. Martin The other changes look OK.

Re: [PATCH] Fix -Wformat-diag for ARM target.

2022-01-13 Thread Jakub Jelinek via Gcc-patches
On Thu, Jan 13, 2022 at 03:37:31PM +, Richard Earnshaw via Gcc-patches wrote: > I'm not sure about this hunk. It changes a literal '<'...'>' into quotes. > The text is trying to say you substitute with a digit in the range > shown. Closer would be: > > "range [0-%d] enabled with %<+cd

Re: [PATCH] Fix -Wformat-diag for ARM target.

2022-01-13 Thread Richard Earnshaw via Gcc-patches
On 12/01/2022 12:59, Martin Liška wrote: Hello. We've got -Wformat-diag for some time and I think we should start using it in -Werror for GCC bootstrap. The following patch removes last pieces of the warning for ARM target. > diff --git a/gcc/config/arm/arm-builtins.c b/gcc/config/arm