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: why -mhitachi gives ICE for SH-coff toolchain [gcc 3.4]


On Wed, 2004-04-14 at 05:23, Nitin Yewale wrote:
> 	I was trying to add sh_promote_prototypes in FUNCTION_VALUE macro but not able to do so.

It should be fairly obvious if you take the time to understand what the
code does.  We have
    gen_rtx (promotion_test ? promoted_mode : original mode, return_reg)
sh_promote_prototypes needs to be part of promotion_test, since we
should use promoted_mode only if sh_promote_prototypes returns true.  So
it is just another && line added to the FUNCTION_VALUE macro.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


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