This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25523] Compiler segmentation fault
- 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: 22 Dec 2005 03:37:14 -0000
- Subject: [Bug c++/25523] Compiler segmentation fault
- References: <bug-25523-11914@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from reichelt at gcc dot gnu dot org 2005-12-22 03:37 -------
Confirmed. Reduced testcase:
========================================
template<typename> struct A
{
struct X;
};
template<typename T> struct B : A<T>
{
friend struct X;
struct X {};
};
========================================
This causes a segfault with GCC 2.95.3 - GCC 3.3.6.
However, the bug is fixed since GCC 3.4.0.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |ice-on-valid-code
Resolution| |FIXED
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25523