promoting function arguments - GCC 4.1.1

Rohit Arul Raj rohitarulraj@gmail.com
Tue Jun 12 13:06:00 GMT 2007


Hi all,

I have added two new data types for GCC 4.1.1 (for private target).
They are fixed and accum.

Variants of fixed are,

short fixed (1 byte)
fixed (4 byte)
long fixed (8 byte).

While passing short fixed as a function argument, i want to promote it
to fixed type. I tried using PROMOTE_FUNCTION_MODE. But it is not
getting invoked.

Is there any other target hook used for doing this?

Regards,
Rohit



More information about the Gcc mailing list