]> gcc.gnu.org Git - gcc.git/blame - gcc/cp/ChangeLog
decl2.c (finish_objects): Don't use .?tors.* if we don't have ASM_OUTPUT_CONSTRUCTOR.
[gcc.git] / gcc / cp / ChangeLog
CommitLineData
7a8f9fa9
JM
11999-05-16 Jason Merrill <jason@yorick.cygnus.com>
2
3 * decl2.c (finish_objects): Don't use .?tors.* if we don't have
4 ASM_OUTPUT_CONSTRUCTOR.
5
6 * friend.c (do_friend): Add attrlist arg. Remove support for
7 getting a non-decl as 'decl'.
8 * decl.c (grokfndecl): Remove attrlist arg. Don't set attrs or
9 rtl.
10 (grokdeclarator): Adjust.
11 * cp-tree.h: Adjust.
12
13 * parse.y (direct_new_declarator): Make the first one a
14 nonmomentary_expr, too.
15 * init.c (build_new): suspend_momentary while we're calculating
16 the size.
17 (build_new_1): Don't copy size.
18
88b117b7
MM
191999-05-16 Mark Mitchell <mark@codesourcery.com>
20
21 * cp-tree.h (permanent_p): New function.
22 * init.c (build_new_1): Use mapcar, not copy_node, to copy a
23 possibly complex tree node.
24 * tree.c (mapcar): Adjust comments, and follow coding standards in
25 conditional.
26 (permanent_p): New function.
27
6ddf32e3
PB
281999-05-13 Per Bothner <bothner@cygnus.com>
29
30 * class.c (push_lang_context): Turn off DECL_IGNORED_P for
aca1a6cb 31 primitive Java types, if we actually see `extern "Java"'.
6ddf32e3 32
5f460982
ZW
331999-05-10 18:21 -0400 Zack Weinberg <zack@rabi.phys.columbia.edu>
34
35 * lang-specs.h: Pass -$ to the preprocessor.
36
05e0b2f4
JM
371999-05-10 Jason Merrill <jason@yorick.cygnus.com>
38
39 * init.c (build_offset_ref): Wrap baselinks in OFFSET_REF, too.
40 Don't bother wrapping an OFFSET_TYPE around unknown_type_node.
41 (resolve_offset_ref): Don't handle a raw baselink.
42 * cvt.c (build_expr_type_conversion): Likewise.
43 * typeck.c (decay_conversion, build_c_cast, convert_for_assignment,
44 convert_for_initialization): Likewise.
45 * class.c (instantiate_type): Handle seeing a baselink under an
46 OFFSET_REF.
47 * error.c (dump_expr): Likewise.
48 * pt.c (for_each_template_parm): Likewise.
49 (resolve_overloaded_unification): Likewise.
50 * tree.c (is_overloaded_fn, really_overloaded_fn): Likewise.
51 * typeck.c (expr_sizeof): Also complain about other permutations
52 of overloaded functions.
53
a359be75
JM
541999-05-07 Jason Merrill <jason@yorick.cygnus.com>
55
56 * init.c (resolve_offset_ref): Don't return a raw method.
57 Use BASELINK_P.
58 * typeck.c (decay_conversion): Don't handle a raw method.
59 Resolve all OFFSET_REFs.
60 (get_member_function_from_ptrfunc): 0 is a valid vtable index.
61 (build_binary_op_nodefault): Handle resolving overloaded fns. Use
62 same_type_p for pmf bits. Don't use build_binary_op to compare
63 raw pointers to methods.
64 (convert_for_assignment): Check for OFFSET_REF, not OFFSET_TYPE,
65 to decide when to call resolve_offset_ref.
66 (build_c_cast, convert_for_initialization): Likewise.
67 * cvt.c (build_expr_type_conversion): Likewise.
68
969df93f
NS
691999-05-06 Nathan Sidwell <nathan@acm.org>
70
71 * call.c (build_new_method_call): Use TYPE_MAIN_VARIANT of class.
72
b3f738da
MM
731999-05-05 Mark Mitchell <mark@codesourcery.com>
74
75 * decl2.c (start_objects): Don't let static constructors and
76 destructors get inlined.
77
78 * parse.y (nested_name_specifier): Make sure ordinary types are
79 complete, just like template types.
80 * parse.c: Regenerated.
81
82 * pt.c (check_explicit_specialization): Improve error messages.
83
6e176bd6
ML
84