This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g++.dg/opt/ptrmem4.C failure

On Jun 28, 2004, at 9:37 AM, Andrew Pinski wrote:


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.

Andrew Pinski

2004-06-28 Andrew Pinski <>

* 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 (); };

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]