This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: where does gcc generate float param passing code before function call?
- From: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- To: "add" <addsub at eyou dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 06 Feb 2004 14:01:44 +0100
- Subject: Re: where does gcc generate float param passing code before function call?
- References: <276071953.25515@eyou.com>
"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