This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22172] [3.4/4.0/4.1 Regression] Internal compiler error, seg 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: 26 Sep 2005 08:10:05 -0000
- Subject: [Bug c++/22172] [3.4/4.0/4.1 Regression] Internal compiler error, seg fault.
- References: <20050624124148.22172.thomas.magyar@navy.mil>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-09-26 08:09 -------
I don't think that this is a proper fix, since the following IMHO valid
code snippet is rejected:
====================================================================
namespace N { template<int> struct A { operator int() const; }; }
template<typename> void foo()
{
+typename N::A<0>();
}
====================================================================
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22172