From 09eeac26667fdf5fd404d24b4b345273fcd4037d Mon Sep 17 00:00:00 2001
From: Jakub Jelinek <jakub@redhat.com>
Date: Mon, 21 Feb 2011 16:53:49 +0100
Subject: [PATCH] re PR debug/47106 (-fcompare-debug failure (length) with 
 -fpartial-inlining -flto -fconserve-stack)

	PR debug/47106
	* g++.dg/debug/pr47106.C: Require effective target lto.

From-SVN: r170366
---
 gcc/testsuite/ChangeLog              | 5 +++++
 gcc/testsuite/g++.dg/debug/pr47106.C | 1 +
 2 files changed, 6 insertions(+)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 3c989f802f99..bdd58a6421d6 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-21  Jakub Jelinek  <jakub@redhat.com>
+
+	PR debug/47106
+	* g++.dg/debug/pr47106.C: Require effective target lto.
+
 2011-02-21  Jason Merrill  <jason@redhat.com>
 
 	* g++.dg/cpp0x/constexpr-diag2.C: New.
diff --git a/gcc/testsuite/g++.dg/debug/pr47106.C b/gcc/testsuite/g++.dg/debug/pr47106.C
index 079f424536a5..3a8100f8c2c6 100644
--- a/gcc/testsuite/g++.dg/debug/pr47106.C
+++ b/gcc/testsuite/g++.dg/debug/pr47106.C
@@ -1,5 +1,6 @@
 // { dg-do compile }
 // { dg-options "-O -fpartial-inlining -flto -fconserve-stack -fcompare-debug" }
+// { dg-require-effective-target lto }
 
 void end (int, int) __attribute__ ((__noreturn__));
 
-- 
GitLab