This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Optimizer is putting result of a log into the wrong reg



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]