var_args for rs6000 backend

Yao qi qiyaobit@hotmail.com
Fri Sep 9 10:57:00 GMT 2005


>
>Yes.  TARGET_HARD_FLOAT is defined as
>
>#define TARGET_HARD_FLOAT ((target_flags & MASK_SOFT_FLOAT) == 0)
>
>The -mhard-float option will clear the MASK_SOFT_FLOAT bit in
>target_flags.
>

Yes, this option works when I use it in GDB like this,
(gdb) run -mhard-float 
../../gcc-dfp-cvs-Aung-10/gcc/testsuite/gcc.dg/dfp/qiyao/varargs-1.expand -o 
vararg-1.exe
and TARGET_HARD_FLOAT becomes *TRUE*.  Thanks.

>The default setting of the MASK_SOFT_FLOAT bit in target_flags depends
>upon the default processor.
>
>
>The condition is not always false.  The value depends on exactly how
>you have configured the compiler and exactly what options you pass.
>
>Ian


Best Regards
----------------
Yao Qi
Bejing Institute of Technology

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



More information about the Gcc mailing list