gcc.dg/ipa/ipa-5.c
Ian Lance Taylor
ian@airs.com
Mon Oct 24 04:52:00 GMT 2005
Razya Ladelsky <RAZYA@il.ibm.com> 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
More information about the Gcc
mailing list