Re: [PATCH] avoid -Wnonnull for printf format in dead code (PR 87041)

2018-11-16 Thread Jeff Law
On 11/15/18 12:06 PM, Martin Sebor wrote: > On 11/15/2018 02:39 AM, Matthew Malcomson wrote: >> On 02/11/18 09:54, Christophe Lyon wrote: >>> Hi, >>> >>> I've noticed failure on targets using newlib (aarch64-elf and arm-eabi): >>> FAIL: gcc.c-torture/execute/printf-2.c >>> FAIL:

Re: [PATCH] avoid -Wnonnull for printf format in dead code (PR 87041)

2018-11-15 Thread Martin Sebor
On 11/15/2018 02:39 AM, Matthew Malcomson wrote: On 02/11/18 09:54, Christophe Lyon wrote: Hi, I've noticed failure on targets using newlib (aarch64-elf and arm-eabi): FAIL: gcc.c-torture/execute/printf-2.c FAIL: gcc.c-torture/execute/user-printf.c my gcc.log contains:

Re: [PATCH] avoid -Wnonnull for printf format in dead code (PR 87041)

2018-11-15 Thread Christophe Lyon
On Thu, 15 Nov 2018 at 10:39, Matthew Malcomson wrote: > > On 02/11/18 09:54, Christophe Lyon wrote: > > Hi, > > > > I've noticed failure on targets using newlib (aarch64-elf and arm-eabi): > > FAIL: gcc.c-torture/execute/printf-2.c > > FAIL: gcc.c-torture/execute/user-printf.c > > > > my gcc.log

Re: [PATCH] avoid -Wnonnull for printf format in dead code (PR 87041)

2018-11-15 Thread Matthew Malcomson
On 02/11/18 09:54, Christophe Lyon wrote: > Hi, > > I've noticed failure on targets using newlib (aarch64-elf and arm-eabi): > FAIL: gcc.c-torture/execute/printf-2.c > FAIL: gcc.c-torture/execute/user-printf.c > > my gcc.log contains: > gcc.c-torture/execute/user-printf.c -O0 execution test

Re: [PATCH] avoid -Wnonnull for printf format in dead code (PR 87041)

2018-11-02 Thread Christophe Lyon
On Tue, 30 Oct 2018 at 20:07, Jeff Law wrote: > > On 10/29/18 3:59 PM, Martin Sebor wrote: > > PR 87041 - -Wformat "reading through null pointer" on unreachable > > code is a complaint about -Wformat false positives due to null > > arguments to %s directives in unreachable printf calls. The

Re: [PATCH] avoid -Wnonnull for printf format in dead code (PR 87041)

2018-10-30 Thread Jeff Law
On 10/29/18 3:59 PM, Martin Sebor wrote: > PR 87041 - -Wformat "reading through null pointer" on unreachable > code is a complaint about -Wformat false positives due to null > arguments to %s directives in unreachable printf calls.  The warning > is issued by the front end, too early to know 

[PATCH] avoid -Wnonnull for printf format in dead code (PR 87041)

2018-10-29 Thread Martin Sebor
PR 87041 - -Wformat "reading through null pointer" on unreachable code is a complaint about -Wformat false positives due to null arguments to %s directives in unreachable printf calls. The warning is issued by the front end, too early to know whether or not the call is ever made. The