This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: gcc.dg/ipa/ipa-5.c


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


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