diff mbox

[testsuite] Require LTO support in gcc.dg/ipa/pr48195.c

Message ID ydd7harr5uf.fsf@manam.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth April 18, 2011, 2:28 p.m. UTC
The new gcc.dg/ipa/pr48195.c testcase fails on Tru64 UNIX:

FAIL: gcc.dg/ipa/pr48195.c (test for excess errors)
Excess errors:
cc1: error: LTO support has not been enabled in this configuration

Fixed as follows.  Tested with the appropriate runtest invocation,
installed on mainline.

	Rainer


2011-04-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* gcc.dg/ipa/pr48195.c: Add dg-require-effective-target lto.
diff mbox

Patch

Index: gcc/testsuite/gcc.dg/ipa/pr48195.c
===================================================================
--- gcc/testsuite/gcc.dg/ipa/pr48195.c	(revision 172648)
+++ gcc/testsuite/gcc.dg/ipa/pr48195.c	(working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do link } */
 /* { dg-options "-O2 -flto --param partial-inlining-entry-probability=101" } */
+/* { dg-require-effective-target lto } */
 
 extern void abort(void);