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