[PATCH 4/4] remove %G and %K support from pretty printer and -Wformat (PR 98512)
Martin Sebor
msebor@gmail.com
Tue Jul 6 20:15:31 GMT 2021
On 6/30/21 5:38 PM, David Malcolm wrote:
> On Thu, 2021-06-10 at 17:30 -0600, Martin Sebor wrote:
>> This final diff removes the handlers for %G and %K from the pretty
>> printer and the support for the directives from c-format.c so that
>> using them will be diagnosed.
>
> I think this is OK once the other patches in the kit are approved.
>
> Presumably if a new GCC tries to compile an older GCC that uses these
> codes, we'll get warnings about them, but IIRC those are ignored in the
> 1st stage of the bootstrap, right?
Yes, I believe so. Sorry for the delay in responding, or if
I already answered the question. I'm not sure which.
I have committed this in r12-2089.
Thanks
Martin
More information about the Gcc-patches
mailing list