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++/21373] [4.0/4.1 Regression] Strange error message on reference to static const member initialized via cast


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-03 21:44 -------
Confirmed:
t.cc: In member function âbool foo<T>::toobig(long long unsigned int)â:
t.cc:7: internal compiler error: tree check: expected record_type or 
union_type or qual_union_type, have template_type_parm in lookup_conversions, 
at cp/search.c:2407
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


But this is a dup of bug 21165.

*** This bug has been marked as a duplicate of 21165 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
           Keywords|                            |ice-checking, ice-on-valid-
                   |                            |code, rejects-valid
         Resolution|                            |DUPLICATE
            Summary|Strange error message on    |[4.0/4.1 Regression] Strange
                   |reference to static const   |error message on reference
                   |member initialized via cast |to static const member
                   |                            |initialized via cast
   Target Milestone|---                         |4.0.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21373


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