[Bug c++/38228] ICE when abusing std::function

2008-11-23 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-11-23 18:25 --- Reduced testcase: namespace std { template class function; template struct function<_Res(_ArgTypes...)> { template function(_Functor __f); }; } struct foo { void bar(); }; foo f; void (foo::*a)()=&f

[Bug c++/38228] ICE when abusing std::function

2008-11-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-11-23 16:49 --- Reducing ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Known to fail|