var_args for rs6000 backend
David Edelsohn
dje@watson.ibm.com
Fri Sep 9 14:36:00 GMT 2005
>>>>> Yao qi writes:
>> 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.
Yao> Yes, this option works when I use it in GDB like this,
Yao> (gdb) run -mhard-float
Yao> ../../gcc-dfp-cvs-Aung-10/gcc/testsuite/gcc.dg/dfp/qiyao/varargs-1.expand -o
Yao> vararg-1.exe
Yao> and TARGET_HARD_FLOAT becomes *TRUE*. Thanks.
This implies that you are developing and testing GCC with it
configured incorrectly, unless you really want to test the behavior of DFP
on GCC with no hardware (binary) floating point enabled.
David
More information about the Gcc
mailing list