aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-06-05class.c (indirect_primary_base_p): New function.Mark Mitchell2-12/+78
* class.c (indirect_primary_base_p): New function. (determine_primary_base): Use it. From-SVN: r34412
2000-06-05cp-demangle.c (demangle_prefix): Cast argument to isdigit to unsigned char.Alex Samuel2-7/+18
* 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
2000-06-05sparc.c (short_branch): Correct error in range computation.Richard Kenner2-3/+10
* config/sparc/sparc.c (short_branch): Correct error in range computation. From-SVN: r34410
2000-06-05New include hacks for ultrixBruce Korb1-155/+450
From-SVN: r34409
2000-06-05typoBruce Korb1-1/+1
From-SVN: r34408
2000-06-05New include hacks for ultrixJ. David Anglin2-15/+154
From-SVN: r34407
2000-06-05Oops, remove conflict markerZack Weinberg1-1/+0
From-SVN: r34406
2000-06-05objc-act.c (generate_method_descriptors): Register ↵Zack Weinberg2-57/+65
objc_method_prototype_template as a GC root. * 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
2000-06-05function.c (assign_parms): Add missing argument to set_mem_attributes call.J. David Anglin2-1/+7
* function.c (assign_parms): Add missing argument to set_mem_attributes call. From-SVN: r34404
2000-06-0520000605-1.c: New test.Jakub Jelinek2-0/+27
* gcc.c-torture/compile/20000605-1.c: New test. Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com> From-SVN: r34403
2000-06-05tree.h (VOID_TYPE_P): New macro.Nathan Sidwell10-754/+768
* 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
2000-06-05Update new-abi dynamic cast algorithm.Nathan Sidwell2-24/+58
* 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
2000-06-05alias.c (get_alias_set): If compnent is addressable, use alias set of component.Richard Kenner7-28/+46
* 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
2000-06-05Daily bump.Jeff Law5-5/+5
From-SVN: r34399
2000-06-05Makefile.in (OBJS): Remove dyn_string.oAlex Samuel4-144/+18
* Makefile.in (OBJS): Remove dyn_string.o (dyn-string.o): Delete rule. * dyn-string.c: Delete file * dyn-string.h: Likewise. From-SVN: r34398
2000-06-05In include,Alex Samuel8-35/+3497
* 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
2000-06-05ir.texi: Correct typo.Mark Mitchell7-13/+63
* 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
2000-06-04libioP.h: Handle new ABI mangling.Mark Mitchell3-4/+22
* libioP.h: Handle new ABI mangling. * stdstrbufs.cc: Likewise. From-SVN: r34395
2000-06-04Make-lang.in (CXX_SRCS): Add mangle.c.Alex Samuel18-337/+2616
* 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
2000-06-04Makefile.in (intl.*): Honor non-zero exit codes in the intl subdir.Kaveh R. Ghazi2-0/+6
* Makefile.in (intl.*): Honor non-zero exit codes in the intl subdir. From-SVN: r34393
2000-06-04* newcvsroot: Handle filenames that contain spaces.Mark Mitchell2-2/+6
From-SVN: r34391
2000-06-04Daily bump.Jeff Law5-5/+5
From-SVN: r34390
2000-06-04alias.c (record_component_aliases): Don't inspect DECL_NONADDRESSABLE_P of ↵Geoff Keating2-2/+7
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
2000-06-04fix typoMichael Meissner1-2/+2
From-SVN: r34388
2000-06-04test_summary: In generated script, use cat <<'EOF' not cat <<\EOF.Zack Weinberg2-5/+13
* 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
2000-06-04add IFCVT_MODIFY macros for the MD file to tweak the conditional execution ↵Michael Meissner3-1/+74
support. From-SVN: r34386
2000-06-03expandJason Merrill1-6/+22
From-SVN: r34385
2000-06-03cp-tree.h (TMPL_ARGS_LEVEL): Clarify comment.Mark Mitchell9-97/+228
* 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
2000-06-03* g77.f-torture/compile/20000601-1.f: New test.David Billinghurst2-0/+31
From-SVN: r34383
2000-06-03* chill.texi (INFO-DIR-ENTRY): Fix chill entry.Jeffrey A Law2-1/+5
From-SVN: r34382
2000-06-03* toplev.c (main): Fix misspellings of possibility and language.Matt Kraai2-3/+7
From-SVN: r34381
2000-06-03alias.c (record_alias_subset): Initialize has_zero_child in the superset.Richard Henderson2-1/+6
* alias.c (record_alias_subset): Initialize has_zero_child in the superset. From-SVN: r34380
2000-06-03* gcc.c-torture/execute/20000603-1.c: New.Richard Henderson2-0/+21
From-SVN: r34379
2000-06-03* arm.md (untyped_call): Use GEN_CALL macro.Richard Earnshaw2-1/+5
From-SVN: r34378
2000-06-03Daily bump.Jeff Law5-5/+5
From-SVN: r34377
2000-06-03Makefile.in: Use $(MAKE) not "make"Pekka Nikander2-1/+5
2000-06-01 Pekka Nikander <pnr@teldanex.tcm.hut.fi> * Makefile.in: Use $(MAKE) not "make" From-SVN: r34376
2000-06-02exception.cc (__cp_pop_exception): If we aren't popping or rethrowing, push ↵Jason Merrill2-9/+59
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
2000-06-02newJason Merrill1-0/+75
From-SVN: r34374
2000-06-02alias.c (struct alias_set_entry): New field has_zero_child.Richard Kenner11-54/+129
* 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
2000-06-03noreturn-1.c (foo7, foo8): Revert previous change.Zack Weinberg3-3/+8
* gcc.dg/noreturn-1.c (foo7, foo8): Revert previous change. * gcc.dg/noreturn-2.c (noreturn): Likewise. From-SVN: r34372
2000-06-03locale_facets.h: Tweak.Benjamin Kosnik6-151/+190
2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * bits/locale_facets.h: Tweak. * src/locale.cc (codecvt<wchar_t>): Tweak. * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x. * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex. * bits/basic_string.h: Move data member up. * src/string-inst.cc: Fix instantiations. * bits/string.tcc: Fix types. From-SVN: r34371
2000-06-02Makefile.in (libgcc.a): Also depend on $(LIB2ADD).Jason Merrill3-3/+11
* Makefile.in (libgcc.a): Also depend on $(LIB2ADD). * mklibgcc.in (force): New target. Make LIB2ADD stuff depend on it. From-SVN: r34370
2000-06-02class.c (get_dispatch_table): Build the vtable dummy entry list element with ↵Alexandre Petit-Bianco2-4/+32
a null purpose. Fri Jun 2 16:48:55 2000 Alexandre Petit-Bianco <apbianco@cygnus.com> * class.c (get_dispatch_table): Build the vtable dummy entry list element with a null purpose. Fixed leading comment. (build_dtable_decl): Build an accurate dtable type when appropriate and use it. From-SVN: r34369
2000-06-02alias.c (lang_get_alias_set): Remove.Richard Henderson14-17/+69
gcc/ * alias.c (lang_get_alias_set): Remove. (get_alias_set): Call it directly, not indirectly. * c-common.c (lang_get_alias_set): Rename from c_get_alias_set. * c-common.h (c_get_alias_set): Don't declare. * c-decl.c (init_decl_processing): Don't set lang_get_alias_set. * expr.h (lang_get_alias_set): Declare as function, not pointer. gcc/ch/ * lang.c (lang_get_alias_set): New. gcc/cp/ * decl.c (init_decl_processing): Don't set lang_get_alias_set. gcc/f/ * com.c (lang_get_alias_set): New. gcc/java/ * lang.c (lang_get_alias_set): New. From-SVN: r34368
2000-06-02tweakJason Merrill1-1/+2
From-SVN: r34367
2000-06-02newJason Merrill3-0/+57
From-SVN: r34366
2000-06-02locale_facets.h (_Format_cache): _S_ecks -> _S_x.Benjamin Kosnik3-12/+29
2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x. * bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex. From-SVN: r34365
2000-06-02* decl.c (store_return_init): Call put_var_into_stack.Jason Merrill2-0/+7
From-SVN: r34364
2000-06-02replace.cc (test01): Qualify find with std::.Anthony Williams2-2/+6
2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net> * testsuite/21_strings/replace.cc (test01): Qualify find with std::. From-SVN: r34363
2000-06-02oopsJason Merrill1-0/+1
From-SVN: r34362