[Bug c++/55542] g++ segmentation fault

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 30 08:36:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55542

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-11-30
                 CC|                            |jakub at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-11-30 08:36:24 UTC ---
Reduced testcase:
template <typename ... P>
struct B
{
  template <typename O>
  B (O *o, void (O::*f) (P ... p)) {}
};
class C
{
  void foo (void *, int);
  template <typename ... A>
  void bar (A ... a);
  B <void *> c;
  B <void *, int> d;
  C (int) : c (this, &C::bar), d (this, &C::foo) {}
};
template <typename ... A>
void C::bar (A ...)
{
}



More information about the Gcc-bugs mailing list