OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago * tree.c (cp_build_qualified_type_real): If we're asking for the
jason [Thu, 26 Aug 1999 02:19:26 +0000 (02:19 +0000)]
* tree.c (cp_build_qualified_type_real): If we're asking for the
same quals we already have, just return.

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

24 years ago * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
rth [Thu, 26 Aug 1999 00:59:14 +0000 (00:59 +0000)]
    * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
        canonization.

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

24 years ago * m88k.h (VERSION_INFO2): Kill.
rth [Wed, 25 Aug 1999 22:40:16 +0000 (22:40 +0000)]
    * m88k.h (VERSION_INFO2): Kill.
        (VERSION_STRING): Kill.
        (TM_RCS_ID): Kill.
        (VERSION_INFO1): Tidy.
        (TARGET_VERSION): Update.
        * m88k/dgux.h (VERSION_INFO2): Kill.
        (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
        * m88k/luna.h (VERSION_INFO1): Tidy.
        * m88k/sysv4.h (VERSION_INFO1): Likewise.
        * m88k.c (out_rcs_id, tm_rcs_id): Kill.
        (output_file_start): Adjust for death of VERSION_STRING.

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

24 years ago * cp-tree.def (SUBOBJECT): New tree node.
mmitchel [Wed, 25 Aug 1999 22:07:18 +0000 (22:07 +0000)]
* cp-tree.def (SUBOBJECT): New tree node.
* cp-tree.h (CLEANUP_P): New macro.
(SUBOBJECT_CLEANUP): Likewise.
(keep_next_level): Add parameter.
(get_temp_regvar): Don't declare.
(emit_base_init): Remove parameter.
(expand_aggr_init): Rename to build_aggr_init.
(expand_vec_init): Rename to build_vec_init.
(do_pushlevel): Remove.
(do_poplevel): Likewise.
(finish_cleanup): New function.
(finish_subobject): Likewise.
(stmts_are_full_exprs_p): New variable.
* decl.c (keep_next_level): Add parameter.
(cp_finish_decl): Use build_aggr_init, not
expand_aggr_init.  Use finish_expr_stmt to expand the code.
(expand_static_init): Use tree-generating, not RTL-generating,
functions to handle the initialization.
(start_function): Remove dead code.  Always have a momentary
obstack inside the function, even before hitting the first curly
brace.
(cplus_expand_expr_stmt): Move calls to
expand_{start,end}_target_temps into semantics.c.
(cp_function): Add stmts_are_full_exprs_p.
(push_cp_function_context): Save it.
(pop_cp_function_context): Restore it.
* decl2.c (get_temp_regvar): Move to init.c.
(do_static_initialization): Use build_{aggr,vec}_init.
(do_static_destruction): Fix typo in comment.
* dump.c (dequeue_and_dump): Handle INIT_EXPR.
* except.c (expand_throw): Use create_temporary_var.
* expr.c (cplus_expand_expr): Use build_{aggr,vec}_init.
* init.c (expand_vec_init_try_block): Remove.
(expand_vec_init_catch_clause): Likewise.
(get_temp_regvar): New function.
(begin_init_stmts): Likewise.
(finish_init_stmts): Likewise.
(perform_member_init): Use build_{aggr,vec}_init.  Build up tree
structure here.
(emit_base_init): Likewise.  Remove unused parameter.
(expand_virtual_init): Likewise.
(expand_cleanup_for_base): Use finish_subobject.
(expand_aggr_vbase_init_1): Simplify.
(construct_virtual_bases): Use tree-generating functions to build
up initialization.
(expand_aggr_init): Likewise.  Rename to build_aggr_init.
(expand_default_init): Likewise.
(expand_aggr_init_1): Likewise.
(expand_vec_init): Rename to build_vec_init.
* method.c (do_build_copy_constructor): Use tree-generating
functions.  Don't call clear_last_expr.
(do_build_assign_ref): Likewise.
(synthesize_method): Call clear_last_expr here.
* parse.y (base_init): Don't call clear_last_expr here.
(nodecls): Likewise.
* pt.c (tsubst_expr): Handle a TRY_BLOCK with CLEANUP_P set.
* semantics.c (do_pushlevel): Move to here.
(do_poplevel): Likewise.
(stmts_are_full_exprs_p): New variable.
(finish_expr_stmt): Handle logic for temoprary cleanup here.
(finish_for_stmt): Use finish_expr_stmt.
(finish_cleanup): New function.
(finish_function_try_block): Fix indentation.
(finish_subobject): New function.
(setup_vtbl_ptr): Call keep_next_level here.
(finish_stmt_expr): Handle a block with no scope inside the
statement-expression.
(expand_stmt): Handle a TRY_BLOCK with CLEANUP_P set.  Handle
SUBOBJECT.
* tree.c (search_tree): Handle INIT_EXPR.
(mapcar): Likewise.
* typeck.c (build_modify_expr): Don't build an RTL_EXPR.
* typeck2.c (store_init_value): Change expand_aggr_init to
build_aggr_init in comment.

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

24 years ago1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
zack [Wed, 25 Aug 1999 22:01:36 +0000 (22:01 +0000)]
1999-08-25 13:51 -0700  Jim Meyering  <meyering@ascend.com>

* cpplib.c (detect_if_not_defined): New function.
(do_if): Use it to detect potential once-only headers.

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

24 years ago* g++.old-deja/g++.pt/lss-001.C, lss-002.C, lss-003.C, lss-004.C,
oliva [Wed, 25 Aug 1999 21:48:16 +0000 (21:48 +0000)]
* g++.old-deja/g++.pt/lss-001.C, lss-002.C, lss-003.C, lss-004.C,
lss-005.C, lss-006.C, lss-007.C, lss-008.C, lss-009.C, lss-010.C,
lss-011.C: New tests.

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

24 years ago * c-common.c (combine_strings): Always set TREE_CONSTANT.
jason [Wed, 25 Aug 1999 21:05:16 +0000 (21:05 +0000)]
* c-common.c (combine_strings): Always set TREE_CONSTANT.

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

24 years ago * combine.c (nonzero_bits) : Allow single-ly set registers to be
gavin [Wed, 25 Aug 1999 19:29:43 +0000 (19:29 +0000)]
* combine.c (nonzero_bits) : Allow single-ly set registers to be
anywere in the function only if they are pseudos and set before
being used (not live at the start of the function).
(num_sign_bit_copies) : Same.
(get_last_value_validate) : Same.
(get_last_value) : Same.

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

24 years ago * libjava.toshiba/G19990304_01.out: New file.
tromey [Wed, 25 Aug 1999 18:38:58 +0000 (18:38 +0000)]
* libjava.toshiba/G19990304_01.out: New file.
* libjava.toshiba/G19990304_01.java: New file.

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

24 years ago * jvspec.c (lang_specific_driver): Correctly handle --help again.
tromey [Wed, 25 Aug 1999 18:37:05 +0000 (18:37 +0000)]
* jvspec.c (lang_specific_driver): Correctly handle --help again.

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

24 years ago * loop.c (express_from): Try harder to unify (* c N) and (* c M)
rth [Wed, 25 Aug 1999 18:14:11 +0000 (18:14 +0000)]
    * loop.c (express_from): Try harder to unify (* c N) and (* c M)
        where N and M are constant and N is an integer multiple of M.

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

24 years ago * dump.c (dequeue_and_dump): Dump TARGET_EXPRs.
mmitchel [Wed, 25 Aug 1999 18:06:25 +0000 (18:06 +0000)]
* dump.c (dequeue_and_dump): Dump TARGET_EXPRs.

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

24 years agoWed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
amacleod [Wed, 25 Aug 1999 18:01:48 +0000 (18:01 +0000)]
Wed Aug 25 13:55:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>

* sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
(sbitmap_intersection_of_preds, sbitmap_union_of_succs,
sbitmap_union_of_preds): Add prototypes.
* sbitmap.c (sbitmap_intersection_of_succs): New function to compute
the intersection of successors with the new flow graph structures.
(sbitmap_intersection_of_preds): New function to compute the
intersection of predecessors with the new flow graph structures.
(sbitmap_union_of_succs): New function to compute the union of
successors with the new flow graph structures.
(sbitmap_union_of_preds): New function to compute the union of
predecessors with the new flow graph structures.
* gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
(expr_reaches_here_p): Use edge and basic_block structures instead
of s_preds and s_succs.
(compute_cprop_avinout): Use new sbitmap routines.
(pre_expr_reaches_here_p): Use edge and basic_block structures instead
of s_preds and s_succs.
* flow.c (compute_flow_dominators): Compute dominators using
edges and basic blocks instead of s_preds and s_succs.

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

24 years ago * libjava.lang/G19990310_01.out: New file.
tromey [Wed, 25 Aug 1999 17:54:55 +0000 (17:54 +0000)]
* libjava.lang/G19990310_01.out: New file.
* libjava.lang/G19990310_01.java: New file.

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

24 years agoWed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
amacleod [Wed, 25 Aug 1999 17:50:53 +0000 (17:50 +0000)]
Wed Aug 25 13:41:47 EDT 1999  Andrew MacLeod  <amacleod@cygnus.com>

* lists.c (unused_insn_list, unused_expr_list): New file for
maintaining various types of lists. New statics for maintaining a
cache of available INSN_LIST and EXPR_LIST nodes.
(free_list): Static function for freeing a list of INSN/EXPR nodes.
(alloc_INSN_LIST): Function to get a free INSN_LIST node.
(alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
(init_EXPR_INSN_LIST_cache): Initialize the cache lists.
(free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
(free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
(free_EXPR_LIST_node): Free an individual EXPR_LIST node.
(free_INSN_LIST_node): Free an individual INSN_LIST node.
* haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
(free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
(remove_dependence, free_pending_lists): Use new global routines.
(flush_pending_lists, sched_analyze_insn): Use new global routines.
(sched_analyze, compute_block_backward_dependences): Use new routines.
(sched_analyze_1, sched_analyze_2): Use new routines.
(schedule_insns): Use new global routines.
* rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
prototypes.
(free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
(free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
prototypes.
* toplev.c (rest_of_compilation): Initialize node cache.
* Makefile.in (OBJS): Add lists.o to list of object files.
(lists.o): Add dependancies.

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

24 years agoFix compile time warning messages.
nickc [Wed, 25 Aug 1999 16:39:21 +0000 (16:39 +0000)]
Fix compile time warning messages.

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

24 years ago * gjavah.c (print_name, print_base_classname, utf8_cmp,
ghazi [Wed, 25 Aug 1999 13:59:28 +0000 (13:59 +0000)]
* gjavah.c (print_name, print_base_classname, utf8_cmp,
cxx_keyword_subst, generate_access, name_is_method_p,
get_field_name, print_field_name, super_class_name, print_include,
decode_signature_piece, print_class_decls, usage, help,
java_no_argument, version, add_namelet, print_namelet): Add static
prototype.
(print_base_classname, utf8_cmp, cxx_keyword_subst,
name_is_method_p): Constify a char*.
(get_field_name): Likewise.  Prefer xstrdup over malloc/strcpy.
Provide a final else clause in an if-else-if.
(print_field_info): Add missing final arg in function call to
`print_field_name'.
(print_method_info, decompile_method, decode_signature_piece,
print_c_decl, print_full_cxx_name, print_stub,
print_mangled_classname, super_class_name, print_include,
add_namelet, add_class_decl, print_class_decls, process_file,
help): Constify a char*.

* jcf-write.c (jcf_handler, push_constant1, push_constant2,
push_int_const, find_constant_wide, find_constant_index,
push_long_const, field_op, maybe_wide, emit_dup, emit_pop,
emit_iinc, emit_load_or_store, emit_load, emit_store, emit_unop,
emit_binop, emit_reloc, emit_switch_reloc, emit_case_reloc,
emit_if, emit_goto, emit_jsr, call_cleanups,
make_class_file_name): Add static prototypes.
(generate_bytecode_return, generate_bytecode_insns): Pass a
NULL_PTR, not a NULL_TREE.

* jv-scan.c: Include "jcf.h".
(main): Declare using DEFUN macro.

* jvspec.c (find_spec_file, lang_specific_pre_link,
lang_specific_driver): Add prototypes.
(find_spec_file): Constify a char*.

* keyword.gperf (hash, java_keyword): Add prototypes.

* lang.c (lang_print_error): Add static prototype.
(lang_init): Prefer memcpy over bcopy to avoid casts.

* lex.c (yylex): Add static prototype.

* parse-scan.y: Include "lex.c" earlier.

* parse.h: Remove redundant declaration for `yylex'.

* parse.y (java_decl_equiv, binop_compound_p, search_loop,
labeled_block_contains_loop_p): Add static prototypes.
(not_accessible_p): Make static to match prototype.

* verify.c (start_pc_cmp): Don't needlessly cast away const.

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

24 years ago * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
ghazi [Wed, 25 Aug 1999 13:47:00 +0000 (13:47 +0000)]
* genattr.c (gen_attr): Add prototype arguments for get_attr_*().
Remove unused prototype for `init_lengths'.

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

24 years agoWarning fixes:
ghazi [Wed, 25 Aug 1999 13:37:46 +0000 (13:37 +0000)]
Warning fixes:

* calls.c (emit_call_1): Mark parameter `stack_size' with
ATTRIBUTE_UNUSED.
(expand_call): Initialize variable `insn'.
(emit_library_call): Likewise for variable `high_to_save'.
(emit_library_call_value): Likewise.
(store_one_arg): Likewise for variables `lower_bound' and
`upper_bound'.

* combine.c (try_combine): Likewise for variables `i2_code_number'
and `other_code_number'.
(find_split_point): Likewise for variables `pos', `unsignedp' and
`inner'.
(simplify_if_then_else): Likewise for variables `op' and `c1'.
(simplify_and_const_int): Remove unused variable `width'.
(merge_outer_ops): Likewise.

* cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
HOST_WIDE_INT' when comparing against one.
(simplify_relational_operation): Likewise.
(cse_insn): Initialize variables `src_eqv_volatile',
`src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.

* final.c (init_final): Constify parameter `filename'.
(final_start_function): Mark parameter `optimize' with
ATTRIBUTE_UNUSED.
(profile_function): Likewise for parameters `first' and `optimize'.
(output_source_line): Likewise for parameter `file'.

* integrate.c (subst_constants): Cast a value to `size_t' when
comparing against one.
(mark_stores): Initialize variable `mode'.  Cast a value to
`size_t' when comparing against one.

* integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.

* loop.c (move_movables): Initialize variable `first'.
(strength_reduce): Likewise for variable `increment'.
(check_dbra_loop): Likewise for variable `comparison_val'.  Cast a
value to `size_t' when comparing against one.
(load_mems): Initialize variable `end_label'.

* output.h (init_final): Constify parameter.

* reload.c (decompose): Initialize variable `base'.

* reload1.c (reload): Likewise for variable `is_scalar'.
(spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
(choose_reload_regs): Initialize variable `mode'.
(emit_reload_insns): Likewise for variable `store_insn'.
(reload_cse_noop_set_p): Mark parameter `insn' with
ATTRIBUTE_UNUSED.
(reload_combine): Initialize variable `set'.

* unroll.c (unroll_loop): Likewise for variable `local_label'.
(copy_loop_body): Cast a value to `size_t' when comparing against
one.

* varasm.c (assemble_variable): Initialize variable `size_tree'.
(const_hash): Add an `else abort()' in an if-else-if-else sequence.
(remove_from_pending_weak_list): Mark parameter `name' with
ATTRIBUTE_UNUSED.

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

24 years agoWarning fixes:
ghazi [Wed, 25 Aug 1999 13:29:34 +0000 (13:29 +0000)]
Warning fixes:

* cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
comparing against a signed quantity.
(arm_special): Likewise.
(demangle_fund_type): Likewise.
(do_hpacc_template_const_value): Mark parameter `work' with
ATTRIBUTE_UNUSED.
(main): Constify variable `valid_symbols'.

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

24 years ago* thunk1.C: New test.
oliva [Wed, 25 Aug 1999 13:03:00 +0000 (13:03 +0000)]
* thunk1.C: New test.

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

24 years ago* g++.old-deja/g++.other/decl5.C: New test
nathan [Wed, 25 Aug 1999 12:05:23 +0000 (12:05 +0000)]
* g++.old-deja/g++.other/decl5.C: New test

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

24 years ago* decl2.c (handle_class_head): Be graceful about additional
nathan [Wed, 25 Aug 1999 12:04:47 +0000 (12:04 +0000)]
* decl2.c (handle_class_head): Be graceful about additional
scope qualifiers. Adjust comments to reflect reality.

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

24 years agoFix small problem with gcse dumps
crux [Wed, 25 Aug 1999 10:27:43 +0000 (10:27 +0000)]
Fix small problem with gcse dumps

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

24 years agoDo not configure or build ld for AIX native systems.
nickc [Wed, 25 Aug 1999 10:12:07 +0000 (10:12 +0000)]
Do not configure or build ld for AIX native systems.

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

24 years agoAdd support for generating .weak, .type and .size assembler directives.
nickc [Wed, 25 Aug 1999 10:01:59 +0000 (10:01 +0000)]
Add support for generating .weak, .type and .size assembler directives.

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

24 years agoFix typo.
law [Wed, 25 Aug 1999 08:21:46 +0000 (08:21 +0000)]
Fix typo.

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

24 years agoFix typo
law [Wed, 25 Aug 1999 08:20:52 +0000 (08:20 +0000)]
Fix typo

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

24 years agoFix typos.
law [Wed, 25 Aug 1999 08:20:06 +0000 (08:20 +0000)]
Fix typos.

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

24 years agoTypo.
law [Wed, 25 Aug 1999 08:18:41 +0000 (08:18 +0000)]
Typo.

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

24 years agoFix minor oops in last change.
law [Wed, 25 Aug 1999 08:01:01 +0000 (08:01 +0000)]
Fix minor oops in last change.

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

24 years agoDaily bump.
law [Wed, 25 Aug 1999 07:45:11 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
law [Wed, 25 Aug 1999 07:38:23 +0000 (07:38 +0000)]
* calls.c (emit_call_1): Use call_pop/call_value_pop for all values
of n_popped when call/call_value are not defined.

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

24 years ago * configure.in: Alphabetize selection of .ml fragments.
law [Wed, 25 Aug 1999 07:33:08 +0000 (07:33 +0000)]
    * configure.in: Alphabetize selection of .ml fragments.

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

24 years ago * tm.texi: GNU CC -> GCC conversion.
law [Wed, 25 Aug 1999 07:27:13 +0000 (07:27 +0000)]
    * tm.texi: GNU CC -> GCC conversion.
        (CC1_SPEC): Indicate it is used for all language front ends.

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

24 years ago * lang-specs.h: Pass cc1 spec to f771.
law [Wed, 25 Aug 1999 07:22:42 +0000 (07:22 +0000)]
    * lang-specs.h: Pass cc1 spec to f771.

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

24 years ago * config-ml.in: Pass compiler flag corresponding to multidirs to
law [Wed, 25 Aug 1999 07:14:07 +0000 (07:14 +0000)]
    * config-ml.in: Pass compiler flag corresponding to multidirs to
        subdir configures.

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

24 years ago * loop.c (strength_reduce): Automatically unroll loops if the
law [Wed, 25 Aug 1999 06:51:15 +0000 (06:51 +0000)]
    * loop.c (strength_reduce): Automatically unroll loops if the
        unrolled loop size is smaller than the rolled loop size.

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

24 years ago * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
mmitchel [Wed, 25 Aug 1999 06:44:46 +0000 (06:44 +0000)]
* flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
NOTE_INSN_EH_REGION_END correctly.

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

24 years ago * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
law [Wed, 25 Aug 1999 05:28:26 +0000 (05:28 +0000)]
    * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
        and delete comment that code should be rewritten.

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

24 years ago * haifa-sched.c (find_rgns): Mark a block found during the DFS search
law [Wed, 25 Aug 1999 05:24:04 +0000 (05:24 +0000)]
    * haifa-sched.c (find_rgns): Mark a block found during the DFS search
        as reachable.

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

24 years ago * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
law [Wed, 25 Aug 1999 04:58:36 +0000 (04:58 +0000)]
    * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.

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

24 years ago * fixinc/mkfixinc.sh: Don't fix uwin headers.
law [Wed, 25 Aug 1999 04:43:17 +0000 (04:43 +0000)]
    * fixinc/mkfixinc.sh: Don't fix uwin headers.
        * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
        (LINK_SPEC): Add -u _main when building executables.
        (ASM_DECLARE_FUNCTION): Update from Cygwin.
        (ASM_FILE_END): Use the default for ix86-pe.
        * i386/xm-uwin.h (HAVE_BCOPY): Undefine.

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

24 years ago * gcse.c (find_avail_set): Follow chains of register-register copies.
law [Wed, 25 Aug 1999 04:24:36 +0000 (04:24 +0000)]
    * gcse.c (find_avail_set): Follow chains of register-register copies.
        Use oprs_not_set_p to guarantee that the returned value can be
        substituted.
        (cprop_insn): Don't verify the return value of find_avail_set with
        oprs_not_set_p.

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

24 years ago * gcse.c (cprop_jump): New function, broken out of cprop_insn.
law [Wed, 25 Aug 1999 03:30:45 +0000 (03:30 +0000)]
    * gcse.c (cprop_jump): New function, broken out of cprop_insn.
        (cprop_cc0_jump): New function.
        (cprop_insn): Break out new function cprop_jump and use it.
        Also use cprop_cc0_jump for machines with CC0.
        (cprop): Don't crash if cprop_insn turned the insn into a NOTE.

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

24 years ago * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
law [Wed, 25 Aug 1999 02:52:15 +0000 (02:52 +0000)]
    * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
        and ASM_CLOSE_PAREN are empty strings.

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

24 years ago* Makefile.in (PREPROCESSOR_DEFINES): New macro.
geoffk [Wed, 25 Aug 1999 02:49:56 +0000 (02:49 +0000)]
* Makefile.in (PREPROCESSOR_DEFINES): New macro.
(protoize.o):  Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
(unprotoize.o): Ditto.
(test-protoize-simple): Don't define STD_PROTO_DIR.
* protoize.c: Use PARAMS rather than PROTO.  Minor whitespace
changes to make 'test-protoize-simple' pass.
(STD_PROTO_DIR): Remove define.
(STANDARD_EXEC_PREFIX): Supply default define.
(standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
(target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
(target_version): New variable, init to DEFAULT_TARGET_VERSION.
(GET_ENV_PATH_LIST): New macro.
(default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
(do_processing): Initialize default_syscalls_dir using new
macros.  Use it to initialize syscalls_absolute_filename.

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

24 years ago * posix-threads.cc: Include <errno.h>.
bryce [Wed, 25 Aug 1999 00:46:23 +0000 (00:46 +0000)]
    * posix-threads.cc: Include <errno.h>.

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

24 years ago * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
rth [Wed, 25 Aug 1999 00:00:03 +0000 (00:00 +0000)]
    * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
        B into a register before emit_conditional_move.

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

24 years ago * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
rth [Tue, 24 Aug 1999 22:37:34 +0000 (22:37 +0000)]
    * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
        as (+ (+ (* a b) (* d e)) c).  Factor a common power-of-two
        multiplicand out of (+ (* a b) (* c d)).

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

24 years ago * haifa-sched.c (split_hard_reg_notes): Move to flow.c
rth [Tue, 24 Aug 1999 22:35:55 +0000 (22:35 +0000)]
    * haifa-sched.c (split_hard_reg_notes): Move to flow.c
        (new_insn_dead_notes): Likewise.
        (update_n_sets): Likewise.
        (update_flow_info): Move to flow.c, renamed to update_life_info;
        extend to handle multiple source insns.
        * flow.c: Include resource.h
        (unlink_insn_chain): New.
        (split_hard_reg_notes): New.
        (maybe_add_dead_note): New.
        (maybe_add_dead_note_use): New.
        (find_insn_with_note): New.
        (new_insn_dead_notes): New.
        (update_n_sets): New.
        (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
        (maybe_remove_dead_notes): New.
        (update_life_info): New.
        (prepend_reg_notes): New.
        (replace_insns): New.
        * output.h (update_life_info): Declare.
        * recog.c (split_block_insns): Use update_life_info.
        * resource.c (find_free_register): Use reg_alloc_order, don't use
        fixed regs, make sure the mode is supported, don't use new regs.
        (reg_dead_p): New.
        * rtl.h (replace_insns): Declare.

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

24 years agonew
jason [Tue, 24 Aug 1999 21:25:13 +0000 (21:25 +0000)]
new

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

24 years ago * call.c (build_conditional_expr): Fix typo.
jason [Tue, 24 Aug 1999 21:23:56 +0000 (21:23 +0000)]
* call.c (build_conditional_expr): Fix typo.
* typeck.c (build_modify_expr, COND_EXPR): Make sure we've got an
lvalue before trying to mess with the sides.

* error.c (dump_expr, CONVERT_EXPR): Handle (void) properly.

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

24 years ago * expr.c (expand_expr): Cope with COND_EXPRs with one
jason [Tue, 24 Aug 1999 20:49:12 +0000 (20:49 +0000)]
* expr.c (expand_expr): Cope with COND_EXPRs with one
non-returning branch.

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

24 years ago * expr.c (store_expr): Always pass down the target, even when not
mmitchel [Tue, 24 Aug 1999 18:09:10 +0000 (18:09 +0000)]
* expr.c (store_expr): Always pass down the target, even when not
doing CSE.

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

24 years agoHandle DFmode and DImode constant addresses.
nickc [Tue, 24 Aug 1999 13:58:41 +0000 (13:58 +0000)]
Handle DFmode and DImode constant addresses.

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

24 years ago * genattr.c (function_unit_desc): Constify a char*. Add prototype.
ghazi [Tue, 24 Aug 1999 13:34:04 +0000 (13:34 +0000)]
* genattr.c (function_unit_desc): Constify a char*.  Add prototype.
(main): Add prototypes.

* genattrtab.c (substitute_address, write_const_num_delay_slots,
attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
(write_attr_get): Emit prototypes along with function definition.
(write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
(write_complex_function): Emit static prototype along with
function definition.

* genemit.c (gen_split): Emit prototypes along with function
definition.

* genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
Likewise for predicates and `insn_operand_predicate'.
(process_template): Emit static prototype along with function
definition.

* genrecog.c (make_insn_sequence): Constify a char*.  Add
prototypes for get_split_*().
(write_subroutine): Emit prototypes along with function
definition.

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

24 years ago * noncompile/noncompile.exp: Load_lib c-torture.exp.
ghazi [Tue, 24 Aug 1999 13:21:46 +0000 (13:21 +0000)]
    * noncompile/noncompile.exp: Load_lib c-torture.exp.
        (postbase_with_opts): New proc to loop over TORTURE_OPTIONS and
        call `postbase' for each one.  All callers of `postbase' changed
        to call this instead.

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

24 years agoFix more problems from GC diffs
crux [Tue, 24 Aug 1999 12:05:09 +0000 (12:05 +0000)]
Fix more problems from GC diffs

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

24 years ago * strtoul.c (strtoul): Add parentheses around && within ||.
law [Tue, 24 Aug 1999 08:51:03 +0000 (08:51 +0000)]
    * strtoul.c (strtoul): Add parentheses around && within ||.

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

24 years ago * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
law [Tue, 24 Aug 1999 08:48:27 +0000 (08:48 +0000)]
    * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
        call.

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

24 years ago * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
law [Tue, 24 Aug 1999 08:44:47 +0000 (08:44 +0000)]
    * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
        exactly.

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

24 years agoDaily bump.
law [Tue, 24 Aug 1999 07:46:43 +0000 (07:46 +0000)]
Daily bump.

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

24 years ago * cpp.texi: Add a node documenting macro varargs (copied
law [Tue, 24 Aug 1999 05:37:39 +0000 (05:37 +0000)]
    * cpp.texi: Add a node documenting macro varargs (copied
        from extend.texi).

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

24 years ago1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
zack [Tue, 24 Aug 1999 05:31:03 +0000 (05:31 +0000)]
1999-08-23 22:23 -0700  Zack Weinberg  <zack@bitmover.com>

* cppspec.c: Put a null pointer at the end of the new argv.

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

24 years ago * g++spec.c (lang_specific_driver): Add room for NULL in arglist.
law [Tue, 24 Aug 1999 04:20:18 +0000 (04:20 +0000)]
    * g++spec.c (lang_specific_driver): Add room for NULL in arglist.

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

24 years ago * exception.cc (__cplus_type_matcher): Call __throw_type_match_rtti_2.
jason [Tue, 24 Aug 1999 04:16:06 +0000 (04:16 +0000)]
* exception.cc (__cplus_type_matcher): Call __throw_type_match_rtti_2.
Return arbitrary pointer or NULL.
(check_eh_spec): Call __throw_type_match_rtti_2.
* tinfo.h (*::dcast): Return int.  Add valp parm.
* tinfo.cc (*::dcast): Likewise.  Adjust to allow for null pointers.
* tinfo2.cc (__throw_type_match_rtti_2): Likewise.
(__throw_type_match_rtti): Now just a wrapper.

* except.c: Lose CatchMatch, FirstExceptionMatch, and Unwind.
(init_exception_processing): Don't initialize them.

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

24 years ago * boehm.cc: Undefine TRUE and FALSE.
tromey [Tue, 24 Aug 1999 04:01:06 +0000 (04:01 +0000)]
* boehm.cc: Undefine TRUE and FALSE.

* posix-threads.cc (_Jv_CondWait): Use ETIMEDOUT, not ETIME.

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

24 years ago * configure.in: Remove code to select/de-select the haifa
law [Tue, 24 Aug 1999 03:28:57 +0000 (03:28 +0000)]
    * configure.in: Remove code to select/de-select the haifa
        scheduler.  Every scheduled port gets haifa now.
        * configure: Rebuilt.
        * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
        * sched.c Deleted.
        * Makefile.in: Corresponding changes.

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

24 years ago * decl.c (check_default_argument): Fix typo.
jason [Mon, 23 Aug 1999 22:19:01 +0000 (22:19 +0000)]
* decl.c (check_default_argument): Fix typo.

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

24 years agoFix sparc compilation failure
crux [Mon, 23 Aug 1999 16:09:52 +0000 (16:09 +0000)]
Fix sparc compilation failure

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

24 years agoDaily bump.
law [Mon, 23 Aug 1999 07:45:12 +0000 (07:45 +0000)]
Daily bump.

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

24 years agoSun Aug 22 11:07:41 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Sun, 22 Aug 1999 18:38:07 +0000 (18:38 +0000)]
Sun Aug 22 11:07:41 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (check_method_redefinition): Changed leading comment.
(check_abstract_method_definitions): New function.
(java_check_abstract_method_definitions): New function.
(java_check_regular_methods): Call it.
(verify_constructor_super): Fixed indentation.
(lookup_method_invoke): Likewise.

(This fixes the Java net PR #30,
 http://sourceware.cygnus.com/ml/java-prs/1999-q3/msg00034.html)

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

24 years ago * cp-tree.def (STMT_EXPR): Fix typo in node name.
mmitchel [Sun, 22 Aug 1999 18:11:40 +0000 (18:11 +0000)]
* cp-tree.def (STMT_EXPR): Fix typo in node name.

* dump.c (dump_next_stmt): New function.
(dequeue_and_dump): Use it.

* pt.c (tsubst_copy): Make sure to initialize return value for a
STMT_EXPR, even when processing_template_decl.
* semantics.c (finish_stmt_expr): A statement-expression whose
last statement is not an expression-statement has type `void'.

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

24 years agoAdded missing whitespace in function calls within adaptors
oliva [Sun, 22 Aug 1999 16:19:31 +0000 (16:19 +0000)]
Added missing whitespace in function calls within adaptors
Pointed out by Tom

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

24 years agoDaily bump.
law [Sun, 22 Aug 1999 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * posix-threads.cc (_Jv_CondWait): Treat a timeout as a normal
tromey [Sun, 22 Aug 1999 02:37:04 +0000 (02:37 +0000)]
* posix-threads.cc (_Jv_CondWait): Treat a timeout as a normal
result.  PR 40.

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

24 years ago* configure.in: Check for in_addr_t in netinet/in.h too. Check
oliva [Sat, 21 Aug 1999 14:26:44 +0000 (14:26 +0000)]
* configure.in: Check for in_addr_t in netinet/in.h too.  Check
for ip_mreq too.
* acconfig.h: Define HAVE_IN_ADDR_T instead of in_addr_t.
(HAVE_STRUCT_IP_MREQ): Added.
* configure, include/config.h.in: Rebuilt.
* java/net/natInetAddress.cc (aton): Typedef in_addr_t to jint
if needed.
* java/net/natPlainDatagramSocketImpl.cc (McastReq, mcastGrp):
Disable if ip_mreq is not available.

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

24 years agoChange in_addr_t default to jint
oliva [Sat, 21 Aug 1999 13:35:32 +0000 (13:35 +0000)]
Change in_addr_t default to jint

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

24 years ago* configure.in: Check types ssize_t and in_addr_t.
oliva [Sat, 21 Aug 1999 13:15:55 +0000 (13:15 +0000)]
* configure.in: Check types ssize_t and in_addr_t.
* acconfig.h: Undefine them.
* configure, include/config.h.in: Rebuilt.

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

24 years ago* java/lang/natSystem.cc (getpwuid_adaptor): New overloaded
oliva [Sat, 21 Aug 1999 12:49:39 +0000 (12:49 +0000)]
* java/lang/natSystem.cc (getpwuid_adaptor): New overloaded
function that detects the signature of getpwuid_r.
(init_properties): Use it.
* java/util/natDate.cc (ctime_adaptor): Likewise for ctime_r.
(toString): Use it.

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

24 years ago* java/lang/natSystem.cc (getpwuid_adaptor): New overloaded
oliva [Sat, 21 Aug 1999 11:56:24 +0000 (11:56 +0000)]
* java/lang/natSystem.cc (getpwuid_adaptor): New overloaded
function that detects the signature of getpwuid_r.
(init_properties): Use it.
* java/util/natDate.cc (ctime_adaptor): Likewise for ctime_r.
(toString): Use it.

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

24 years agoDaily bump.
law [Sat, 21 Aug 1999 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

24 years agoThe 'xxx may be clobbered by longjmp/vfork' warnings are part of
geoffk [Sat, 21 Aug 1999 05:31:45 +0000 (05:31 +0000)]
The 'xxx may be clobbered by longjmp/vfork' warnings are part of
by -Wuninitialized.

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

24 years agoFix cse.c/resource.c register lifetime inconsistency.
wilson [Sat, 21 Aug 1999 00:54:22 +0000 (00:54 +0000)]
Fix cse.c/resource.c register lifetime inconsistency.
* resource.c (mark_target_live_regs): Use
PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.

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

24 years ago * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
ghazi [Fri, 20 Aug 1999 23:11:19 +0000 (23:11 +0000)]
* rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.

* rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.

* genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.

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

24 years ago * rtl.h (rtx_format): Constify a char*.
ghazi [Fri, 20 Aug 1999 23:05:25 +0000 (23:05 +0000)]
* rtl.h (rtx_format): Constify a char*.

* rtl.c (rtx_format): Likewise.
(copy_rtx, copy_most_rtx, read_rtx): Likewise.
(init_rtl): Use accessor macro, not `rtx_format'.

* alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
char*.

* caller-save.c (mark_referenced_regs): Likewise.

* combine.c (subst, make_compound_operation, known_cond,
gen_rtx_combine, update_table_tick, get_last_value_validate,
use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.

* cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
refers_to_p, canon_reg, fold_rtx, cse_process_notes,
count_reg_usage): Likewise.

* emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
Likewise.

* final.c (leaf_renumber_regs_insn): Likewise.

* flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
dump_edge_info, count_reg_references): Likewise.

* function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
Likewise.

* gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
add_label_notes): Likewise.

* genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
clear_struct_flag, count_sub_rtxs, count_alternatives,
compares_alternatives_p, contained_in_p, walk_attr_value,
write_expr_attr_cache): Likewise.

* genconfig.c (walk_insn_part): Likewise.

* genemit.c (max_operand_1, gen_exp): Likewise.

* genextract.c (walk_rtx): Likewise.

* genflags.c (num_operands): Likewise.

* genoutput.c (scan_operands): Likewise.

* genpeep.c (match_rtx): Likewise.

* genrecog.c (add_to_sequence): Likewise.

* haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
Likewise.

* integrate.c (save_constants, copy_for_inline,
copy_rtx_and_substitute, subst_constants, restore_constants):
Likewise.

* jump.c  (mark_jump_label, invert_exp, redirect_exp,
rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.

* local-alloc.c (contains_replace_regs, memref_referenced_p):
Likewise.

* loop.c (record_excess_regs, rtx_equal_for_loop_p,
add_label_notes, replace_call_address, count_nonfixed_reads,
invariant_p, find_single_use_in_loop, find_mem_givs,
find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
Likewise.

* print-rtl.c (reg_names, print_rtx): Likewise.

* recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.

* reg-stack.c (stack_regs_mentioned_p, record_label_references,
record_reg_life_pat, swap_rtx_condition, goto_block_pat,
print_blocks): Likewise.

* regclass.c (fix_register, record_address_regs,
reg_scan_mark_refs): Likewise.

* regmove.c (stable_but_for_p): Likewise.

* reload.c (loc_mentioned_in_p, operands_match_p,
find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
copy_replacements, refers_to_regno_for_reload_p,
refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
reload_when_needed_name, reg_class_names, debug_reload_to_stream):
Likewise.

* reload1.c (eliminate_regs, scan_paradoxical_subregs,
delete_address_reloads_1, count_occurrences,
reload_cse_mem_conflict_p, reload_combine_note_use,
add_auto_inc_notes): Likewise.

* resource.c (mark_referenced_resources, mark_set_resources):
Likewise.

* rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
reg_mentioned_p, regs_set_between_p, modified_between_p,
modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.

* sched.c (sched_analyze_2, attach_deaths): Likewise.

* stupid.c (stupid_mark_refs): Likewise.

* unroll.c (remap_split_bivs): Likewise.

* varasm.c (mark_constants): Likewise.

* a29k/a29k.c (uses_local_reg_p): Likewise.

* alpha/alpha.c (summarize_insn): Likewise.

* arm/arm.c (symbol_mentioned_p, label_mentioned_p,
eliminate_lr2ip): Likewise.

* arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.

* i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
reg_mentioned_in_mem): Likewise.

* ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
symbolic_reference_mentioned_p): Likewise.

* romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.

* sh/sh.c (regs_used, mark_use): Likewise.

* vax/vax.c (vax_rtx_cost): Likewise.

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

24 years ago * machmode.h (mode_name): Constify a char*.
ghazi [Fri, 20 Aug 1999 22:44:50 +0000 (22:44 +0000)]
* machmode.h (mode_name): Constify a char*.

* rtl.c (mode_name): Likewise.

* genopinit.c (gen_insn): Use accessor macro, not `mode_name'.

* optabs.c (init_libfuncs): Constify a char*.

* print-tree.c (mode_name): Remove redundant declaration.
(print_node): Use accessor macro, not `mode_name'.

* reload1.c (dump_needs): Constify a char*.  Use accessor macro,
not `mode_name'.
(new_spill_reg): Constify a char*.

* tree.c (mode_name): Remove redundant declaration.

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

24 years ago * rtl.c (rtx_name): Constify a char*.
ghazi [Fri, 20 Aug 1999 22:32:54 +0000 (22:32 +0000)]
* rtl.c (rtx_name): Constify a char*.

* rtl.h (rtx_name, fix_sched_param): Likewise.

* gmicro/gmicro.c (rtx_name): Remove redundant declaration.
(mypr): Use accessor macro, not `rtx_name'.

* genemit.c (print_code): Constify a char*.

* genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.

* genpeep.c (print_code): Constify a char*.

* genrecog.c (print_code): Likewise.

* graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
end_bb): Add static prototype.
(draw_edge): Constify a char*.
(end_bb): Remove unused parameter.

* haifa-sched.c (fix_sched_param, safe_concat, print_exp
print_block_visualization): Constify a char*.

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

24 years ago * semantics.c (finish_stmt_expr): Fix typo in comment.
mmitchel [Fri, 20 Aug 1999 22:07:22 +0000 (22:07 +0000)]
* semantics.c (finish_stmt_expr): Fix typo in comment.
* tree.c (search_tree): Handle EXIT_EXPR, LOOP_EXPR.
(mapcar): Likewise.
* init.c (build_vec_delete_1): Make the children of a permanent
BIND_EXPR permanent.
* pt.c (register_specialization): Don't register a specialization
more than once.

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

24 years ago * c-common.c (c_get_alias_set): Update comment.
mmitchel [Fri, 20 Aug 1999 21:57:38 +0000 (21:57 +0000)]
* c-common.c (c_get_alias_set): Update comment.

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

24 years ago1999-08-18 Andrew Haley <aph@cygnus.com>
aph [Fri, 20 Aug 1999 15:30:47 +0000 (15:30 +0000)]
1999-08-18  Andrew Haley  <aph@cygnus.com>

        * method.c (process_overload_item): Call build_mangled_C9x_name ()
        for all integer parameter types larger than long long.

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

24 years ago1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
gavin [Fri, 20 Aug 1999 13:12:25 +0000 (13:12 +0000)]
1999-08-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* linux.h (LIB_SPEC): Added.

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

24 years ago * interpret.cc (continue1): Implement explicit dispatch table.
krab [Fri, 20 Aug 1999 11:40:35 +0000 (11:40 +0000)]
    * interpret.cc (continue1): Implement explicit dispatch table.
insn_target: Explicit interpreter switch table.
SAVE_PC: New macro, moves pc saving code into instructions that
require so.
NEXT_INSN: New macro, replaces `goto next_insn' in all insns.
PC_REGISTER_ASM: New macro.
INLINE_SWITCH: New macro.  Constrols dispatching strategy.
opcode: Remove local variable.
{i,l,f,d}{load,store}_{0,1,2,3}: Expand definitions.
(POKEI): Use _Jv_word.
(iinc): Use _Jv_word.
(dupx): Change reference argument (sp) to pointer.
(jvdump): Remove

* interpret.cc: Remove instruction timing instrumentation.

* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Changed
comment.  Don't use _Jv_ClassNameSamePackage.

* gnu/gcj/util/path/{SearchPath,ZipFileEntry,DirectoryPathEntry,
URLPathEntry, CacheEntry}: Removed.

* Makefile.am (ordinary_java_source_files): Remove gnu/gcj/util/path
package.
(.java.lo): Rule removed.

* Makefile.in: Rebuilt.

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

24 years agoFri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
m.hayes [Fri, 20 Aug 1999 10:34:20 +0000 (10:34 +0000)]
Fri Aug 20 22:32:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

* config/c4x/c4x.h (STARTFILE_SPEC): Don't define.

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

24 years agoDaily bump.
law [Fri, 20 Aug 1999 07:45:15 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * pt.c (redeclare_class_template): Merge default template
mmitchel [Fri, 20 Aug 1999 06:11:48 +0000 (06:11 +0000)]
* pt.c (redeclare_class_template): Merge default template
arguments in both directions.

* typeck.c (common_type): Undo 1999-08-18 change.  Remove
compiler_error message.

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

24 years ago1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
zack [Fri, 20 Aug 1999 01:54:42 +0000 (01:54 +0000)]
1999-08-19 18:43 -0700  Zack Weinberg  <zack@bitmover.com>

* tree.c (expr_check): Fix typo in last change.

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

24 years ago * java/lang/natThread.cc (class locker): New class.
tromey [Thu, 19 Aug 1999 22:58:27 +0000 (22:58 +0000)]
* java/lang/natThread.cc (class locker): New class.
(join): Use a locker around _Jv_CondWait.
(sleep): Likewise.

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

24 years ago1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
zack [Thu, 19 Aug 1999 22:33:38 +0000 (22:33 +0000)]
1999-08-19 14:44 -0700  Zack Weinberg  <zack@bitmover.com>

* rtl.def (NOTE): Change format to "iuu0n".
(ADDR_DIFF_VEC): Change format to "eEee0".
(ADDRESSOF): Change format to "eit".

* rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
(RTVEC_ELT): Change to match.
(XVECEXP): Use XVEC and RTVEC_ELT.
(INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
(PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
TRAP_CONDITION, TRAP_CODE): Use XEXP.
(INTVAL): Use XWINT.
(ADDRESSOF_DECL): Use XTREE.
(SET_ADDRESSOF_DECL): Delete.
(NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill.  These have been
ifdefed out since 2.6 at least.
(gen_rtvec_vv): Delete prototype.

* rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
not rtunion.
(copy_most_rtx): Handle 't' format letter.
* emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
(gen_rtvec_vv): Delete function.  All callers changed to use
gen_rtvec_v instead.
* print-rtl.c (print_rtx): Move special casing of NOTEs to
the '0' format letter.

* function.c (gen_mem_addressof): Don't use
SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
instead.
* integrate.c (copy_rtx_and_substitute): Likewise.
Copy 't' slots with XTREE.
(subst_constants): Treat 't' slots like '[swi]' slots.
* cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
* jump.c (rtx_equal_for_thread_p): Likewise.
* rtlanal.c (rtx_equal_p): Likewise.
* stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
only four arguments.
* gengenrtl.c (type_from_format): Provide correct types for
'b' and 't' slots.

* tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
If a recent gcc is in use (always in stage2 and beyond), use
statement expressions, so we don't make a function call unless
the check fails.  Evaluate arguments exactly once.
(CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
Delete.
(CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
they evaluate their arguments exactly once, irrespective of
the compiler in use.

* tree.c [ENABLE_CHECKING]: Define whichever set of functions
is used by the currently-enabled check macros.  This is:
(tree_check_failed, tree_class_check_failed): For gcc.
(tree_check, tree_class_check, cst_or_constructor_check,
expr_check): For other compilers.

* gencheck.c: Do not define any *_CHECK1 macros.

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