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  <r...@cebitec.uni-bielefeld.de>

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

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);
 
-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to