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++/11791] [3.4 regression] ICE in pop_binding


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-10 20:44 -------
Fixed in 20030810 by:
2003-08-10  Nathan Sidwell

        * cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): non-NULL
        NODE is always a TREE_VEC of non-zero size.
        (NUM_TMPL_ARGS): NODE is always a TREE_VEC.
        * decl2.c (arg_assoc): Template args will be a vec.
        * error.c (dump_decl) <TEMPLATE_ID_EXPR case>: Call
        dump_template_argument_list.
        (dump_template_parms): Args will be a vec.
        * parser.c (cp_parser_template_argument_list): Produce a
        vector, not a list.
        * pt.c (coerce_template_parms): Args are always vectors.
        (mangle_class_name_for_template): Likewise.
        (lookup_template_function): Likewise.
        (lookup_template_class): Likewise.
        (tsubst_template_args): Likewise.
        (tsubst_baselink): Use tsubst_template_args.
        (tsubst_qualified_id): Likewise.
        (tsubst_copy) <TEMPLATE_ID_EXPR case>: Likewise.
        (tsubst_copy_and_build) <TEMPLATE_ID_EXPR case>: Likewise.
        (any_dependent_template_args_p):  Args are always vectors.
        * tree.c (cp_tree_equal): Add TEMPLATE_ID_EXPR case.

        PR c++/11670
        * call.c (convert_like_real): Add rvalue binding error message.
        * error.c (dump_expr) <NOP_EXPR case>: Detect when the no expr is
        really a cast.

        PR c++/10530
        * pt.c (dependent_type_p_r): A dependent template-id is a class
        type with dependent template arguments, or a bound template
        template parameter.
        (type_dependent_expression_p): A template function decl cannot
        have a dependent context.

Will submit a testcase soon.


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