Re: [PATCH] testsuite: fix pr115929-1.c with -Wformat-security

2024-08-07 Thread Sam James
Richard Sandiford writes: > Xi Ruoyao writes: >> On Sat, 2024-07-20 at 06:52 +0100, Sam James wrote: >>> Some distributions like Gentoo make -Wformat and -Wformat-security >>> enabled by default. Pass -Wno-format to the test to avoid a spurious >>> fail in such environments. >>> >>> gcc/testsui

Re: [PATCH] testsuite: fix pr115929-1.c with -Wformat-security

2024-07-21 Thread Sam James
Richard Sandiford writes: > Xi Ruoyao writes: >> On Sat, 2024-07-20 at 06:52 +0100, Sam James wrote: >>> Some distributions like Gentoo make -Wformat and -Wformat-security >>> enabled by default. Pass -Wno-format to the test to avoid a spurious >>> fail in such environments. >>> >>> gcc/testsui

Re: [PATCH] testsuite: fix pr115929-1.c with -Wformat-security

2024-07-21 Thread Richard Sandiford
Xi Ruoyao writes: > On Sat, 2024-07-20 at 06:52 +0100, Sam James wrote: >> Some distributions like Gentoo make -Wformat and -Wformat-security >> enabled by default. Pass -Wno-format to the test to avoid a spurious >> fail in such environments. >> >> gcc/testsuite/ >> PR rtl-optimization/1159

Re: [PATCH] testsuite: fix pr115929-1.c with -Wformat-security

2024-07-20 Thread Xi Ruoyao
On Sat, 2024-07-20 at 07:16 +0100, Sam James wrote: > Xi Ruoyao writes: > > > On Sat, 2024-07-20 at 06:52 +0100, Sam James wrote: > > > Some distributions like Gentoo make -Wformat and -Wformat-security > > > enabled by default. Pass -Wno-format to the test to avoid a spurious > > > fail in such

Re: [PATCH] testsuite: fix pr115929-1.c with -Wformat-security

2024-07-19 Thread Sam James
Xi Ruoyao writes: > On Sat, 2024-07-20 at 06:52 +0100, Sam James wrote: >> Some distributions like Gentoo make -Wformat and -Wformat-security >> enabled by default. Pass -Wno-format to the test to avoid a spurious >> fail in such environments. >> >> gcc/testsuite/ >> PR rtl-optimization/115

Re: [PATCH] testsuite: fix pr115929-1.c with -Wformat-security

2024-07-19 Thread Xi Ruoyao
On Sat, 2024-07-20 at 06:52 +0100, Sam James wrote: > Some distributions like Gentoo make -Wformat and -Wformat-security > enabled by default. Pass -Wno-format to the test to avoid a spurious > fail in such environments. > > gcc/testsuite/ > PR rtl-optimization/115929 > * gcc.dg/tortur

[PATCH] testsuite: fix pr115929-1.c with -Wformat-security

2024-07-19 Thread Sam James
Some distributions like Gentoo make -Wformat and -Wformat-security enabled by default. Pass -Wno-format to the test to avoid a spurious fail in such environments. gcc/testsuite/ PR rtl-optimization/115929 * gcc.dg/torture/pr115929-1.c: Pass -Wno-format. --- Richard, is this OK? I c