[Bug c++/89011] member function pointer template argument with initialization by constant generates ICE

2019-02-10 Thread ahangauer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89011 --- Comment #3 from Andreas Hangauer --- Unfortunately this is the most recent version of gcc which is available in the mingw-w64 / msys2 toolchain. I am only able to try with an *older* gcc: However version 5.1.0 yields the same. Sorry if this i

[Bug c++/89011] member function pointer template argument with initialization by constant generates ICE

2019-01-23 Thread ahangauer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89011 --- Comment #1 from Andreas Hangauer --- I just found out that using nullptr it *does* work. So it is the initialization by integer zero that does not work. #include template struct test { int v; }; struct dummy { bool fcn(

[Bug c++/89011] New: member function pointer template argument with initialization by constant generates ICE

2019-01-23 Thread ahangauer at gmx dot net
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ahangauer at gmx dot net Target Milestone: --- The following code template struct test { int v; }; struct dummy { bool fcn(int); }; using TT

[Bug c++/24260] New: stdcall attribute is ignored at static member template functions

2005-10-07 Thread ahangauer at gmx dot net
ed at static member template functions Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: critical Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ahangauer at