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++/13339] ICE with some template code


------- Additional Comments From reichelt at gcc dot gnu dot org  2003-12-08 00:50 -------
Here's a short testcase that shows the ICE:

============================================
template <typename T> struct A
{
    friend typename T::X foo() {}
};

A<char> a;
============================================

As Kriang already mentioned, this is not a regression - the code crashes
the compiler at least since gcc 2.95.x.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|i386-unknown-freebsd4.9     |
   GCC host triplet|i386-unknown-freebsd4.9     |
 GCC target triplet|i386-unknown-freebsd4.9     |
           Keywords|                            |monitored
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-08 00:50:47
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13339


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