Test for PR17902

Andrew Pinski pinskia@physics.uc.edu
Sun Oct 10 09:57:00 GMT 2004


On Oct 9, 2004, at 1:36 PM, Mark Mitchell wrote:

>
> Andrew --
>
> You need to test your patches more carefully.


Woops a simple typo when I was double checking the testcase.

Fixed thusly:


ChangeLog:
	* g++.dg/opt/pr17902.C: Fix typo in dg-do.

Patch:
Index: g++.dg/opt/pr17902.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/opt/pr17902.C,v
retrieving revision 1.1
diff -u -p -r1.1 pr17902.C
--- g++.dg/opt/pr17902.C	8 Oct 2004 23:29:35 -0000	1.1
+++ g++.dg/opt/pr17902.C	9 Oct 2004 17:54:03 -0000
@@ -1,5 +1,5 @@
  /* { dg-options "-O3" } */
-/* { dg-do compiler } */
+/* { dg-do compile } */

  void foo();
  struct A { ~A(){ foo(); } };



More information about the Gcc mailing list