[Bug c++/22147] [4.1 regression] ICE in get_bindings
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jun 22 21:42:00 GMT 2005
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-06-22 21:41 -------
Confirmed. Reduced testcase:
================================================
template<typename> struct A;
template<typename T> void foo(A<T>* p) { *p; }
template<typename> struct A
{
friend void foo<class X>(A<X>*);
};
void bar()
{
foo<int>(0);
}
================================================
Crashes mainline since at least 2005-05-25.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code, monitored
Last reconfirmed|0000-00-00 00:00:00 |2005-06-22 21:41:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22147
More information about the Gcc-bugs
mailing list