This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12932] [3.4 regression] ICE with use of ptr-to-function as template arg
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Nov 2003 22:56:53 -0000
- Subject: [Bug c++/12932] [3.4 regression] ICE with use of ptr-to-function as template arg
- References: <20031106224243.12932.cxl@ntllib.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12932
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2003-11-06 22:56:52
date| |
Summary|segfault compiling tempalte|[3.4 regression] ICE with
|instantiation |use of ptr-to-function as
| |template arg
Target Milestone|--- |3.4
------- Additional Comments From bangerth at dealii dot org 2003-11-06 22:56 -------
Confirmed. Here's something smaller:
---------------------
struct Test {
static void fun();
};
template <void (*fun)()>
void foo () { (*fun)(); }
template
void foo<Test::fun> ();
-------------------------------
This is a regression on mainline w.r.t. all previous versions.
W.