diff mbox

[committed] Require -ffat-lto-objects for octeon-pipe-1.c

Message ID 87ehhatg1r.fsf@talisman.default
State New
Headers show

Commit Message

Richard Sandiford Jan. 24, 2013, 9:41 p.m. UTC
octeon-pipe-1.c is a sched2 test, so make sure we generate some code.

Tested on mips64el-linux-gnu and applied.  This fixes the UNRESOLVEDs
in the test_summary output.

Richard


gcc/testsuite/
	* gcc.target/mips/octeon-pipe-1.c: Add -ffat-lto-objects
diff mbox

Patch

Index: gcc/testsuite/gcc.target/mips/octeon-pipe-1.c
===================================================================
--- gcc/testsuite/gcc.target/mips/octeon-pipe-1.c	2012-08-27 17:27:13.000000000 +0100
+++ gcc/testsuite/gcc.target/mips/octeon-pipe-1.c	2013-01-24 21:21:54.023502714 +0000
@@ -1,6 +1,6 @@ 
 /* Check that we use the octeon pipeline description.  */
 /* { dg-do compile } */
-/* { dg-options "-march=octeon -fschedule-insns2 -fdump-rtl-sched2" } */
+/* { dg-options "-march=octeon -fschedule-insns2 -fdump-rtl-sched2 -ffat-lto-objects" } */
 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
 
 NOMIPS16 int f (int a, int b)