https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65568

--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Issue is related to -fms-extensions.  This option is for mingw targets on by
default.  By the following patch issue in testsuite gets solved (it makes sense
to apply this patch for such testcases, as here indeed -fno-ms-extensions is
tested).  
The point - as already noticed and spoken with Jason - that some C++-extensions
are buggy in C++-FE.

Index: ptrmem8.C
===================================================================
--- ptrmem8.C   (Revision 221690)
+++ ptrmem8.C   (Arbeitskopie)
@@ -1,5 +1,6 @@
 // PR c++/33844
 // { dg-do compile }
+// { dg-additional-options "-fno-ms-extensions" { target *-*-mingw* } }

 struct A {};

Reply via email to