Optimizer is putting result of a log into the wrong reg

Bernd Schmidt bernds@cygnus.co.uk
Thu Sep 23 05:55:00 GMT 1999


> 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



More information about the Gcc-bugs mailing list