Re: [C PATCH] Fix -Wbuiltin-declaration-mismatch (PR c/89525)

2019-02-27 Thread Joseph Myers
On Wed, 27 Feb 2019, Jakub Jelinek wrote: > Hi! > > As the following testcase shows, with -w we don't emit > -Wbuiltin-declaration-mismatch warnings (correct), but emit weird messages: > ~/src/gcc/obj46/gcc/xgcc -B ~/src/gcc/obj46/gcc/ -w pr89525.c -S > pr89525.c: In function ‘foo’: > pr89525.c:

[C PATCH] Fix -Wbuiltin-declaration-mismatch (PR c/89525)

2019-02-27 Thread Jakub Jelinek
Hi! As the following testcase shows, with -w we don't emit -Wbuiltin-declaration-mismatch warnings (correct), but emit weird messages: ~/src/gcc/obj46/gcc/xgcc -B ~/src/gcc/obj46/gcc/ -w pr89525.c -S pr89525.c: In function ‘foo’: pr89525.c:5:8: note: declared here 5 | double sqrt (); /* { dg-