aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Suchanek <robert.suchanek@imgtec.com>2015-02-04 10:47:29 +0000
committerRobert Suchanek <rts@gcc.gnu.org>2015-02-04 10:47:29 +0000
commitfc2dd6b5111207530f2be753203b5951c0327ee4 (patch)
treeccc10796b841f8b9439177a4ec990ba9f0c859f6
parentff9eac296535655185dfe0de26d14376cd258dfe (diff)
downloadgcc-fc2dd6b5111207530f2be753203b5951c0327ee4.zip
gcc-fc2dd6b5111207530f2be753203b5951c0327ee4.tar.gz
gcc-fc2dd6b5111207530f2be753203b5951c0327ee4.tar.bz2
loongson-simd.c: Update comment to clarify the need for mips_nanlegacy target.
2015-02-04 Robert Suchanek <robert.suchanek@imgtec.com> * gcc.target/mips/loongson-simd.c: Update comment to clarify the need for mips_nanlegacy target. From-SVN: r220393
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/mips/loongson-simd.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ac316fd..0918409 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-04 Robert Suchanek <robert.suchanek@imgtec.com>
+
+ * gcc.target/mips/loongson-simd.c: Update comment to clarify the need
+ for mips_nanlegacy target.
+
2015-02-04 Ilya Enkovich <ilya.enkovich@intel.com>
* gcc.target/i386/chkp-hidden-def.c: New.
diff --git a/gcc/testsuite/gcc.target/mips/loongson-simd.c b/gcc/testsuite/gcc.target/mips/loongson-simd.c
index 949632e..3d72e93 100644
--- a/gcc/testsuite/gcc.target/mips/loongson-simd.c
+++ b/gcc/testsuite/gcc.target/mips/loongson-simd.c
@@ -21,7 +21,10 @@ along with GCC; see the file COPYING3. If not see
/* { dg-do run } */
/* loongson.h does not handle or check for MIPS16ness or
microMIPSness. There doesn't seem any good reason for it to, given
- that the Loongson processors do not support either. */
+ that the Loongson processors do not support either. The effective target
+ mips_nanlegacy is required for a toolchain without the legacy NaN support
+ because inclusion of some system headers e.g. stdint.h will fail due to not
+ finding stubs-o32_hard.h. */
/* { dg-require-effective-target mips_nanlegacy } */
/* { dg-options "isa=loongson -mhard-float -mno-micromips -mno-mips16 -flax-vector-conversions" } */