This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: g++.dg/opt/ptrmem4.C failure
- From: Andrew Pinski <apinski at apple dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, weigand at i1 dot informatik dot uni-erlangen dot de (Ulrich Weigand)
- Date: Mon, 28 Jun 2004 12:19:34 -0700
- Subject: Re: g++.dg/opt/ptrmem4.C failure
- References: <200406281637.i5SGboU21700@tin.geop.uc.edu>
On Jun 28, 2004, at 9:37 AM, Andrew Pinski wrote:
Hello,
the test case ptrmem4.C you recently added always fails
the execution test, because it doesn't even contain a
main function.
Should this maybe have been made a compile-only test?
Yes this was just a typo in my part, I had copied the
dg-do line from another file and forgot to change it
to compile instead of run. I will fix it when I get
into work today.
Well it was after Steve Jobs's keynote but still got it fixed.
Thanks,
Andrew Pinski
2004-06-28 Andrew Pinski <apinski@apple.com>
* g++.dg/opt/ptrmem4.C: Change to compile only test.
Index: g++.dg/opt/ptrmem4.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/opt/ptrmem4.C,v
retrieving revision 1.1
diff -u -p -r1.1 ptrmem4.C
--- g++.dg/opt/ptrmem4.C 24 Jun 2004 06:51:56 -0000 1.1
+++ g++.dg/opt/ptrmem4.C 28 Jun 2004 19:19:20 -0000
@@ -1,4 +1,4 @@
-// { dg-do run }
+// { dg-do compile }
// { dg-options "-O3" }
struct X { void foo (); };