This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: why -mhitachi gives ICE for SH-coff toolchain [gcc 3.4]
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Nitin Yewale <NitinY at KPITCummins dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 14 Apr 2004 13:27:58 -0700
- Subject: RE: why -mhitachi gives ICE for SH-coff toolchain [gcc 3.4]
- References: <69595093233BB547BB70CF5E492B63F205019D36@sohm.kpit.com>
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