]> gcc.gnu.org Git - gcc.git/blame - gcc/cp/ChangeLog
flow.c (delete_block): Call set_last_insn after we have reset NEXT_INSN (kept_tail).
[gcc.git] / gcc / cp / ChangeLog
CommitLineData
9f3d9e46
JM
11998-11-29 Jason Merrill <jason@yorick.cygnus.com>
2
7e2067ca
JM
3 * typeck2.c (process_init_constructor): Use same_type_p.
4
5 * decl.c (check_tag_decl): Don't warn about null decl inside a
6 class.
7
9f3d9e46
JM
8 * pt.c (unify, case OFFSET_TYPE): Pass down 'strict' rather than
9 UNIFY_ALLOW_NONE.
10 (convert_nontype_argument): Use TYPE_PTRMEMFUNC_FN_TYPE.
11 (resolve_overloaded_unification): Strip baselinks.
12
9d483bc4
KG
13Fri Nov 27 13:07:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14
15 * g++spec.c: Don't prototype xmalloc.
16
08b24bda
JM
171998-11-25 Jason Merrill <jason@yorick.cygnus.com>
18
19 * except.c (expand_throw): Use TYPE_PTR_P to check for pointers.
20
21 * decl.c (check_tag_decl): Do complain about null friend decl at
22 file scope.
23
32201ce4
AS
241998-11-25 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
25
26 * lex.c (make_lang_type): Clear the whole struct lang_type, not
27 only the first multiple of sizeof (int).
28
83f660b7
JM
291998-11-24 Jason Merrill <jason@yorick.cygnus.com>
30
84e6233f
JM
31 * decl.c (start_decl): An explicit specialization of a static data
32 member is only a definition if it has an initializer.
33
c37dc68e
JM
34 * except.c (expand_throw): Use cp_finish_decl for the throw temp.
35 * cvt.c (build_up_reference): Pass DIRECT_BIND down into
36 cp_finish_decl.
37 * init.c (expand_default_init): Check for DIRECT_BIND instead of
38 DECL_ARTIFICIAL.
39
40 * call.c (build_over_call): Use build_decl.
41
42 * except.c (expand_throw): Just use convert, not
43 build_reinterpret_cast.
44
83f660b7
JM
45 * lex.c (handle_generic_pragma): Use token_buffer.
46
47 * decl.c (check_tag_decl): Don't complain about null friend decl.
48
491998-11-24 Dave Pitts <dpitts@cozx.com>
50
51 * Make-lang.in (DEMANGLER_PROG): Move the output argumnts to the
52 first position.
53 * lex.c (check_newline): Use ISALPHA.
54 (readescape): Use ISGRAPH.
55 (yyerror): Use ISGRAPH.
56
571998-11-24 Nathan Sidwell <nathan@acm.org>
58
59 * search.c (get_abstract_virtuals): Do not use initial
60 CLASSTYPE_ABSTRACT_VIRTUALS.
61 * typeck2.c (abstract_virtuals_error): Show location of abstract
62 declaration.
63 * call.c (build_new_method_call): Use
64 CLASSTYPE_ABSTRACT_VIRTUAL, rather than recalculate.
65 * class.c (finish_struct_bits): Don't bother working out whether
66 get_abstract_virtuals will do anything, just do it.
67
333a9f0a
JM
681998-11-24 Graham <grahams@rcp.co.uk>
69
70 * typeck.c (build_component_ref): Remove unused statement.
71
37b6eb34
JM
721998-11-24 Jason Merrill <jason@yorick.cygnus.com>
73
333a9f0a
JM
74 * class.c (add_method): Catch invalid overloads.
75
37b6eb34
JM
76 * class.c (add_method): Build up OVERLOADs properly for conversion ops.
77 * search.c (lookup_conversions): Handle getting real OVERLOADs.
78 (add_conversions): Likewise. Revert last change.
79 * call.c (add_conv_candidate): Pass totype to add_candidate instead
80 of fn. Don't add a new candidate if the last one was for the same
81 type.
82 (print_z_candidates): Handle getting a type as a function.
83 (joust): If we got two conversion candidates to the same type,
84 just pick one.
85 (build_object_call): Lose 'templates'.
86 (build_user_type_conversion_1): Handle getting real OVERLOADs.
87
e6267549
JM
881998-11-23 Jason Merrill <jason@yorick.cygnus.com>
89
90 * typeck2.c (process_init_constructor): If there are elements
91 that don't have initializers and they need to have constructors
92 run, supply them with initializers.
93
94 * class.c (finish_struct_1): A class with a 0-width bitfield is
95 still empty.
96
6bdb985f
MM
971998-11-23 Mark Mitchell <mark@markmitchell.com>
98
99 * pt.c (instantiate_class_template): Don't try to figure out what
100 specialization to use for a partial instantiation. Correct
101 typos in a couple of comments. Avoid calling uses_template_parms
102 multiple times.
103
388022e0
BK
1041998-11-23 Benjamin Kosnik <bkoz@cygnus.com>
105
106 * method.c (process_overload_item): Add call to
107 build_mangled_C9x_name for intTI_type_nodes.
108 (build_mangled_C9x_name): Add prototype, define.
109 * decl.c (init_decl_processing): Add names for
110 TImode_type_node.
111
72a93143
JM
1121998-11-23 Jason Merrill <jason@yorick.cygnus.com>
113
57cfc5dd
JM
114 * parse.y (named_class_head): Update CLASSTYPE_DECLARED_CLASS.
115
72a93143
JM
116 * class.c (finish_struct_1): Set things up for 0-width bitfields
117 like we do for others.
118
119 * decl.c (check_tag_decl): New fn.
120 (shadow_tag): Split out from here.
121 * decl2.c (grok_x_components): Call it.
122
094fe153
JM
1231998-11-22 Jason Merrill <jason@yorick.cygnus.com>
124
ff0cf464
JM
125 * decl.c: Lose warn_about_return_type.
126 (grokdeclarator): Always complain about implicit int, except for
127 `main () { ... }'.
128
094fe153
JM
129 * decl.c (tag_name): New fn.
130 (xref_tag): Complain about using typedef-name after class-key.
131
132 * init.c (expand_vec_init): Also keep going if from_array.
133
134 * tree.c (is_overloaded_fn): Also handle the output of
135 build_offset_ref.
136
137 * decl.c (grokdeclarator): Use constructor_name when comparing
138 field name against enclosing class.
139 * class.c (finish_struct_anon): Likewise.
140
536333d4
MM
1411998-11-22 Mark Mitchell <mark@markmitchell.com>
142
143 * decl.c (poplevel): Remove code to handle KEEP == 2.
144 (finish_function): Don't confuse BLOCK-order when
145 processing a destructor.
146
42f989ff
JM
1471998-11-21 Jason Merrill <jason@yorick.cygnus.com>
148
149 * decl.c (require_complete_types_for_parms): Call layout_decl
150 after we've completed the type.
151
75fbcb7d
ML
152