OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago * reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE
rth [Tue, 6 Jun 2000 02:40:14 +0000 (02:40 +0000)]
    * reload1.c (choose_reload_regs): Mind CLASS_CANNOT_CHANGE_SIZE
        while looking for a register to inherit from.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34420 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (libgcc.ready): Lose.
jason [Tue, 6 Jun 2000 01:56:06 +0000 (01:56 +0000)]
    * Makefile.in (libgcc.ready): Lose.
        (libgcc.mk): Just use mv, not move-if-change.
        (LIBGCC_DEPS): New macro.
        (libgcc.a): Use it.
        (stmp-multilib): Likewise.
        * mklibgcc.in (stmp-dirs): New target.  Make everything depend on
        it rather than the directories themselves.
        (LIB2ADD): Depend on the list file rather than 'force'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34419 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNew test.
rth [Tue, 6 Jun 2000 00:19:52 +0000 (00:19 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34418 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agosimplify
jason [Tue, 6 Jun 2000 00:17:32 +0000 (00:17 +0000)]
simplify

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34417 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * fold-const.c (fold, case COND_EXPR): Elide conversion between
jason [Tue, 6 Jun 2000 00:15:37 +0000 (00:15 +0000)]
    * fold-const.c (fold, case COND_EXPR): Elide conversion between
        cv-qualified versions of types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34416 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * search.c (maybe_suppress_debug_info): Don't check
jason [Tue, 6 Jun 2000 00:12:40 +0000 (00:12 +0000)]
    * search.c (maybe_suppress_debug_info): Don't check
        CLASSTYPE_INTERFACE_ONLY if CLASSTYPE_INTERFACE_KNOWN isn't set.

        * pt.c (mark_decl_instantiated): Do SET_DECL_EXPLICIT_INSTANTIATION
        here if extern_p.

        Remember instantiation context in deferred instantiations.
        * cp-tree.h (struct tinst_level): Remove.
        (TINST_DECL, TINST_LINE, TINST_FILE): New macros.
        * pt.c (current_tinst_level): Now a tree.
        (print_template_context, push_tinst_level, pop_tinst_level,
        tinst_for_decl): Adjust.
        (reopen_tinst_level): New fn.
        (init_pt): Register current_tinst_level as a root.
        (add_pending_template): Put current_tinst_level in TREE_PURPOSE
        of the pending templates list.
        (instantiate_pending_templates): Adjust.  Call reopen_tinst_level.
        * lex.c (extract_interface_info): Adjust.
        * decl2.c (warn_if_unknown_interface): Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34415 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config.guess: Updated to latest version.
pthomas [Mon, 5 Jun 2000 23:23:43 +0000 (23:23 +0000)]
* config.guess: Updated to latest version.
* config.sub: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34413 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * class.c (indirect_primary_base_p): New function.
mmitchel [Mon, 5 Jun 2000 20:01:47 +0000 (20:01 +0000)]
* class.c (indirect_primary_base_p): New function.
(determine_primary_base): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34412 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
samuel [Mon, 5 Jun 2000 18:24:07 +0000 (18:24 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34411 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/sparc/sparc.c (short_branch): Correct error in range
kenner [Mon, 5 Jun 2000 18:04:53 +0000 (18:04 +0000)]
* config/sparc/sparc.c (short_branch): Correct error in range
computation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34410 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNew include hacks for ultrix
korbb [Mon, 5 Jun 2000 17:49:58 +0000 (17:49 +0000)]
New include hacks for ultrix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34409 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agotypo
korbb [Mon, 5 Jun 2000 17:49:33 +0000 (17:49 +0000)]
typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34408 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoNew include hacks for ultrix
korbb [Mon, 5 Jun 2000 17:44:07 +0000 (17:44 +0000)]
New include hacks for ultrix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34407 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoOops, remove conflict marker
zack [Mon, 5 Jun 2000 17:00:32 +0000 (17:00 +0000)]
Oops, remove conflict marker

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34406 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * objc/objc-act.c (generate_method_descriptors): Register
zack [Mon, 5 Jun 2000 16:59:43 +0000 (16:59 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34405 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * function.c (assign_parms): Add missing argument to set_mem_attributes
kenner [Mon, 5 Jun 2000 16:58:25 +0000 (16:58 +0000)]
* function.c (assign_parms): Add missing argument to set_mem_attributes
call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34404 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.c-torture/compile/20000605-1.c: New test.
nathan [Mon, 5 Jun 2000 13:44:29 +0000 (13:44 +0000)]
* gcc.c-torture/compile/20000605-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34403 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * tree.h (VOID_TYPE_P): New macro.
nathan [Mon, 5 Jun 2000 13:16:14 +0000 (13:16 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34402 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago Update new-abi dynamic cast algorithm.
nathan [Mon, 5 Jun 2000 12:14:23 +0000 (12:14 +0000)]
Update new-abi dynamic cast algorithm.
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34401 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * alias.c (get_alias_set): If compnent is addressable, use alias
kenner [Mon, 5 Jun 2000 10:49:11 +0000 (10:49 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34400 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Mon, 5 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34399 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (OBJS): Remove dyn_string.o
samuel [Mon, 5 Jun 2000 06:37:17 +0000 (06:37 +0000)]
* Makefile.in (OBJS): Remove dyn_string.o
(dyn-string.o): Delete rule.
* dyn-string.c: Delete file
* dyn-string.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34398 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoIn include,
samuel [Mon, 5 Jun 2000 02:28:41 +0000 (02:28 +0000)]
In include,

* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34397 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * ir.texi: Correct typo.
mmitchel [Mon, 5 Jun 2000 01:42:22 +0000 (01:42 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34396 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * libioP.h: Handle new ABI mangling.
mmitchel [Sun, 4 Jun 2000 21:16:04 +0000 (21:16 +0000)]
* libioP.h: Handle new ABI mangling.
* stdstrbufs.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34395 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Make-lang.in (CXX_SRCS): Add mangle.c.
mmitchel [Sun, 4 Jun 2000 21:12:27 +0000 (21:12 +0000)]
* Make-lang.in (CXX_SRCS): Add mangle.c.
* Makefile.in (CXX_OBJS): Add mangle.o.
(mangle.o): New rule.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34394 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (intl.*): Honor non-zero exit codes in the intl
ghazi [Sun, 4 Jun 2000 19:52:22 +0000 (19:52 +0000)]
* Makefile.in (intl.*): Honor non-zero exit codes in the intl
subdir.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34393 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * newcvsroot: Handle filenames that contain spaces.
mmitchel [Sun, 4 Jun 2000 17:33:50 +0000 (17:33 +0000)]
* newcvsroot: Handle filenames that contain spaces.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34391 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sun, 4 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34390 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * alias.c (record_component_aliases): Don't inspect
mmitchel [Sun, 4 Jun 2000 05:51:12 +0000 (05:51 +0000)]
    * alias.c (record_component_aliases): Don't inspect
        DECL_NONADDRESSABLE_P of non-FIELD_DECL components of structures.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34389 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agofix typo
meissner [Sun, 4 Jun 2000 05:24:29 +0000 (05:24 +0000)]
fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34388 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * test_summary: In generated script, use cat <<'EOF' not cat <<\EOF.
zack [Sun, 4 Jun 2000 02:06:54 +0000 (02:06 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34387 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoadd IFCVT_MODIFY macros for the MD file to tweak the conditional execution support.
meissner [Sun, 4 Jun 2000 02:03:03 +0000 (02:03 +0000)]
add IFCVT_MODIFY macros for the MD file to tweak the conditional execution support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34386 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoexpand
jason [Sun, 4 Jun 2000 02:02:19 +0000 (02:02 +0000)]
expand

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34385 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (TMPL_ARGS_LEVEL): Clarify comment.
mmitchel [Sat, 3 Jun 2000 21:42:49 +0000 (21:42 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34384 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * g77.f-torture/compile/20000601-1.f: New test.
law [Sat, 3 Jun 2000 21:34:24 +0000 (21:34 +0000)]
    * g77.f-torture/compile/20000601-1.f:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34383 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * chill.texi (INFO-DIR-ENTRY): Fix chill entry.
law [Sat, 3 Jun 2000 21:32:06 +0000 (21:32 +0000)]
    * chill.texi (INFO-DIR-ENTRY): Fix chill entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34382 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * toplev.c (main): Fix misspellings of possibility and language.
law [Sat, 3 Jun 2000 21:28:37 +0000 (21:28 +0000)]
    * toplev.c (main): Fix misspellings of possibility and language.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34381 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * alias.c (record_alias_subset): Initialize has_zero_child in the
rth [Sat, 3 Jun 2000 15:03:21 +0000 (15:03 +0000)]
    * alias.c (record_alias_subset): Initialize has_zero_child in the
        superset.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34380 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.c-torture/execute/20000603-1.c: New.
rth [Sat, 3 Jun 2000 15:01:49 +0000 (15:01 +0000)]
    * gcc.c-torture/execute/20000603-1.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34379 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* arm.md (untyped_call): Use GEN_CALL macro.
rearnsha [Sat, 3 Jun 2000 10:44:59 +0000 (10:44 +0000)]
* arm.md (untyped_call): Use GEN_CALL macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34378 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sat, 3 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34377 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-06-01 Pekka Nikander <pnr@teldanex.tcm.hut.fi>
robertl [Sat, 3 Jun 2000 03:01:59 +0000 (03:01 +0000)]
2000-06-01  Pekka Nikander  <pnr@teldanex.tcm.hut.fi>

       * Makefile.in: Use $(MAKE) not "make"

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34376 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * exception.cc (__cp_pop_exception): If we aren't popping or
jason [Sat, 3 Jun 2000 02:20:09 +0000 (02:20 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34375 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agonew
jason [Sat, 3 Jun 2000 02:07:51 +0000 (02:07 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34374 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * alias.c (struct alias_set_entry): New field has_zero_child.
kenner [Sat, 3 Jun 2000 01:57:46 +0000 (01:57 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34373 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.dg/noreturn-1.c (foo7, foo8): Revert previous change.
zack [Sat, 3 Jun 2000 01:53:57 +0000 (01:53 +0000)]
* gcc.dg/noreturn-1.c (foo7, foo8): Revert previous change.
* gcc.dg/noreturn-2.c (noreturn): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34372 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Sat, 3 Jun 2000 01:52:32 +0000 (01:52 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34371 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (libgcc.a): Also depend on $(LIB2ADD).
jason [Sat, 3 Jun 2000 01:39:51 +0000 (01:39 +0000)]
    * Makefile.in (libgcc.a): Also depend on $(LIB2ADD).
        * mklibgcc.in (force): New target.
        Make LIB2ADD stuff depend on it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34370 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFri Jun 2 16:48:55 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Sat, 3 Jun 2000 00:46:44 +0000 (00:46 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34369 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agogcc/
rth [Sat, 3 Jun 2000 00:33:00 +0000 (00:33 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34368 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agotweak
jason [Sat, 3 Jun 2000 00:15:05 +0000 (00:15 +0000)]
tweak

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34367 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agonew
jason [Sat, 3 Jun 2000 00:02:48 +0000 (00:02 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34366 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Fri, 2 Jun 2000 19:41:42 +0000 (19:41 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34365 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (store_return_init): Call put_var_into_stack.
jason [Fri, 2 Jun 2000 19:38:35 +0000 (19:38 +0000)]
    * decl.c (store_return_init): Call put_var_into_stack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34364 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
bkoz [Fri, 2 Jun 2000 18:31:44 +0000 (18:31 +0000)]
2000-06-02  Anthony Williams  <anthony@anthonyw.cjb.net>

* testsuite/21_strings/replace.cc (test01): Qualify find with std::.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34363 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agooops
jason [Fri, 2 Jun 2000 18:19:02 +0000 (18:19 +0000)]
oops

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34362 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agonew
jason [Fri, 2 Jun 2000 17:49:26 +0000 (17:49 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34361 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoonly shut down the server process if the master process is exiting
korbb [Fri, 2 Jun 2000 17:25:47 +0000 (17:25 +0000)]
only shut down the server process if the master process is exiting

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34360 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agofix test result for ultrix_atof_param
korbb [Fri, 2 Jun 2000 16:04:10 +0000 (16:04 +0000)]
fix test result for ultrix_atof_param

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34359 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agofix test result for osf_namespace_a
korbb [Fri, 2 Jun 2000 15:59:32 +0000 (15:59 +0000)]
fix test result for osf_namespace_a

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34358 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoregenerate fixincl.x
korbb [Fri, 2 Jun 2000 14:30:24 +0000 (14:30 +0000)]
regenerate fixincl.x

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34357 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * c-common.c (c_get_alias_set): Check whether signed_type did not
jakub [Fri, 2 Jun 2000 12:50:08 +0000 (12:50 +0000)]
* c-common.c (c_get_alias_set): Check whether signed_type did not
return its argument before calling get_alias_set on the result.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34356 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * fixinc/inclhack.def (osf_namespace_a): Relax expression to
kenner [Fri, 2 Jun 2000 11:45:57 +0000 (11:45 +0000)]
* fixinc/inclhack.def (osf_namespace_a): Relax expression to
match that used before the conversion to c_fix style.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34355 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-06-02 Andrew MacLeod <amacleod@cygnus.com>
amacleod [Fri, 2 Jun 2000 10:15:43 +0000 (10:15 +0000)]
2000-06-02  Andrew MacLeod  <amacleod@cygnus.com>

* expr.c (emit_group_load): Fix typo, GET_MODE not GET_CODE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34354 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Fri, 2 Jun 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34353 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
bkoz [Fri, 2 Jun 2000 07:24:15 +0000 (07:24 +0000)]
2000-06-01  Benjamin Kosnik  <bkoz@gnu.org>

* bits/std_cwctype.h: Clean.
* bits/std_cwchar.h: Clean, remove cruft.

* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
for beginning iconv support.
Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
macro.
* acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
* bits/limits_generic.h: Remove.
* src/gen-num-limits.cc: Same.

* src/locale.cc: Tweaks.

* bits/char_traits.h: Tweaks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34352 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (lang_decl_flags): Add anticipated_p.
mmitchel [Fri, 2 Jun 2000 05:45:34 +0000 (05:45 +0000)]
* cp-tree.h (lang_decl_flags): Add anticipated_p.
(DECL_ANTICIPATED): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34351 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * sh.h (CPP_SPEC): Add -D__NOMACSAVE__ for -mnomacsave.
amylaar [Thu, 1 Jun 2000 23:36:32 +0000 (23:36 +0000)]
* sh.h (CPP_SPEC): Add -D__NOMACSAVE__ for -mnomacsave.
(CONDITIONAL_REGISTER_USAGE): Mac registers are call used
for TARGET_NOMACSAVE.
(NOMACSAVE_BIT): Define.
(TARGET_NOMACSAVE): Define.
(TARGET_SWITCHES): Add "nomacsave".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34350 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agorestore comment
jason [Thu, 1 Jun 2000 23:16:50 +0000 (23:16 +0000)]
restore comment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34349 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * sh.md (untyped_call): Remove excess parameters
amylaar [Thu, 1 Jun 2000 23:14:27 +0000 (23:14 +0000)]
* sh.md (untyped_call): Remove excess parameters

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34348 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-05-23 Bryce McKinlay <bryce@albatross.co.nz>
apbianco [Thu, 1 Jun 2000 20:43:37 +0000 (20:43 +0000)]
2000-05-23  Bryce McKinlay  <bryce@albatross.co.nz>

       * parse.y (patch_method_invocation): Don't try to lookup methods
       in primitive types.

(This fixes the PR gcj/127:
 http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00011.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34347 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-06-01 Stan Cox <scox@cygnus.com>
scox [Thu, 1 Jun 2000 20:13:29 +0000 (20:13 +0000)]
2000-06-01  Stan Cox  <scox@cygnus.com>
* varray.h (VARRAY_PUSH_GENERIC_PTR, VARRAY_PUSH_CHAR_PTR): Fix
macro argument typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34346 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.dg/compare2.c (case 12): XFAIL.
zack [Thu, 1 Jun 2000 20:10:49 +0000 (20:10 +0000)]
* gcc.dg/compare2.c (case 12): XFAIL.
* gcc.dg/noreturn-1.c (foo7, foo8): XFAIL.
* gcc.dg/noreturn-2.c (noreturn): XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34345 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-06-01 Zack Weinberg <zack@wolery.cumb.org>
zack [Thu, 1 Jun 2000 20:06:57 +0000 (20:06 +0000)]
2000-06-01  Zack Weinberg  <zack@wolery.cumb.org>

* cpplex.c (maybe_macroexpand): Use CPP_WTRADITIONAL.  Improve
error message.
* cpplib.c (parse_include): Remove support for VAX-C
"#include starlet" misfeature.

* gcc.dg/cpp-tradwarn2.c: Update egrep pattern.

2000-05-31 Laurynas Biveinis <lauras@softhome.net>

* cppfiles.c: conditionally define O_BINARY.
(open_include_file): pass O_BINARY to open().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34344 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoThu Apr 27 17:47:34 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 1 Jun 2000 18:26:16 +0000 (18:26 +0000)]
Thu Apr 27 17:47:34 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* jcf-parse.c (jcf_parse_source): Reset current_class and
  current_function_decl to NULL before parsing a new file.

(This fixes the PR gcj/207:
 http://sourceware.cygnus.com/ml/java-prs/2000-q2/msg00044.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34343 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * i960.c (i960_br_predict_opcode): Remove.
rth [Thu, 1 Jun 2000 16:29:09 +0000 (16:29 +0000)]
    * i960.c (i960_br_predict_opcode): Remove.
        (i960_print_operand) [+]: Emit branch prediction hints.
        (i960_function_arg): Return early for VOIDmode.
        (i960_round_align): Return early for incomplete types.
        * i960.h (PRINT_OPERAND_PUNCT_VALID_P): New.
        * i960.md (all conditional branches): Add "%+".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34342 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * alias.c (get_alias_set): Don't call language-specific routine more
kenner [Thu, 1 Jun 2000 16:18:18 +0000 (16:18 +0000)]
* alias.c (get_alias_set): Don't call language-specific routine more
than is needed and clean up code a bit.
* c-common.c (c_get_alias_set): All references whose type
is char get alias set 0, but character types need not.
* varasm.c (make_function_rtl): Don't call set_mem_attributes.
(make_decl_rtl): Don't call it for FUNCTION_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34341 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-05-02 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 1 Jun 2000 16:04:14 +0000 (16:04 +0000)]
2000-05-02  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (resolve_field_access): Call the appropriate <clinit>
        before accessing the length of a static array. Craft a decl for
        the field while its time.

(Fixes the PR #129:
 http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00013.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34340 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agonew check result files for fixinc
korbb [Thu, 1 Jun 2000 14:51:11 +0000 (14:51 +0000)]
new check result files for fixinc

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34339 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/i386/i386.c (ix86_use_fcomi_compare): Make global.
cpopetz [Thu, 1 Jun 2000 14:41:31 +0000 (14:41 +0000)]
* config/i386/i386.c (ix86_use_fcomi_compare): Make global.
* config/i386/i386-protos.h (ix86_use_fcomi_compare): Declare.
* config/i386/i386.md (*fp_jcc_3, *fp_jcc_4): Disable if we
will use FCOMI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34338 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (c-decl.o): Depend on $(EXPR_H), not expr.h.
rth [Thu, 1 Jun 2000 10:13:19 +0000 (10:13 +0000)]
    * Makefile.in (c-decl.o): Depend on $(EXPR_H), not expr.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34337 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl.c (init_decl_processing): Set lang_get_alias_set first thing.
rth [Thu, 1 Jun 2000 09:44:58 +0000 (09:44 +0000)]
    * decl.c (init_decl_processing): Set lang_get_alias_set first thing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34336 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * c-decl.c (init_decl_processing): Set lang_get_alias_set first thing.
rth [Thu, 1 Jun 2000 09:44:37 +0000 (09:44 +0000)]
    * c-decl.c (init_decl_processing): Set lang_get_alias_set first thing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34335 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl2.c (unsupported_options): Fix typo, make const.
rth [Thu, 1 Jun 2000 09:40:07 +0000 (09:40 +0000)]
    * decl2.c (unsupported_options): Fix typo, make const.
        (lang_decode_option): Fix bsearch argument order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34334 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Thu, 1 Jun 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34333 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-24 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 1 Jun 2000 07:44:58 +0000 (07:44 +0000)]
2000-04-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* class.c (common_enclosing_context_p): New function.
* java-tree.h (common_enclosing_context_p): Added prototype.
* parse.h (INNER_ENCLOSING_SCOPE_CHECK): Relaxed test to allow
classes sharing an outer context with the current instance.
* parse.y (build_access_to_thisn): Fixed leading comment.
(verify_constructor_super): New local `supper_inner'. Skip
enclosing context argument in the case of inner class constructors.
(patch_method_invocation): Insert proper context as second
parameter to pure inner class constructor super invocations.

This fixes the Java PR #177.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34332 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * init.c (resolve_offset_ref): Remove check for TREE_ADDRESSABLE
mmitchel [Thu, 1 Jun 2000 07:33:19 +0000 (07:33 +0000)]
* init.c (resolve_offset_ref): Remove check for TREE_ADDRESSABLE
on FIELD_DECLs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34331 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-05 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 1 Jun 2000 06:41:11 +0000 (06:41 +0000)]
2000-04-05  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* jcf-write.c (generate_bytecode_insns): At invokation time,
always relate an interface method to the type of its selector.

(Fix to the PR #71:
 http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00040.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34330 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-04-17 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 1 Jun 2000 05:54:26 +0000 (05:54 +0000)]
2000-04-17  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (maybe_yank_clinit): New function.
        (maybe_generate_pre_expand_clinit): Always link <clinit> at the
        end of the list of methods belonging to a class.
        (java_complete_expand_method): Check whether <clinit> is really
        necessary and expand it accordingly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34329 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
bkoz [Thu, 1 Jun 2000 02:55:30 +0000 (02:55 +0000)]
2000-05-31  Russell Davidson  <russell@ehess.cnrs-mrs.fr>

* bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
exponent, and scientific formatting issues.
* testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34328 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-05-31 Branko Cibej <branko.cibej@hermes.si>
bkoz [Thu, 1 Jun 2000 01:36:14 +0000 (01:36 +0000)]
2000-05-31  Branko Cibej  <branko.cibej@hermes.si>

        * bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
        and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34327 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cp-tree.h (c_get_alias_set): Deleted.
kenner [Thu, 1 Jun 2000 01:16:52 +0000 (01:16 +0000)]
* cp-tree.h (c_get_alias_set): Deleted.
* Makefile.in (decl.o): Include ../expr.h.
* decl.c (expr.h): Include.
(init_decl_processing): Call record_component_aliases for arrays.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for fields that aren't bitfields.
* tree.c (build_cplus_array_type_1): Call record_component_aliases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34326 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
kenner [Thu, 1 Jun 2000 01:12:19 +0000 (01:12 +0000)]
* Makefile.in (c-decl.o): Depend on rtl.h and expr.h.
* alias.c (struct alias_entry): alias_set is HOST_WIDE_INT.
(REG_BASE_VALUE): Remove unneeded cast to unsigned.
(get_alias_set_entry): ALIAS_SET arg is HOST_WIDE_INT.
(find_base_decl): New function, from c_find_base_decl in c-common.c.
(new_alias_set): Moved from tree.c; return is HOST_WIDE_INT.
(get_alias_set): Likewise.
Major rework to do more things and allow language-specific code
to just handle special-cases.
(record_alias_subset): Args are HOST_WIDE_INT.
(record_component_alias): Local vars are HOST_WIDE_INT.
Don't handle COMPLEX_EXPR.
(get_varargs_alias_set): Moved from builtins.c.
(get_frame_alias_set): New function.
* builtins.c (expand_builtin_return_address): Use frame alias set.
(expand_builtin_setjmp, expand_builtin_longjmp): Use alias set
for setjmp buffer.
(get_memory_rtx): Rework to use set_mem_attributes.
(get_varargs_alias_set): Deleted from here.
* c-common.c (c_apply_type_quals_to_decl): Alias sets now HOST_WIDE_INT.
(c_find_base_decl): Deleted from here.
(c_get_alias_set): Remove many cases and rework to just handle
C-specific cases.
* c-common.h (c_get_alias_set): Returns HOST_WIDE_INT.
* c-decl.c (rtl.h, expr.h): Now included.
(init_decl_processing): Call record_component_aliases on array types.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for all fields that are not bitfields.
* c-typeck.c (common_type): Call record_component_aliases for array.
* caller-save.c (setup_save_areas): Rework register loop for unsigned.
Set all save areas to the frame alias set.
* calls.c (initialie_argument_information): Call set_mem_attributes.
(compute_argument_addresses, expand_call): Likewise.
* explow.c (set_mem_attributes): New function.
(stabilize): Use MEM_COPY_ATTRIBUTES and force_reg.
* expr.c (struct move_by_pieces): Remove {to,from}_{struct,readonly}.
LEN and OFFSET now HOST_WIDE_INT.
(clear_by_pieces): Similar changes.
(move_by_pieces): LEN now HOST_WIDE_INT; don't set deleted fields.
(move_by_pieces_ninsns): Now returns unsigned HOST_WIDE_INT.
(move_by_pieces_1): Don't use deleted fields, use MEM_COPY_ATTRIBUTES.
(clear_by_pieces_1): Likewise.
(emit_push_insn): Call set_mem_attributes.
(expand_expr, case INDIRECT_REF): Likewise.
(expand_expr, case VAR_DECL): Call change_address.
* expr.h (ADD_PARM_SIZE, SUB_PARM_SIZE): Use host_integerp and
tree_low_cst.
(get_varargs_alias_set, get_frame_alias_set): New decls.
(record_base_value, record_alias_subset, lang_get_alias_set): Likewise.
(new_alias_set, set_mem_attributes): Likewse.
* function.c (struct temp_slot): ALIAS_SET is HOST_WIDE_INT.
(assign_stack_temp_for_type): Likewise.
Can split slot even if alias set since can copy.
Set MEM_ALIAS_SET and MEM_SET_IN_STRUCT_P.
(assign_temp): Use host_integerp and tree_low_cst.
(put_var_into_stack): Properly handle SAVE_EXPR.
(put_addressof_into_stack): Likewise.
(assign_parms): Call set_mem_attributes.
Delete #if 0 code.
(fix_lexical_address): Put reference to chain into frame alias set.
(expand_function_start): Call set_mem_attributes.
* integrate.c (expand_inline_function): Likewise.
* recog.c (adj_offsettable_operand): Use MEM_COPY_ATTRIBUTES.
* regmove.c (try_apply_stack_adjustment): Likewise.
* reload.c (push_reload, make_memloc): Likewise.
* reload1.c (alter_reg): Make alias sets for spilled pseudos.
* rtl.def (MEM): Update comment.
* rtl.h (MEM_ALIAS_SET): Now uses XCWINT.
(move_by_pieces): Change length to HOST_WIDE_INT.
(record_base_value, record_alias_subset): Delete from here.
* stmt.c (expand_decl): Call set_mem_attributes.
* stor-layout.c (finish_record_layout): Call record_component_aliases.i
* toplev.c (compile_file): Call init_alias_once earlier.
* tree.c (lang_get_alias_set, get_alias_set, new_alias_set): Deleted
from here: now in alias.c.
* tree.h (struct tree_type): alias_set is HOST_WIDE_INT.
(struct tree_decl): Likewise.
(get_alias_set, new_alias_set, lang_get_alias_set): Deleted from here.
* varasm.c (make_function_rtl, make_decl_rtl): Call set_mem_attributes.
(output_constant_def, force_const_mem): Likewise.
* cp/Makefile.in (decl.o): Include ../expr.h.
* cp/decl.c (expr.h): Include.
(init_decl_processing): Call record_component_aliases for arrays.
(grokdeclarator): Likewise.
Set TREE_ADDRESSABLE for fields that aren't bitfields.
* cp/tree.c (build_cplus_array_type_1): Call record_component_aliases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34325 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-05-31 Nathan Myers <ncm@cantrip.org>
bkoz [Thu, 1 Jun 2000 01:06:56 +0000 (01:06 +0000)]
2000-05-31  Nathan Myers  <ncm@cantrip.org>

       * docs/thanks.html: edit own credits

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34324 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Thu, 1 Jun 2000 01:01:34 +0000 (01:01 +0000)]
2000-05-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34323 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Thu, 1 Jun 2000 00:56:37 +0000 (00:56 +0000)]
2000-05-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34322 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Thu, 1 Jun 2000 00:52:26 +0000 (00:52 +0000)]
2000-05-31  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...

2000-05-31 Steven King <sxking@uswest.net>

        * shadow/time.h: fix typo
        * shadow/wchar.h: ifdef __USE_GNU for wcsdup
        * shadow/bits/std_cwchar.h: ditto
        * shadow/bits/std_cstdlib.h: add overloads of abs and div for long
        and long long.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34321 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-05-31 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 1 Jun 2000 00:28:32 +0000 (00:28 +0000)]
2000-05-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (resolve_field_access): Complete the DECL_INITIAL tree
        before using it as the accessed field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34320 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/ia64/ia64.c (sdata_symbolic_operand): Consider small
rth [Thu, 1 Jun 2000 00:14:13 +0000 (00:14 +0000)]
    * config/ia64/ia64.c (sdata_symbolic_operand): Consider small
        CONSTANT_POOL_ADDRESS_P addresses for .sdata.
        * config/ia64/sysv4.h (SELECT_RTX_SECTION): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34319 138bc75d-0d04-0410-961f-82ee72b054a4