[Bug c++/12932] [3.4 regression] ICE with use of ptr-to-function as template arg
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 6 22:56:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list