- 05 Jun, 2000 18 commits
-
-
* config.guess: Updated to latest version. * config.sub: Likewise. From-SVN: r34413
Philipp Thomas committed -
* class.c (indirect_primary_base_p): New function. (determine_primary_base): Use it. From-SVN: r34412
Mark Mitchell committed -
* cp-demangle.c (demangle_prefix): Cast argument to isdigit to unsigned char. (demangle_unqualified_name): Likewise. (demangle_number_literally): Likewise. (demangle_type): Likewise. (demangle_substitution): Likewise. (is_mangled_char): Likewise, for isalnum. From-SVN: r34411
Alex Samuel committed -
* config/sparc/sparc.c (short_branch): Correct error in range computation. From-SVN: r34410
Richard Kenner committed -
From-SVN: r34409
Bruce Korb committed -
From-SVN: r34408
Bruce Korb committed -
From-SVN: r34407
J. David Anglin committed -
From-SVN: r34406
Zack Weinberg committed -
* objc/objc-act.c (generate_method_descriptors): Register objc_method_prototype_template as a GC root. (comp_method_with_proto): Register function_type as a GC root. (comp_proto_with_proto): Replace function_type1 and function_type2 with a two-element array; register it as a GC root. (generate_protocols, build_protocol_initializer, generate_protocol_list, build_category_initializer, build_shared_structure_initializer): Do not cache cast_type and/or cast_type2. From-SVN: r34405
Zack Weinberg committed -
* function.c (assign_parms): Add missing argument to set_mem_attributes call. From-SVN: r34404
J. David Anglin committed -
* gcc.c-torture/compile/20000605-1.c: New test. Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com> From-SVN: r34403
Jakub Jelinek committed -
* tree.h (VOID_TYPE_P): New macro. (COMPLETE_OR_VOID_TYPE_P): Use VOID_TYPE_P. * c-decl.c (grokdeclarator): Use VOID_TYPE_P. (get_parm_info): Likewise. (store_parm_decls): Likewise. (combine_parm_decls): Likewise. (finish_function): Likewise. * c-typeck.c (build_function_call): Likewise. (build_binary_op): Likewise. (build_conditional_expr): Likewise. (internal_build_compound_expr): Likewise. (convert_for_assignment): Likewise. * stmt.c (expend_expr_stmt): Likewise. (warn_if_unused_value): Likewise. (expand_return): Likewise. * c-parse.in (primary): Likewise. * c-parse.y, c-parse.c, c-parse.h: Regenerate. * objc/objc-parse.y, objc/objc-parse.c: Regenerate. From-SVN: r34402
Nathan Sidwell committed -
* tinfo.cc (__class_type_info::__dyncast_result): Add whole_details. Adjust constructor. (__vmi_class_type_info::__do_dyncast): Adjust for vmi_flags. Avoid unnecessary searching. (__dynamic_cast): Adjust for __dyncast_result::whole_details. From-SVN: r34401
Nathan Sidwell committed -
* alias.c (get_alias_set): If compnent is addressable, use alias set of component. * c-decl.c (init_decl_processing): Don't call record_component_aliases. (grokdeclarator): Likewise. * c-typeck.c (common_type): Likewise. * cp/decl.c (init_decl_processing): Don't call record_component_aliases. * cp/tree.c (build_cplus_array_type_1): Likewise. From-SVN: r34400
Richard Kenner committed -
From-SVN: r34399
Jeff Law committed -
* Makefile.in (OBJS): Remove dyn_string.o (dyn-string.o): Delete rule. * dyn-string.c: Delete file * dyn-string.h: Likewise. From-SVN: r34398
Alex Samuel committed -
* dyn-string.h: Move here from gcc/dyn-string.h. Add new functions. * demangle.h (DMGL_GNU_NEW_ABI): New macro. (DMGL_STYLE_MASK): Or in DMGL_GNU_NEW_ABI. (current_demangling_style): Add gnu_new_abi_demangling. (GNU_NEW_ABI_DEMANGLING_STYLE_STRING): New macro. (GNU_NEW_ABI_DEMANGLING): Likewise. (cplus_demangle_new_abi): New declaration. In libiberty, * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c. (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o. (cp-demangle.o): New dependency. (dyn-string.o): Likewise. * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions. * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI demangler. (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI demangling mode. (gnu_new_abi_symbol_characters): New function. (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New file. * cp-demangle.c: New file. From-SVN: r34397
Alex Samuel committed -
* ir.texi: Correct typo. * mangle.c (write_expression): Handle non-type template arguments with reference type. * method.c (build_overload_value): Likewise. * pt.c (convert_nontype_argument): Explicitly represent conversion to a reference with an ADDR_EXPR. (unify): Always unify arguments in left-to-right order. From-SVN: r34396
Mark Mitchell committed
-
- 04 Jun, 2000 10 commits
-
-
* libioP.h: Handle new ABI mangling. * stdstrbufs.cc: Likewise. From-SVN: r34395
Mark Mitchell committed -
* Make-lang.in (CXX_SRCS): Add mangle.c. * Makefile.in (CXX_OBJS): Add mangle.o. (mangle.o): New rule. Co-Authored-By: Mark Mitchell <mark@codesourcery.com> From-SVN: r34394
Alex Samuel committed -
* Makefile.in (intl.*): Honor non-zero exit codes in the intl subdir. From-SVN: r34393
Kaveh R. Ghazi committed -
From-SVN: r34391
Mark Mitchell committed -
From-SVN: r34390
Jeff Law committed -
alias.c (record_component_aliases): Don't inspect DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures. * alias.c (record_component_aliases): Don't inspect DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures. From-SVN: r34389
Geoff Keating committed -
From-SVN: r34388
Michael Meissner committed -
* test_summary: In generated script, use cat <<'EOF' not cat <<\EOF. Elide --with-gcc-version-trigger and --norecursion from configure flags. Remove code to report status of haifa scheduler. From-SVN: r34387
Zack Weinberg committed -
From-SVN: r34386
Michael Meissner committed -
From-SVN: r34385
Jason Merrill committed
-
- 03 Jun, 2000 12 commits
-
-
* cp-tree.h (TMPL_ARGS_LEVEL): Clarify comment. (INNERMOST_TEMPLATE_ARGS): New macro. (innermost_args): Remove. (get_innermost_template_args): New function. * decl2.c (arg_assoc_class): Use INNERMOST_TEMPLATE_ARGS. * error.c (dump_function_decl): Be caution when using most_general_template. * method.c (build_template_parm_names): Use INNERMOST_TEMPLATE_ARGS. * pt.c (add_to_template_args): Tidy comment (get_innermost_template_args): New function. (check_explicit_specialization): Clear DECL_INITIAL for a new specialization. (process_partial_specialization): Use INNERMOST_TEMPLATE_ARGS. Tidy. (push_template_decl): Always register specializations of the most general template. (convert_template_argument): Use INNERMOST_TEMPLATE_ARGS. (coerce_template_parms): Likewise. (lookup_template_class): Likewise. (innermost_args): Remove. (tsubst_decl): Use INNERMOST_TEMPLATE_ARGS. (tsubst_decl): Handle tricky specializations. Use get_innermost_template_args. (instantiate_template): Simplify handling of partial instantiations. (get_class_bindings): Use INNERMOST_TEMPLATE_ARGS. (most_general_template): Reimplement, in a more straightforward manner. (regenerate_decl_from_template): Tweak formatting. Use TMPL_ARGS_DEPTH for clarity. (set_mangled_name_for_template_decl): Use INNERMOST_ARGS. * dump.c (dequeue_and_dump): Dump information about thunks. From-SVN: r34384
Mark Mitchell committed -
From-SVN: r34383
David Billinghurst committed -
From-SVN: r34382
Jeffrey A Law committed -
From-SVN: r34381
Matt Kraai committed -
* alias.c (record_alias_subset): Initialize has_zero_child in the superset. From-SVN: r34380
Richard Henderson committed -
From-SVN: r34379
Richard Henderson committed -
From-SVN: r34378
Richard Earnshaw committed -
From-SVN: r34377
Jeff Law committed -
2000-06-01 Pekka Nikander <pnr@teldanex.tcm.hut.fi> * Makefile.in: Use $(MAKE) not "make" From-SVN: r34376
Pekka Nikander committed -
exception.cc (__cp_pop_exception): If we aren't popping or rethrowing, push down past any uncaught exceptions. * exception.cc (__cp_pop_exception): If we aren't popping or rethrowing, push down past any uncaught exceptions. (__uncatch_exception): Rethrow the currently handled exception. Move it to the top of the exception stack. From-SVN: r34375
Jason Merrill committed -
From-SVN: r34374
Jason Merrill committed -
* alias.c (struct alias_set_entry): New field has_zero_child. (mem_in_disjoint_alias_sets_p): Return 0 if set in either ase. (get_alias_set): If language-dependent routine set TYPE_ALIAS_SET, do nothing. Call record_component_aliases for aggregate types. (record_alias_subset): Set has_zero_child. (record_component_aliases, case ARRAY_TYPE): Do nothing if TYPE_NONALIASES_COMPONENT. (record_component_aliases, case RECORD_TYPE): Test DECL_NONADDRESSABLE_P. * c-decl.c (grokdeclarator): Set DECL_NONADDRESSABLE_P instead of TREE_ADDRESSABLE. * calls.c (initialize_argument_information): Only test TYPE_TRANSPARENT_UNION for UNION_TYPE. * function.c (assign_parms): Likewise. * integrate.c (function_cannot_inline_p): Likewise. * stor-layout.c (finish_record_layout): Don't call record_component_aliases. * tree.h (struct tree_int_cst): Use struct tree_common. (struct tree_real_cst, struct tree_string): Likewise. (struct tree_complex, struct tree_identifier): Likewise. (struct tree_list, struct tree_vec, struct tree_exp): Likewise. (struct tree_block, struct tree_type, struct tree_decl): Likewise. (TYPE_TRANSPARENT_UNION): Use UNION_TYPE_CHECK. (TYPE_NONALIASES_COMPONENT): New macro. (TYPE_AMBIENT_BOUNDEDNESS): Use FUNCTION_TYPE_CHECK. (DECL_NONADDRESSABLE_P): New macro. (struct tree_decl): Reorder bits for clarity of how many left; add non_adressable. * cp/cp-tree.h: Use struct tree_common instead of a char array. * cp/decl.c (grokdeclarator): Set DECL_NONADDRESSABLE_P instead of TREE_ADDRESSABLE. From-SVN: r34373
Richard Kenner committed
-