This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25364] [4.0/4.1/4.2 Regression] ICE with function pointer as template parameter
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Dec 2005 08:38:21 -0000
- Subject: [Bug c++/25364] [4.0/4.1/4.2 Regression] ICE with function pointer as template parameter
- References: <bug-25364-11865@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from reichelt at gcc dot gnu dot org 2005-12-22 08:38 -------
Shorter testcase:
=====================================
struct A
{
static void foo();
};
template<void (*fp)()> struct B
{
B() { fp(); }
};
B<A::foo> b;
=====================================
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.0/4.1/4.2 Regression] |[4.0/4.1/4.2 Regression] ICE
|Internal compiler error in |with function pointer as
|templated C++ |template parameter
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25364