public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite] Require lto support in g++.dg/torture/pr48954.C
@ 2011-06-14 13:59 Rainer Orth
  0 siblings, 0 replies; only message in thread
From: Rainer Orth @ 2011-06-14 13:59 UTC (permalink / raw)
  To: gcc-patches; +Cc: Jan Hubicka

The new g++.dg/torture/pr48954.C testcase FAILs on alpha-dec-osf5.1b:

FAIL: g++.dg/torture/pr48954.C  -O0  (test for excess errors)
Excess errors:
cc1plus: error: LTO support has not been enabled in this configuration

The following test fixes this, tested with the appropriate runtest
invocation, installed on mainline.

	Rainer


2011-06-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* g++.dg/torture/pr48954.C: Use dg-require-effective-target lto.

Index: gcc/testsuite/g++.dg/torture/pr48954.C
===================================================================
--- gcc/testsuite/g++.dg/torture/pr48954.C	(revision 175018)
+++ gcc/testsuite/g++.dg/torture/pr48954.C	(working copy)
@@ -1,5 +1,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -flto -fno-early-inlining -fkeep-inline-functions" } */
+/* { dg-require-effective-target lto } */
+
 struct A
 {
   virtual void foo () = 0;


-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-14 13:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-14 13:59 [testsuite] Require lto support in g++.dg/torture/pr48954.C Rainer Orth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).