where does gcc generate float param passing code before function call?

Falk Hueffner falk.hueffner@student.uni-tuebingen.de
Fri Feb 6 13:01:00 GMT 2004


"add" <addsub@eyou.com> writes:

> -----   begin
> void main()
> {
>         float i=1.0;
>         foo(i);
> }
> void foo( float i )
> {
>         return i;
> }
> -----  end

This code is invalid, since foo has no prototype and doesn't match the
implicit declaration.

-- 
	Falk



More information about the Gcc-help mailing list