Patchwork [MIPS,committed] Add -ffat-lto-objects to pr54240.c

login
register
mail settings
Submitter Richard Sandiford
Date Jan. 19, 2014, 5:07 p.m.
Message ID <87txczlx2t.fsf@talisman.default>
Download mbox | patch
Permalink /patch/312383/
State New
Headers show

Comments

Richard Sandiford - Jan. 19, 2014, 5:07 p.m.
Add -ffat-lto-objects to pr54240.c to fix an UNRESOLVED on the scan-tree-dump.
Tested on mips64-linux-gnu and applied.

There's a similar failure for octeon2-pipe-1.c but I'm going to fix that
in a different way.

Thanks,
Richard


gcc/testsuite/
	* gcc.target/mips/pr54240.c: Add -ffat-lto-objects.

Patch

Index: gcc/testsuite/gcc.target/mips/pr54240.c
===================================================================
--- gcc/testsuite/gcc.target/mips/pr54240.c	2012-08-27 17:31:40.000000000 +0100
+++ gcc/testsuite/gcc.target/mips/pr54240.c	2014-01-19 10:22:21.167152052 +0000
@@ -1,5 +1,5 @@ 
 /* { dg-do compile } */
-/* { dg-options "-fdump-tree-phiopt-details isa>=4" } */
+/* { dg-options "-fdump-tree-phiopt-details -ffat-lto-objects isa>=4" } */
 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" "-O1" } { "" } } */
 
 typedef struct s {