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

login
register
mail settings
Submitter Richard Sandiford
Date Jan. 24, 2013, 9:41 p.m.
Message ID <87ehhatg1r.fsf@talisman.default>
Download mbox | patch
Permalink /patch/215497/
State New
Headers show

Comments

Richard Sandiford - Jan. 24, 2013, 9:41 p.m.
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

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)