This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/22147] [4.1 regression] ICE in get_bindings


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]