From 998f4f30ea96b8eba79af8c317b8a250a74cab0c Mon Sep 17 00:00:00 2001 From: Toma Tabacu Date: Wed, 14 Dec 2016 10:19:01 +0000 Subject: [PATCH] MIPS: Force assembly output for msa-builtins-err.c. gcc/testsuite * gcc.target/mips/msa-builtins-err.c (dg-options): Add -ffat-lto-objects option. From-SVN: r243639 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/mips/msa-builtins-err.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d37ce76f905..046aea62623 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-12-14 Toma Tabacu + + * gcc.target/mips/msa-builtins-err.c (dg-options): Add + -ffat-lto-objects option. + 2016-12-14 Prathamesh Kulkarni Jakub Jelinek diff --git a/gcc/testsuite/gcc.target/mips/msa-builtins-err.c b/gcc/testsuite/gcc.target/mips/msa-builtins-err.c index 041b7f5b5e2..68244d65302 100644 --- a/gcc/testsuite/gcc.target/mips/msa-builtins-err.c +++ b/gcc/testsuite/gcc.target/mips/msa-builtins-err.c @@ -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 -- 2.30.2