Another untested testcase

Andrew Pinski pinskia@physics.uc.edu
Tue Oct 12 01:20:00 GMT 2004


On Oct 11, 2004, at 12:58 PM, Mark Mitchell wrote:

>
> Andrew --
>
> You added g++.dg/eh/cleanup5.C, but it fails because it uses a VLA,
> which is not allowed in C++, with -pedantic, which is what DejaGNU
> uses by default.

Well I lost track of this testcase so I had to recreate it and I had 
forgot
about the -pedantic by default. I have many patches which are pending
which fix regressions (all have bug reports).

Fixed thusly:
2004-10-11  Andrew Pinski  <pinskia@physics.uc.edu>

         * g++.dg/eh/cleanup5.C: Add dg-options "".

Index: g++.dg/eh/cleanup5.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/eh/cleanup5.C,v
retrieving revision 1.1
diff -u -p -r1.1 cleanup5.C
--- g++.dg/eh/cleanup5.C	11 Oct 2004 03:16:47 -0000	1.1
+++ g++.dg/eh/cleanup5.C	11 Oct 2004 17:17:21 -0000
@@ -1,5 +1,6 @@
  // PR 17907
  // { dg-do compile }
+// { dg-options "" }
  // We lost a CLEANUP_POINT_EXPR, leading to a crash destroying temp of 
A.


Thanks,
Andrew Pinski



More information about the Gcc mailing list