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 d37ce76..046aea6 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 041b7f5..68244d6 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>