Razya Ladelsky <[EMAIL PROTECTED]> writes: > It does not fail for power and I'm trying to figure out why it fails for > x86 architecture. > It appears that the type of the constant being passed to a function having > a short parameter, is an int while I expected it to be short. > > call to g : g (a, 3); > definition of g : int g (float b, short c) > > I am not sure which part of the compiler is responsible to have the the > types matched, but I think they should at this point.
Sounds like TARGET_PROMOTE_PROTOTYPES. Ian