This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Optimizer is putting result of a log into the wrong reg
- To: Stephen L Moshier <moshier at mediaone dot net>
- Subject: Re: Optimizer is putting result of a log into the wrong reg
- From: Bernd Schmidt <bernds at cygnus dot co dot uk>
- Date: Thu, 23 Sep 1999 13:53:55 +0100 (BST)
- cc: Singh <singhki at jany dot gs dot com>, egcs-bugs at egcs dot cygnus dot com
> Your example is invalid. FuncC was declared with various arguments
> of type double, but you are passing integers to it.
Eh? I just looked at the C standard, and as far as I can tell it says that
as long as you declare the function with a protoype (as in the example) the
arguments will be automatically converted.
Bernd