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++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template



------- Comment #10 from nathan at gcc dot gnu dot org  2005-10-12 18:23 -------
Fixed mainline and 4.0
2005-10-12  Nathan Sidwell  <nathan@codesourcery.com>

        PR c++/23797
        * parser.c (cp_parser_functional_cast): Cope when TYPE is not a
        TYPE_DECL.  Use dependent_type_p to check type.
        * pt.c (uses_template_parms_p): Use dependent_type_p for a
        TYPE_DECL.
        (type_dependent_expression_p): Assert we've not been given a
        TYPE_DECL.


-- 


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


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