]> gcc.gnu.org Git - gcc.git/blame - gcc/cp/ChangeLog
Daily bump.
[gcc.git] / gcc / cp / ChangeLog
CommitLineData
7def1251
JM
12000-08-23 Jason Merrill <jason@redhat.com>
2
3 * typeck.c (build_ptrmemfunc): Save the input pmf.
4
5 * method.c (process_modifiers): Use same_type_p.
6
94350948
MM
72000-08-23 Mark Mitchell <mark@codesourcery.com>
8
9 * cp-tree.h (DECL_CLONED_FUNCTION_P): Check DECL_LANG_SPECIFIC.
10 * mangle.c (write_function_type): Change prototype.
11 (write_encoding): Don't mangle return types for
12 constructors or destructors.
13 (write_type): Adjust call to write_function_type.
14 * pt.c (instantiate_template): Instantiate alternate entry points
15 when instantiating the main function.
16
a64e7329
GDR
172000-08-23 Gabriel Dos Reis <gdr@codesourcery.com>
18
19 * error.c (cp_print_error_function): Don't use embedded '\n' in
20 output_printf.
21
a72462a4
GDR
222000-08-23 Gabriel Dos Reis <gdr@codesourcery.com>
23
24 * decl.c (init_decl_processing): Remove bogus initialization.
25 * error.c (lang_print_error_function): Restore here.
26 (init_error): Initialize print_error_function.
27
3add6264
TP
282000-08-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
29
30 * decl2.c (arg_assoc): Revert my 2000-08-11 change.
31
cb753e49
GDR
322000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
33
34 * Makefile.in (error.o): Depends on diagnostic.h
35
36 * cp-tree.h (problematic_instantiation_changed,
37 record_last_problematic_instantiation, current_instantiation,
38 print_instantiation_context): Declare.
39 (maybe_print_template_context): Remove.
40
41 * decl.c (init_decl_processing): Set print_error_function to NULL.
42 (lang_print_error_function): Remove, since we're using a new
43 machinery.
44
45 * error.c: #include diagnostic.h
46 (function_category): New function.
47 (cp_diagnostic_starter): Likewise.
48 (cp_diagnostic_finalizer): Likewise.
49 (cp_print_error_function): Likewise.
50 (maybe_print_instantiation_context): Likewise.
51 (print_instantiation_full_context): Likewise.
52 (print_instantiation_partial_context): Likewise.
53 (print_instantiation_context): Define.
54 (init_error): Initialize diagnostic pager and finalizer.
55
56 * pt.c (problematic_instantiation_changed): Define.
57 (record_last_problematic_instantiation): Likewise.
58 (current_instantiation): Likewise.
59 (maybe_print_template_context): Remove.
60 (print_template_context): Likewise.
61 (current_tinst_level): Make static to reflect Brendan Kehoe's
62 change of 1995-04-13.
63 (push_tinst_level): Call print_instantiation_context.
64
05a3d06e
N
652000-08-21 Nix <nix@esperi.demon.co.uk>
66
67 * lang-specs.h: Do not process -o or run the assembler if
68 -fsyntax-only.
69
93e2382f
JM
702000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
71
72 * decl.c (flag_hosted, flag_noniso_default_format_attributes): New
73 variables.
74 * decl2.c (lang_decode_option): Disable gettext attributes for
75 -ansi.
76
24805e80
GDR
772000-08-21 Gabriel Dos Reis <gdr@codesourcery.com>
78
79 * lex.c (lang_init_options): Default diagnostic message maximum
80 length to 80, when line-wrapping.
81
b485e15b
MM
822000-08-20 Mark Mitchell <mark@codesourcery.com>
83
84 * class.c (build_vtbl_initializer): Clear the entire
85 vtbl_init_data. Start keeping track of the functions for which we
86 have created vcall offsets here.
87 (dfs_build_vcall_offset_vtbl_entries): Remove.
88 (build_vcall_offset_vtbl_entries): Reimplement.
89 (add_vcall_offset_vtbl_entries_r): New function.
90 (add_vcall_offset_vtbl_entries_1): Likewise. Tweak logic for
91 computing when vcall offsets are necessary.
92
2ae7bada
NS
932000-08-18 Nathan Sidwell <nathan@codesourcery.com>
94
95 * decl.c (member_function_or_else): Use cp_error ... %T.
96 (grokdeclarator): Likewise.
97 (start_method): Likewise.
98 * friend.c (make_friend_class): Use cp_pedwarn ... %T.
99
7a8b1375
NS
1002000-08-18 Nathan Sidwell <nathan@codesourcery.com>
101
102 * decl2.c (grokfield): Set CLASSTYPE_GOT_SEMICOLON on class
2ae7bada 103 TYPE_DECLs.
7a8b1375 104
19420d00
NS
1052000-08-18 Nathan Sidwell <nathan@codesourcery.com>
106
107 * cp-tree.h (PTRMEM_OK_P): New macro.
108 (itf_ptrmem_ok): New enumeration value.
109 * class.c (resolve_address_of_overloaded_function): Add PTRMEM
110 argument. Diagnose implicit pointer to member.
111 (instantiate_type): Don't diagnose implicit pointer to member
112 here. Pass itf_ptrmem_ok if ok. Adjust calls to
113 resolve_address_of_overloaded_function.
114 * init.c (build_offset_ref): Set PTRMEM_OK_P.
115 (resolve_offset_ref): Don't diagnose implicit pointer to member here.
116 * semantics.c (finish_parenthesized_expr): Clear OFFSET_REFs here.
117 * typeck.c (build_x_unary_op): Calculate PTRMEM_OK_P.
118 (build_unary_op): Deal with single non-static member in
119 microsoft-land.
120
66081283
NS
1212000-08-18 Nathan Sidwell <nathan@codesourcery.com>
122
123 * decl2.c (arg_assoc_type): Cope with TYPENAME_TYPE.
124
fa40aa12
NS
1252000-08-18 Nathan Sidwell <nathan@codesourcery.com>
126
127 * cp-tree.h (enum_name_string): Remove prototype.
128 (report_case_error): Remove prototype.
129 * cp/typeck2.c (enum_name_string): Remove.
130 (report_case_error): Remove.
131 * error.c (dump_expr): Deal with enum values directly.
132 Correctly negate integer constant.
133
d13b34e9
NS
1342000-08-17 Nathan Sidwell <nathan@codesourcery.com>
135
136 * inc/cxxabi.h (__cxa_vec_new2, __cxa_vec_new3): Declare.
137 (__cxa_vec_delete2, __cxa_vec_delete3): Declare.
138 * vec.cc (__cxa_vec_new2, __cxa_vec_new3): Implement.
139 (__cxa_vec_delete2, __cxa_vec_delete3): Implement.
140 (__cxa_vec_new): Use __cxa_vec_new2.
141 (__cxa_vec_delete): Use __cxa_vec_delete2.
142
2f1b80af
NS
1432000-08-17 Nathan Sidwell <nathan@codesourcery.com>
144
145 * vec.cc (__cxa_vec_new): Set "C" linkage.
146 (__cxa_vec_ctor): Likewise.
147 (__cxa_vec_cctor): Likewise.
148 (__cxa_vec_dtor): Likewise.
149 (__cxa_vec_delete): Likewise.
150 * inc/cxxabi.h (__cxa_vec_new): Set "C" linkage.
151 (__cxa_vec_ctor): Likewise.
152 (__cxa_vec_cctor): Likewise.
153 (__cxa_vec_dtor): Likewise.
154 (__cxa_vec_delete): Likewise.
155
105d8e1f
NS
1562000-08-17 Nathan Sidwell <nathan@codesourcery.com>
157
158 * class.c (instantiate_type): Reinstate local variable
159 deleted in previous change.
f1819d9a
NS
160
161 * cvt.c (cp_convert_to_pointer): Pass itf_complain, not
162 itf_no_attributes.
105d8e1f 163
5e76004e
NS
1642000-08-17 Nathan Sidwell <nathan@codesourcery.com>
165
166 * cp-tree.h (instantiate_type_flags): New enumeration.
167 (instantiate_type): Change parameter.
168 * class.c (instantiate_type): Adjust prototype. Adjust.
169 * call.c (standard_conversion): Adjust instantiate_type call.
170 (reference_binding): Likewise.
171 (build_op_delete_call): Likewise.
172 (convert_like_real): Likewise.
173 * cvt.c (cp_convert_to_pointer): Likewise.
174 (convert_to_reference): Likewise.
175 * pt.c (convert_nontype_argument): Likewise.
176 * typeck.c (build_binary_op): Likewise.
177 (build_ptrmemfunc): Likewise.
178 (convert_for_assignment): Likewise.
179
4b054b80
NS
1802000-08-17 Nathan Sidwell <nathan@codesourcery.com>
181
182 * cp-tree.h (CPTR_AGGR_TAG): New global tree node.
183 (current_aggr): Define.
184 * decl.c (grokdeclarator): Make sure a friend class is an
185 elaborated type specifier.
186 * parse.y (current_aggr): Remove static definition.
187 (cp_parse_init): Adjust.
188 (structsp): Clear and restore current_aggr.
189 (component_decl_list): Clear current_aggr.
190
191 * error.c (dump_type, case TYPENAME_TYPE): Don't emit the
192 aggregate tag on the typename's context.
193
321cba97
NS
194 * pt.c (tsubst_friend_class): Return error_mark_node, if
195 parms becomes NULL.
196 (instantiate_class_template): Ignore error_mark_node friend types.
4b054b80 197
08aead78
NS
1982000-08-14 Nathan Sidwell <nathan@codesourcery.com>
199
200 * cvt.c (warn_ref_binding): New static function, broken out of ...
201 (convert_to_reference): ... here. Use it.
202
fa1f3ebc
KL
2032000-08-11 Kriang Lerdsuwanakij <lerdsuwa@scf-fs.usc.edu>
204
205 * parse.y (template_arg): Add rule for template qualified with
206 global scope.
207
9845b52b
TP
2082000-08-11 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
209
210 * decl2.c (add_function): Reorganize.
211 (arg_assoc): Do not consider function template decls.
212
e69c8072
JM
2132000-08-11 Jason Merrill <jason@redhat.com>
214
215 * decl.c (lookup_name_real): Don't forget the TYPENAME_TYPE we're
216 looking inside.
217
5c1e5476
NS
2182000-08-11 Nathan Sidwell <nathan@codesourcery.com>
219
220 * cp-tree.h (resolve_scope_to_name): Remove unused prototype.
221 (lookup_nested_tag): Likewise.
222
223 * decl2.c (grokfield): Fix comment to reflect many types of _DECLs
224 can be produced.
225
5426aa7f
NS
2262000-08-11 Nathan Sidwell <nathan@codesourcery.com>
227
228 * parse.y (named_complex_class_head_sans_basetype): Remove
229 always true if.
230
fd037e0d
NS
2312000-08-11 Nathan Sidwell <nathan@codesourcery.com>
232
233 * decl2.c (build_expr_from_tree, case METHOD_CALL_EXPR): Build
234 explicit TEMPLATE_ID_EXPR args.
235 (build_expr_from_tree, case CALL_EXPR): Likewise.
236
73ae5c34
NS
2372000-08-11 Nathan Sidwell <nathan@codesourcery.com>
238
239 * decl.c (check_tag_decl): Diagnose typename's which don't
240 declare anything.
241
aa54df09
NS
2422000-08-10 Nathan Sidwell <nathan@codesourcery.com>
243
244 * init.c (build_aggr_init): Reject bogus array initializers
245 early.
246
7e8dad18
NS
2472000-08-09 Nathan Sidwell <nathan@codesourcery.com>
248
249 * rtti.c (build_dynamic_cast_1): Set "C" linkage for new abi
250 runtime.
251 * cp/tinfo.cc (__dynamic_cast): Likewise.
252 * cp/inc/cxxabi.h (__dynamic_cast): Likewise.
253
0f586b9b
NS
2542000-08-09 Nathan Sidwell <nathan@codesourcery.com>
255
256 * cvt.c (convert_to_pointer_force): Fix error message when
257 attempting to cast from ambiguous base.
258
08e72a19
JM
2592000-08-08 Jason Merrill <jason@redhat.com>
260
261 * pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
262 (tsubst_template_arg_vector): Likewise.
263
264 * decl2.c (build_anon_union_vars): Choose the largest field; don't
265 assume that one will be as large as the union.
266
0811ea8f
KH
2672000-08-07 Kazu Hirata <kazu@hxi.com>
268
269 * cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
270 * decl.c (pop_labels): Likewise.
271
f9fcf62b
JO
2722000-08-04 Jeffrey Oldham <oldham@codesourcery.com>
273
274 * inc/cxxabi.h (__pbase_type_info): Changed member names to match
275 specifications.
276 (__pointer_to_member_type_info): Likewise.
277 (__base_class_info): Likewise.
278 (__class_type_info): Likewise.
279 (__si_class_type_info): Likewise.
280 (__vmi_class_type_info): Likewise.
281 * tinfo.cc (__si_class_type_info::__do_find_public_src):
282 Changed member names to match specifications.
283 (__vmi_class_type_info::__do_find_public_src): Likewise.
284 (__si_class_type_info::__do_dyncast): Likewise.
285 (__vmi_class_type_info::__do_dyncast): Likewise.
286 (__si_class_type_info::__do_upcast): Likewise.
287 (__vmi_class_type_info::__do_upcast): Likewise.
288 * tinfo2.cc (__pbase_type_info::__do_catch): Likewise.
289 (__pbase_type_info::__pointer_catch): Likewise.
290 (__pointer_type_info::__pointer_catch): Likewise.
291 (__pointer_to_member_type_info::__pointer_catch): Likewise.
292
293
a36556a8
ZW
2942000-08-04 Zack Weinberg <zack@wolery.cumb.org>
295
296 * Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist.
297 * Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS.
298 (cc1plus): Link with $(BACKEND) and $(C_OBJS).
299
452a394b
MM
3002000-08-04 Mark Mitchell <mark@codesourcery.com>
301
302 * cp-tree.h (add_method): Change prototype.
303 * class.c (add_method): Remove FIELDS parameter. Add ERROR_P.
304 Don't double the size of the method vector in the error case.
305 (handle_using_decl): Adjust call to add_method.
306 (add_implicitly_declared_members): Likewise.
307 (clone_function_decl): Likewise.
308 * decl2.c (check_classfn): Likewise.
309 * semantics.c (finish_member_declaration): Likewise.
310
b8458e3e
JM
3112000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
312
313 * decl.c (flag_isoc94): New variable.
314
a1bcc528
JM
3152000-08-02 Jason Merrill <jason@redhat.com>
316
317 * pt.c (do_type_instantiation): Add complain parm; don't complain
318 if called recursively.
319 * cp-tree.h, parse.y: Adjust.
320
50e60bc3
ZW
3212000-08-02 Zack Weinberg <zack@wolery.cumb.org>
322
eae51189
ZW
323 * decl2.c: Silently ignore -Wstrict-prototypes; warn about
324 -Wno-strict-prototypes.
325
37620334
ZW
326 * g++spec.c: Adjust type of second argument to
327 lang_specific_driver, and update code as necessary.
328
50e60bc3
ZW
329 * cp-tree.h: Don't prototype min_precision here.
330 (my_friendly_assert): Cast expression to void.
331 * semantics.c (do_poplevel): Initialize scope_stmts.
332
3f954fc3
MM
3332000-08-02 Mark Mitchell <mark@codesourcery.com>
334
335 * cp-tree.h (DECL_NEEDED_P): Tweak.
336
ab4fa7ed
JM
3372000-07-28 Jason Merrill <jason@redhat.com>
338
339 * lang-specs.h: Use %i in rule for .ii files.
340
4871239e
ZW
3412000-07-31 Zack Weinberg <zack@wolery.cumb.org>
342
343 * lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
344
911a71a7
MM
3452000-07-30 Mark Mitchell <mark@codesourcery.com>
346
347 Allow indirect primary bases.
348 * cp-tree.h (struct lang_type): Remove vfield_parent. Add
349 primary_base.
350 (CLASSTYPE_VFIELD_PARENT): Remove.
351 (CLASSTYPE_PRIMARY_BINFO): Reimplement.
352 (BINFO_PRIMARY_BINFO): Remove.
353 (CLASSTYPE_HAS_PRIMARY_BASE_P): Reimplement.
354 (BINFO_VBASE_PRIMARY_P): Likewise.
355 (BINFO_PRIMARY_BASE_OF): New macro.
356 (BINFO_INDIRECT_PRIMARY_P): Likewise.
357 (get_primary_binfo): New function.
358 * decl.c (lang_mark_tree): Make lang_type::primary_base.
359 * class.c (vcall_offset_data_s): Rename to ...
360 (vtbl_init_data_s): ... this. Rename primary_p to primary_vtbl_p,
361 and add ctor_vtbl_p.
362 (get_derived_offset): Use get_primary_binfo.
363 (dfs_mark_primary_bases): Adjust handling of virtual primary
364 bases.
365 (mark_primary_bases): Likewise.
366 (set_primary_base): Take a binfo, not an integer, as a
367 representation of the primary base.
368 (indirect_primary_base_p): Remove.
369 (determine_primary_base): Adjust for indirect primary bases.
370 (dfs_find_final_overrider): Fix typo in coment.
371 (update_vtable_entry_for_fn): Use get_primary_binfo.
372 (layout_nonempty_base_or_field): Tweak.
373 (build_base_fields): Adjust for new primary base semantics.
374 (dfs_propagate_binfo_offsets): Remove.
375 (propagate_binfo_offsets): Rewrite.
376 (dfs_set_offset_for_shared_vbases): Remove.
377 (layout_virtual_bases): Don't use it.
378 (layout_class_type): Set CLASSTYPE_SIZE correctly under the new
379 ABI.
380 (finish_struct_1): Set CLASSTYPE_PRIMARY_BINFO, not
381 CLASSTYPE_VFIELD_PARENT.
382 (dfs_get_primary_binfo): New function.
383 (get_primary_binfo): Likewise.
384 (dump_class_hierarchy_r): Tweak printing of primary bases.
385 (build_vtbl_initializer): Fix typo in comments. Use
386 vtbl_init_data.
387 (build_vcall_and_vbase_vtbl_entries): Likewise.
388 (build_vbaes_offset_vtbl_entries): Likewise.
389 (dfs_build_vcall_offset_vtbl_entries): Adjust setting of
390 BV_VCALL_INDEX to handle indirect primary bases.
391 (build_vcall_offset_vtbl_entries): Use vtbl_init_data.
392 (build_rtti_vtbl_entries): Likewise.
393 * search.c (get_shared_vbase_if_not_primary): Tweak.
394 (find_vbase_instance): Likewise.
395 (binfo_for_vtable): Simplify.
396 * tree.c (unshare_base_binfos): Clear BINFO_PRIMARY_BASE_OF.
397 (make_binfo): Make it have 11 entries.
398
722bed0f
AS
3992000-07-30 Alex Samuel <samuel@codesourcery.com>
400
401 * mangle.c (DECL_TEMPLATE_ID_P): Remove.
402 (CLASSTYEP_TEMPLATE_ID_P): Check template info, and context when
403 ascertaining primaryness.
404 (G): Remove template_args.
405 (decl_is_template_id): New function.
406 (write_encoding): Use decl_is_template_id.
407 (write_name): Likewise. Handle type_decls. Get main variant of
408 type decls.
409 (write_nested_name): Likewise.
410 (write_prefix): Likewise.
411 (write_template_prefix): Likewise.
412 (write_special_name_constructor): Remove defunct production from
413 comment.
414 (write_bare_function_type): Remove comment about absent parameter.
415 (write_template_template_arg): Add missing grammar production to
416 comment.
417
9076e292
JM
4182000-07-27 Jason Merrill <jason@redhat.com>
419
420 * decl.c (duplicate_decls): If common_type produces a non-typedef
421 type for a typedef, just use the old type.
422
b2244c65
MM
4232000-07-27 Mark Mitchell <mark@codesourcery.com>
424
425 * cp-tree.h (function_depth): Declare.
426 (verify_stmt_tree): Likewise.
427 (find_tree): Likewise.
428 * decl.c (function_depth): Give it external linkage.
429 * optimize.c (optimize_function): Increment and decrement it.
430 * tree.c (verify_stmt_tree_r): New function.
431 (verify_stmt_tree): Likewise.
432 (find_tree_r): Likewise.
433 (find_tree): Likewise.
434
62e3bf54
JM
4352000-07-27 Jason Merrill <jason@redhat.com>
436
9076e292
JM
437 * pt.c (for_each_template_parm_r, case RECORD_TYPE): Use
438 TYPE_PTRMEMFUNC_P.
439 * cp-tree.h (TYPE_TEMPLATE_INFO): Check for TYPE_LANG_SPECIFIC.
62e3bf54 440
5a728aca
MM
4412000-07-26 Mark Mitchell <mark@codesourcery.com>
442
443 * decl.c (start_cleanup_fn): Mark the function as `inline'.
444 * decl2.c (get_guard): Call cp_finish_decl, not
445 rest_of_decl_compilation, for local guards.
446 * lex.c (do_identifier): Remove unused variable.
447
6a1fa5f9
ME
448Wed Jul 26 15:05:51 CEST 2000 Marc Espie <espie@cvs.openbsd.org>
449
450 * parse.y: Add missing ';'.
451
0c10a805
MM
4522000-07-26 Mark Mitchell <mark@codesourcery.com>
453
454 * parse.y (empty_parms): Use `()', not `(...)', when in the scope
455 of `extern "C++"'.
456
8b27e9ef
NS
4572000-07-25 Nathan Sidwell <nathan@codesourcery.com>
458
459 Kill strict_prototype. Backwards compatibility only for
460 non NO_IMPLICIT_EXTERN_C systems.
461 * cp-tree.h (flag_strict_prototype): Remove.
462 (strict_prototype): Remove.
463 (strict_prototypes_lang_c, strict_prototypes_lang_cplusplus): Remove.
464 * decl.c (maybe_push_to_top_level): Adjust.
465 (pop_from_top_level): Adjust.
466 (decls_match): Only allow sloppy parm matching for ancient
467 system headers.
468 (init_decl_processing): Adjust.
469 (grokdeclarator): Adjust.
470 * decl2.c (flag_strict_prototype): Remove.
471 (strict_prototype): Remove.
472 (strict_prototypes_lang_c, strict_prototypes_lang_cplusplus): Remove.
473 (lang_f_options): Remove "strict-prototype".
474 (unsupported-options): Add "strict-prototype".
475 * lex.c (do_identifier): Adjust.
476 (do_scoped_id): Adjust.
477 * parse.y (empty_parms): Adjust.
478 * class.c (push_lang_context): Adjust.
479 (pop_lang_context): Adjust.
480 * typeck.c (comp_target_parms): Adjust.
481
c3783399
NS
4822000-07-25 Nathan Sidwell <nathan@codesourcery.com>
483
484 * decl.c (poplevel): Deal with anonymous variables at for scope.
485 (maybe_inject_for_scope_var): Likewise.
486
a7023245
ZW
4872000-07-25 Zack Weinberg <zack@wolery.cumb.org>
488
489 * decl.c: Remove all signal handling code, now done in toplev.c.
490
95ee998c
MM
4912000-07-23 Mark Mitchell <mark@codesourcery.com>
492
493 * decl.c (make_rtl_for_nonlocal_decl): Rework.
494
495 * pt.c (lookup_template_class): Ensure that TYPE_CONTEXT is set
496 correctly.
497
1b493b81
ZW
4982000-07-20 Zack Weinberg <zack@wolery.cumb.org>
499
500 * cp-tree.h: Use __FUNCTION__ not __PRETTY_FUNCTION__.
501 Define my_friendly_assert and my_friendly_abort as macros
502 which may call friendly_abort. Prototype friendly abort, not
503 my_friendly_abort or my_friendly_assert.
504 * decl.c (signal_catch): Report the signal caught in the error
505 message. Call fatal directly.
506 * typeck2.c (ack, my_friendly_assert): Delete.
507 (my_friendly_abort): Rename to friendly_abort. Expect file,
508 line, and function parameters. Report the abort code, then
509 call fancy_abort. Do not mask an abort if errors have
510 already occurred.
511
a306451c
NS
5122000-07-18 Nathan Sidwell <nathan@codesourcery.com>
513
514 * typeck.c (comp_target_parms): Remove obsolete parameter.
515 (comp_target_types): Adjust.
516
f49fad00
JM
5172000-07-17 Jason Merrill <jason@redhat.com>
518
519 * typeck.c (mark_addressable): Never set TREE_USED.
520 * call.c (build_call): Don't abort on calls to library functions
521 that have been declared normally.
522
523 * typeck.c (build_binary_op): Fix grammar in warning.
524
525 * exception.cc (__eh_free): Fix prototype.
526
527 * decl2.c (finish_decl_parsing): Handle TEMPLATE_ID_EXPR.
528
529 * decl.c (pushdecl): Handle seeing an OVERLOAD in
530 IDENTIFIER_NAMESPACE_VALUE.
531
69690d98
MM
5322000-07-16 Mark Mitchell <mark@codesourcery.com>
533
534 * cp-tree.h (THUNK_VCALL_OFFSET): Update documentation.
535 * method.c (use_thunk): Correct handling of vcall offsets.
536
bfbbc080
ZW
5372000-07-14 Zack Weinberg <zack@wolery.cumb.org>
538
539 * .cvsignore: parse.h and parse.c have no cp- prefix.
540
83a90717
MM
5412000-07-13 Mark Mitchell <mark@codesourcery.com>
542
543 * .cvsignore: New file.
544
ea414c97
ZW
5452000-07-13 Zack Weinberg <zack@wolery.cumb.org>
546
547 * lang-specs.h: Use the new named specs. Remove unnecessary braces.
548
792abd35
MM
5492000-07-12 Mark Mitchell <mark@codesourcery.com>
550
551 * Makefile.in ($(PARSE_H)): Depend directly on parse.y.
552 * parse.c: Remove.
553 * parse.h: Likewise.
554
72a50ab0
MM
5552000-07-11 Mark Mitchell <mark@codesourcery.com>
556
557 * class.c (layout_class_type): Add pointers to virtual bases after
558 base classes under the old ABI.
559
0dfdeca6
BC
5602000-07-10 Benjamin Chelf <chelf@codesourcery.com>
561
562 * semantics.c (finish_for_stmt): Remove call to emit_line_note.
563 (finish_continue_stmt): Likewise.
564 (begin_for_stmt): Remove call to note_level_for_for.
565 (finish_goto_stmt): Change call from build_min_nt
566 to build_stmt.
567 (finish_expr_stmt): Likewise.
568 (begin_if_stmt): Likewise.
569 (begin_while_stmt): Likewise.
570 (finish_while_stmt): Likewise.
571 (finish_return_stmt): Likewise.
572 (begin_for_stmt): Likewise.
573 (finish_for_stmt): Likewise.
574 (finish_break_stmt): Likewise.
575 (begin_switch_stmt): Likewise.
576 (finish_case_label): Likewise.
577 (genrtl_try_block): Likewise.
578 (begin_try_block): Likewise.
579 (begin_handler): Likewise.
580 (begin_compound_stmt): Likewise.
581 (finish_asm_stmt): Likewise.
582 (finish_label_stmt): Likewise.
583 (add_decl_stmt): Likewise.
584 (finish_subobject): Likewise.
585 (finish_decl_cleanup): Likewise.
586 (finish_named_return_value): Likewise.
587 (setup_vtbl_ptr): Likewise.
588 (add_scope_stmt): Likewise.
589 * decl.c (finish_constructor_body): Likewise.
590 (finish_destructor_body): Likewise.
591 * optimize.c (copy_body_r): Likewise.
592 (initialize_inlined_parameters): Likewise.
593 (declare_return_variable): Likewise.
594 (expand_call_inline): Likewise.
595
f12eef58
JJ
5962000-07-10 Jakub Jelinek <jakub@redhat.com>
597
598 * semantics.c (expand_body): Sync interface information
599 at the end of function body expansion.
600
2bb5d995
JM
6012000-07-09 Jason Merrill <jason@redhat.com>
602
603 * init.c (build_new_1): Bail early if the call to new fails.
604
605 * decl.c (compute_array_index_type): Check specifically for
606 an INTEGER_CST, not just TREE_CONSTANT.
607
608 * decl.c (duplicate_decls): Don't call duplicate_decls on
609 the DECL_TEMPLATE_RESULT.
610 (decls_match): Return 0 if the DECL_TEMPLATE_RESULTs have different
611 codes.
612
613 * error.c (dump_template_bindings): Don't crash if we had an
614 invalid argument list.
615
616 * typeck.c (c_expand_start_case): Do narrowing here.
617 * semantics.c (finish_switch_cond): Not here.
618
6192000-07-09 Hidvegi Zoli <hzoli@austin.ibm.com>
620
621 * parse.y (asm_clobbers): Do string concatenation.
622
089acd57
MM
6232000-07-09 Mark Mitchell <mark@codesourcery.com>
624
625 * decl.c (pushtag): Don't put local classes in template functions
626 on the local_classes list.
627
6282000-07-04 Scott Snyder <snyder@fnal.gov>
629
630 * decl2.c (get_guard): Add missing return for old ABI local
631 variable case.
632
7b019c19
MM
6332000-07-09 Mark Mitchell <mark@codesourcery.com>
634
635 * cp-tree.h (char_type_p): New function.
636 * decl.c (init_decl_processing): Don't initialize
637 signed_wchar_type_node or unsigned_wchar_type_node.
638 (complete_array_type): Handle brace-enclosed string-constants.
639 * rtti.c (emit_support_tinfos): Remove #if 0'd code.
640 * tree.c (char_type_p): New function.
641 * typeck2.c (digest_init): Use char_type_p.
642
a5f1c5f8
NS
6432000-07-06 Nathan Sidwell <nathan@codesourcery.com>
644
645 * pt.c (tsubst): Don't layout type, if it's error_mark.
646
84e5ca0f
NS
6472000-07-06 Nathan Sidwell <nathan@codesourcery.com>
648
649 * pt.c (instantiate_pending_templates): Reset template level.
650
ab785305
JM
6512000-07-05 Jason Merrill <jason@redhat.com>
652
653 * call.c (joust): Don't complain about `operator char *()' beating
654 `operator const char *() const'.
655
90418208
JM
6562000-07-04 scott snyder <snyder@fnal.gov>
657 Jason Merrill <jason@redhat.com>
658
659 * repo.c (repo_get_id): Handle the case where a class with virtual
660 bases has a null TYPE_BINFO_VTABLE.
661
6622000-07-04 Kevin Buhr <buhr@stat.wisc.edu>
663 Jason Merrill <jason@redhat.com>
664
665 * parse.y (member_init): Just pass in the type.
666 * init.c (expand_member_init): Handle getting a type.
667
668