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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2005 13:30:51 -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 pinskia at gcc dot gnu dot org 2005-06-24 13:30 -------
Confirmed, here is a reduced testcase:
template<class a>
struct cla
{
template<typename b>
struct clb {};
};
namespace nasa { template<class a> struct clc {}; }
template<class a>
void doGetProperty(void)
{
cla<a>::clb<typename nasa::clc<a> *> *prop;
}
--- ICE ---
pr22172.cc:12: internal compiler error: tree check: expected class 'type', have 'declaration'
(namespace_decl) in dependent_type_p, at cp/pt.c:12027
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-invalid-code
Known to fail| |4.0.0 4.1.0
Known to work| |3.4.0 3.4.4
Last reconfirmed|0000-00-00 00:00:00 |2005-06-24 13:30:49
date| |
Summary|Internal compiler error, seg|[3.4/4.0/4.1 Regression]
|fault. |Internal compiler error, seg
| |fault.
Target Milestone|--- |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22172