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

Submitted by Marcus Shawcroft on Sept. 22, 2010, 10:29 a.m.

Details

Message ID 000401cb5a41$03664840$0a32d8c0$@shawcroft@arm.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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" } */