This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix for g++.old-deja/g++.mike/p10769a.C
- From: "Ben Elliston" <bje at au1 dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: 03 Nov 2004 16:08:07 +1100
- Subject: Fix for g++.old-deja/g++.mike/p10769a.C
Given that this test case contains dg-bogus directives, this test case
cannot be expected to compile. Therefore, it will never run. By
switching to `dg-do compile', we eliminate a warning from DejaGnu.
Is this a reasonable approach and, if so, okay for mainline?
Ben
2004-11-03 Ben Elliston <bje@au.ibm.com>
* g++.old-deja/g++.mike/p10769a.C: Only compile, don't run.
Index: p10769a.C
===================================================================
RCS file: /home/bje/gcc-cvs/gcc/gcc/testsuite/g++.old-deja/g++.mike/p10769a.C,v
retrieving revision 1.9
diff -u -p -u -r1.9 p10769a.C
--- p10769a.C 1 May 2003 02:02:45 -0000 1.9
+++ p10769a.C 3 Nov 2004 05:04:52 -0000
@@ -1,4 +1,4 @@
-// { dg-do run }
+// { dg-do compile }
// { dg-options "-Wno-pmf-conversions" }
// prms-id: 10769