Fix def_test_returning_type in iamcu/test_basic_returning.c
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 16 Oct 2015 20:03:17 +0000 (20:03 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 16 Oct 2015 20:03:17 +0000 (13:03 -0700)
commit104cbaf5306c735ccc9f193f2b6a4e93df8a3165
treee8d89e522e4e29b4a4f0a47d72c673594ba39862
parente11c44072864533510db7d39eeab9ac7831654b5
Fix def_test_returning_type in iamcu/test_basic_returning.c

Use union to check float return bits to avoid converting from integer
to float when comparing float return value.

* gcc.target/i386/iamcu/test_basic_returning.c
(def_test_returning_type): Use union to check float return bits.

From-SVN: r228924
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/iamcu/test_basic_returning.c