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:5:8: note: declared here > 5 | double sqrt (); /* { dg-bogus "declared here" } */ > | ^~~~ > > Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for > trunk?
OK. -- Joseph S. Myers jos...@codesourcery.com