Patchwork [COMMITTED] Additional.. disable inappropriate LTO testcases in the presence of --disable-lto

login
register
mail settings
Submitter Marcus Shawcroft
Date Sept. 22, 2010, 10:29 a.m.
Message ID <000401cb5a41$03664840$0a32d8c0$@shawcroft@arm.com>
Download mbox | patch
Permalink /patch/65417/
State New
Headers show

Comments

Marcus Shawcroft - Sept. 22, 2010, 10:29 a.m.
Hi, My previous commit on this issue missed one test case. As before a typo
in dg-require-effective-lto caused the precondition to be ignored. Committed
using the obvious rule.


2010-09-22  Marcus Shawcroft  <marcus.shawcroft@arm.com>

	* gcc.dg/pr28706.c: Typo fix to dg-require-effective-target lto.

Patch

diff --git a/gcc/testsuite/gcc.dg/pr28706.c b/gcc/testsuite/gcc.dg/pr28706.c
index 9d6f1eb..1ecb8b2 100644
--- a/gcc/testsuite/gcc.dg/pr28706.c
+++ b/gcc/testsuite/gcc.dg/pr28706.c
@@ -1,6 +1,6 @@ 
 /* PR c/28706 */
 /* { dg-do link } */
-/* { dg-require-effective-target-lto } */
+/* { dg-require-effective-target lto } */
 /* { dg-options "-flto -r -nostdlib" } */
 /* { dg-additional-sources "pr28706.c" } */