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: -mfmovd enabled by default for SH2A but not for SH4


Hi,

>> Although one can explicitly provide his own fpscr setting as 
>> Christian said and can use appropriate options, defaulting -mdalign
>. for TARGET_SH2A_DOUBLE might be more robust for users.

Yes, we completely agree that using the option "-mdalign" would solve
the "address error" problem in the present testcase. We had tried the
similar way to solve the problem. However, we observed that "-mdlaign"
option would not guarantee the stack variables to be 8 byte aligned.
Please refer the following link which explains the same.
http://gcc.gnu.org/ml/gcc/2008-02/msg00508.html

Regards,
Naveen.H.S.
KPIT Cummins Infosystems Ltd,
Pune (INDIA) 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~	
Free download of GNU based tool-chains for Renesas' SH, H8, R8C, M16C	
and M32C Series. The following site also offers free technical support	
to its users. Visit http://www.kpitgnutools.com for details. 	
Latest versions of KPIT GNU tools were released on February 4, 2008.	
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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