diff mbox

[committed] g++.dg/cpp1y/auto-fn25.C: Require lto

Message ID BLU0-SMTP37BAE2D61700F1012D4FB997690@phx.gbl
State New
Headers show

Commit Message

John David Anglin April 6, 2014, 4:34 p.m. UTC
Changes fixes fail on hppa2.0w-hp-hpux11.11.

Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.

Committed to trunk.

Dave
--
John David Anglin	dave.anglin@bell.net
2014-04-06  John David Anglin  <danglin@gcc.gnu.org>

	PR testsuite/60672
	* g++.dg/cpp1y/auto-fn25.C: Require lto.
diff mbox

Patch

Index: g++.dg/cpp1y/auto-fn25.C
===================================================================
--- g++.dg/cpp1y/auto-fn25.C	(revision 209163)
+++ g++.dg/cpp1y/auto-fn25.C	(working copy)
@@ -1,6 +1,7 @@ 
 // PR c++/60574
+// { dg-do compile { target c++1y } }
+// { dg-require-effective-target lto }
 // { dg-options "-flto" }
-// { dg-do compile { target c++1y } }
 
 struct A
 {