pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.
[gcc.git] / gcc / cp / ChangeLog
index 49fdb783d03944332614f06e98376881dd77405f..1cb628dadc91b957ba30b9d1a385a52db3b8924a 100644 (file)
@@ -1,3 +1,73 @@
+2001-10-15  Richard Sandiford  <rsandifo@redhat.com>
+
+       * pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.
+       (unify): Only handle MINUS_EXPR specially if the above flag is set
+       and the subtracted constant is 1.  Clear the flag on recursive calls.
+       Set it when unifying the maximum value in an INTEGER_TYPE's range.
+
+2001-10-15  Richard Sandiford  <rsandifo@redhat.com>
+
+       * decl.c (bad_specifiers): Don't allow exception specifications
+       on any typedefs.
+
+2001-10-14  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cp/lex.c (init_cp_pragma): Similarly.
+
+2001-10-13  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
+
+       * pt.c (lookup_template_class): Build complete template arguments
+       for BOUND_TEMPLATE_TEMPLATE_PARM.
+
+2001-10-12  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
+
+       * cp-tree.h (TYPE_BINFO): Update comment.
+       (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): New macro.
+       (TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO): Use template_info.
+       (TYPENAME_TYPE_FULLNAME): Use TYPE_FIELDS.
+       (copy_type): Prototype new function.
+       * lex.c (copy_lang_decl): Gather tree node statistics.
+       (copy_lang_type): New function.
+       (copy_type): Likewise.
+       (cp_make_lang_type): Create lang_type for
+       BOUND_TEMPLATE_TEMPLATE_PARM.  Set TYPE_BINFO for TYPENAME_TYPE
+       and BOUND_TEMPLATE_TEMPLATE_PARM.
+       * pt.c (tsubst): Use copy_type instead of copy_node.
+       * search.c (lookup_field_1): Ignore TYPENAME_TYPE.
+
+2001-10-12  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
+
+       * pt.c (determine_specialization): Ignore functions without
+       DECL_TEMPLATE_INFO.
+
+2001-10-12  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR g++/4476
+       * typeck2.c (abstract_virtuals_error): Ignore incomplete classes.
+
+2001-10-11  Jason Merrill  <jason_merrill@redhat.com>
+
+       * typeck2.c (store_init_value): Don't re-digest a bracketed
+       initializer.
+
+       * class.c (finish_struct_anon): Use TYPE_ANONYMOUS_P instead of
+       ANON_AGGR_TYPE_P.
+
+2001-10-11  Richard Henderson  <rth@redhat.com>
+
+       * class.c (build_vtable_entry_ref): Create a VTABLE_REF instead
+       of an asm statement.
+       (build_vtbl_ref_1): Split out from build_vtbl_ref.
+       (build_vfn_ref): Use it to handle vtable descriptors before
+       calling build_vtable_entry_ref.
+       * decl2.c (output_vtable_inherit): Use assemble_vtable_inherit.
+
+2001-10-10  Richard Henderson  <rth@redhat.com>
+
+        * parse.y (asm_operand): Allow named operands.
+       * semantics.c (finish_asm_stmt): Tweek for changed location
+       of the operand constrant.
+
 2001-10-09  Jason Merrill  <jason_merrill@redhat.com>
 
        * call.c (standard_conversion): Add bad conversion between