MIPS: Force assembly output for msa-builtins-err.c.
authorToma Tabacu <toma.tabacu@imgtec.com>
Wed, 14 Dec 2016 10:19:01 +0000 (10:19 +0000)
committerToma Tabacu <tomtab@gcc.gnu.org>
Wed, 14 Dec 2016 10:19:01 +0000 (10:19 +0000)
gcc/testsuite

* gcc.target/mips/msa-builtins-err.c (dg-options): Add
-ffat-lto-objects option.

From-SVN: r243639

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/mips/msa-builtins-err.c

index d37ce76f9059156a4dca1eec4ea77cb2c9d30f50..046aea62623c8ff1c84538e18e0a3f808fc90b82 100644 (file)
@@ -1,3 +1,8 @@
+2016-12-14  Toma Tabacu  <toma.tabacu@imgtec.com>
+
+       * gcc.target/mips/msa-builtins-err.c (dg-options): Add 
+       -ffat-lto-objects option.
+
 2016-12-14  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
            Jakub Jelinek  <jakub@redhat.com>
 
index 041b7f5b5e2ba8e62aeb1eeb9d00d28cfde3b17f..68244d6530295dfdc46e964eec75b3020a9d75bf 100644 (file)
@@ -1,6 +1,8 @@
 /* Test builtins for MIPS MSA ASE instructions */
 /* { dg-do compile } */
-/* { dg-options "-mfp64 -mhard-float -mmsa" } */
+/* { dg-options "-mfp64 -mhard-float -mmsa -ffat-lto-objects" } */
+/* Because this test only uses dg-error, we need to guarantee assembly
+   generation ourselves by using -ffat-lto-objects. */
 
 #include <msa.h>