This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13339] ICE with some template code
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2003 00:50:48 -0000
- Subject: [Bug c++/13339] ICE with some template code
- References: <20031207005742.13339.v.haisman@sh.cvut.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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