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++/22172] [3.4/4.0/4.1 Regression] Internal compiler error, seg fault.


------- 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


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