https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108310

--- Comment #5 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #4)
> void f(float);
> 
> void g()
> {
>   f(1.0);
> }
> 
> conv.c: In function ‘g’:
> conv.c:5:5: warning: passing argument 1 of ‘f’ as ‘float’ rather than
> ‘double’ due to prototype
>     5 |   f(1.0);
>       |     ^~~

Thanks, which testsuite subdirectory would this go in?
  • [Bug c/108310] Some warnings tha... egallager at gcc dot gnu.org via Gcc-bugs

Reply via email to