OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years ago * m32r.c: Include toplev.h.
rth [Thu, 16 Sep 1999 18:38:52 +0000 (18:38 +0000)]
    * m32r.c: Include toplev.h.
        (*): Add ATTRIBUTE_UNUSED as needed to arguments.
        (gen_compare): Rename swap_p to must_swap to match uses.
        Add default abort case.
        (m32r_output_function_epilogue): Remove unused variables.
        (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
        * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
        define to empty parameter list.  Update all uses.
        (predicate decls): Use enum machine_mode not int.
        * m32r.md (movsi): Call abort, not fatal_insn.
        (zero_branch_insn, rev_zero_branch_insn): Add default abort case.

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

24 years ago * decl2.c (finish_file): Also call check_global_declarations for
jason [Thu, 16 Sep 1999 17:48:20 +0000 (17:48 +0000)]
* decl2.c (finish_file): Also call check_global_declarations for
the pending_statics list.

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

24 years ago * gjavah.c (get_field_name, print_method_info, print_include,
ghazi [Thu, 16 Sep 1999 15:45:15 +0000 (15:45 +0000)]
* gjavah.c (get_field_name, print_method_info, print_include,
add_namelet): Use xmalloc, not malloc.

* jcf-depend.c (add_entry): Likewise.  Use xstrdup, not strdup.
(munge): Use xrealloc, not realloc, trust xrealloc to handle a
NULL pointer.

* jcf-io.c (open_in_zip, find_class): Use xstrdup, not strdup.

* jcf-parse.c (jcf_out_of_synch, yyparse): Likewise.

* jcf-path.c (add_entry): Likewise.

* jcf.h (ALLOC, REALLOC): Use xmalloc/xrealloc, not malloc/realloc.

* jv-scan.c (xmalloc): Remove definition.

* jvgenmain.c (xmalloc): Likewise.

* jvspec.c (lang_specific_driver): Use xcalloc, not xmalloc/bzero.

* lex.c (java_store_unicode): Use xrealloc, not realloc.

* parse-scan.y: Use concat, not of xmalloc/assign/strcpy.  Use
concat, not xmalloc/sprintf.
(java_push_parser_context): Use xcalloc, not xmalloc/bzero.
(xstrdup): Remove definition.

* parse.y (duplicate_declaration_error_p,
constructor_circularity_msg, verify_constructor_circularity,
check_abstract_method_definitions, java_check_regular_methods,
java_check_abstract_methods, patch_method_invocation,
check_for_static_method_reference, patch_assignment, patch_binop,
patch_cast, array_constructor_check_entry, patch_return,
patch_conditional_expr): Use xstrdup, not strdup.

* zextract.c (ALLOC): Use xmalloc, not malloc.

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

24 years ago1999-09-14 Andrew Haley <aph@cygnus.com>
aph [Thu, 16 Sep 1999 12:06:56 +0000 (12:06 +0000)]
1999-09-14  Andrew Haley  <aph@cygnus.com>

* config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
use $0 instead of 0.

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

24 years agoBugfix in order_regs_for_reload
crux [Thu, 16 Sep 1999 09:55:48 +0000 (09:55 +0000)]
Bugfix in order_regs_for_reload

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

24 years agoDaily bump.
law [Thu, 16 Sep 1999 07:45:10 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * function.c (identify_blocks): Don't shadow a variable in an
mmitchel [Thu, 16 Sep 1999 04:39:52 +0000 (04:39 +0000)]
* function.c (identify_blocks): Don't shadow a variable in an
outer scope.
* integrate.c (integrate_decl_tree): Don't use pushlevel,
pushdecl, or poplevel to build up the new BLOCK tree.
(expand_inline_function): Likewise.
(integrate_parm_decls): Likewise.

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

24 years ago * c-typeck.c (qualify_type): Merge qualifiers from both types.
mmitchel [Thu, 16 Sep 1999 04:16:32 +0000 (04:16 +0000)]
* c-typeck.c (qualify_type): Merge qualifiers from both types.

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

24 years ago * decl.c (warn_extern_redeclared_static): Simplify. Catch
mmitchel [Thu, 16 Sep 1999 01:20:45 +0000 (01:20 +0000)]
* decl.c (warn_extern_redeclared_static): Simplify.  Catch
problems with extern "C" functions redeclared as static.
(duplicate_decls): When a builtin is redeclared static, make the
new function have internal linkage.

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

24 years ago * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
rth [Thu, 16 Sep 1999 01:17:50 +0000 (01:17 +0000)]
    * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
        * invoke.texi: Document this change.

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

24 years ago * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
rth [Thu, 16 Sep 1999 01:12:25 +0000 (01:12 +0000)]
    * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
        Free the struct.
        (mark_emit_status): Renamed from mark_emit_state.
        * except.c (mark_eh_status): Renamed from mark_eh_state.
        Check not null before marking.
        (free_eh_status): New.
        * expr.c (mark_expr_status, free_expr_status): New.
        * function.c (free_machine_status): New.
        (free_after_parsing): New.
        (free_after_compilation): Move bits to free_after_parsing; call
        free_eh_status, free_expr_status; zero the marked members of the
        function state.
        (prepare_function_start): No can_garbage_collect.
        Call init_eh_for_function.
        (expand_dummy_function_end): Free up current_function state.
        (mark_function_status): Renamed from mark_function_state.
        (mark_function_chain): No can_garbage_collect.  Call mark_expr_status.
        * function.h (struct function): No can_garbage_collect.
        (free_machine_status, free_after_parsing): Declare.
        (free_eh_status, free_expr_status): Declare.
        * ggc.h (mark_expr_status): Declare.
        * stmt.c (free_stmt_status): Free the struct.
        (mark_stmt_status): Renamed from mark_stmt_state.
        (init_stmt): Don't call init_eh.
        (init_stmt_for_function): Don't call init_eh_for_function.
        * toplev.c (compile_file): Call init_eh.
        (rest_of_compilation): Free basic block info before ggc_collect.
        Call free_after_parsing; conditionally call free_after_compilation.
        * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
        Check not null before marking.

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

24 years ago * c-lex.c (yylex): Initialize warn.
rth [Thu, 16 Sep 1999 00:54:31 +0000 (00:54 +0000)]
    * c-lex.c (yylex): Initialize warn.

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

24 years ago * pa.c (emit_move_sequence): Properly set the mode of the scratch
law [Thu, 16 Sep 1999 00:38:00 +0000 (00:38 +0000)]
    * pa.c (emit_move_sequence): Properly set the mode of the scratch
        register when performing secondary reloads for the SAR register.

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

24 years ago * tree.h (reorder_block): Change prototype.
mmitchel [Thu, 16 Sep 1999 00:23:25 +0000 (00:23 +0000)]
* tree.h (reorder_block): Change prototype.

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

24 years ago * lex.c (cp_pragma_implementation): Allow #pragma implementation
jason [Thu, 16 Sep 1999 00:02:09 +0000 (00:02 +0000)]
* lex.c (cp_pragma_implementation): Allow #pragma implementation
in header files.

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

24 years agofix comment
jason [Thu, 16 Sep 1999 00:01:54 +0000 (00:01 +0000)]
fix comment

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

24 years ago * lex.c (mark_impl_file_chain): Follow the next chain.
rth [Wed, 15 Sep 1999 23:08:16 +0000 (23:08 +0000)]
    * lex.c (mark_impl_file_chain): Follow the next chain.

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

24 years ago * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
mmitchel [Wed, 15 Sep 1999 23:05:05 +0000 (23:05 +0000)]
* rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
(NOTE_BLOCK): New macro.
(NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
* function.h (identify_blocks): CHange prototype.
* function.c (identify_blocks): Simplify.
(reorder_blocks): Likewise.
* ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
NOTE_INSN_BLOCK_{BEG,END}.
* haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
the list of saved notes if the note isn't a
NOTE_INSN_BLOCK_{BEG,END}.
(move_insn1): Use NOTE_EH_HANDLER in comment, rather than
NOTE_BLOCK_NUMBER.
(reemit_notes): Adjust recreation of notes to reflect new saved
note structure.
* print-rtl.c (print_rtx): Print the address of the BLOCK when
printing a block note.
* stmt.c (block_vector): Remove.
(find_loop_tree_blocks): Simplify.
(unroll_block_trees): Likewise.

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

24 years ago * decl2.c (build_expr_from_tree): Handle VA_ARG_EXPR.
mmitchel [Wed, 15 Sep 1999 22:49:33 +0000 (22:49 +0000)]
* decl2.c (build_expr_from_tree): Handle VA_ARG_EXPR.
* pt.c (tsubst_copy): Likewise.
* tree.c (search_tree): Likewise.
(mapcar): Likewise.

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

24 years ago * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
jason [Wed, 15 Sep 1999 21:41:16 +0000 (21:41 +0000)]
* gbl-ctors.h: Lose HAVE_ATEXIT.  Don't define ON_EXIT.
* libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
(__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
(__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
(atexit, exit): Simplify.
* tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
* config/lots: Remove defns of HAVE_ATEXIT.

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

24 years ago * calls.c (precompute_arguments): Fix typo in comment.
mmitchel [Wed, 15 Sep 1999 17:21:35 +0000 (17:21 +0000)]
* calls.c (precompute_arguments): Fix typo in comment.
* expr.c (preexpand_calls): Don't preexpand the cleanup in a
TARGET_EXPR.

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

24 years ago * dsp16xx.c (override_options): Fix typos in GC root registration.
mmitchel [Wed, 15 Sep 1999 16:55:37 +0000 (16:55 +0000)]
* dsp16xx.c (override_options): Fix typos in GC root registration.

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

24 years agoFix profiling support and unique section support.
nickc [Wed, 15 Sep 1999 14:27:19 +0000 (14:27 +0000)]
Fix profiling support and unique section support.

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

24 years ago * actions.c (warn_unhandled): Use xstrdup, not xmalloc/strcpy.
ghazi [Wed, 15 Sep 1999 14:18:33 +0000 (14:18 +0000)]
   * actions.c (warn_unhandled): Use xstrdup, not xmalloc/strcpy.

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

24 years ago * genattr.c (main): Add extern prototype. Call return, not exit.
ghazi [Wed, 15 Sep 1999 14:13:50 +0000 (14:13 +0000)]
* genattr.c (main): Add extern prototype.  Call return, not exit.
* genattrtab.c (main): Likewise.
* gencheck.c (main): Likewise.
* gencodes.c (main): Likewise.
* genconfig.c (main): Likewise.
* genemit.c (main): Likewise.
* genextract.c (main): Likewise.
* genflags.c (main): Likewise.
* gengenrtl.c (main): Likewise.
* genopinit.c (main): Likewise.
* genoutput.c (main): Likewise.
* genpeep.c (main): Likewise.
* genrecog.c (main): Likewise.

* genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
* genattrtab.c (get_insn_name): Likewise.
* gencodes.c (get_insn_name): Likewise.
* genconfig.c (get_insn_name): Likewise.
* genemit.c (get_insn_name): Likewise.
* genextract.c (get_insn_name): Likewise.
* genflags.c (get_insn_name): Likewise.
* genopinit.c (get_insn_name): Likewise.
* genpeep.c (get_insn_name): Likewise.

* gencheck.c (usage): Add static prototype.
* genextract.c (print_path): Constify a char*.
* genopinit.c (optabs): Likewise.
* genoutput.c (operand_data, data, output_predicate_decls,
compare_operands): Likewise.
* genrecog.c (write_tree): Add default case in switch.

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

24 years ago * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
ghazi [Wed, 15 Sep 1999 14:04:10 +0000 (14:04 +0000)]
* rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.

* print-rtl.c (get_insn_name): Remove prototype.

* toplev.h (progname): Declare const.

* toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
dump_sched_info, dump_local_alloc, regset_release_memory,
print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
error_with_file_and_line, error_with_decl, error_for_asm, error,
fatal, warning_with_file_and_line, warning_with_decl, warning,
pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
Remove redundant prototypes.

(notice, check_lang_option, report_file_and_line, vnotice,
mark_file_stack): Add static prototype.
(set_fatal_function): Add prototype.
(vnotice, report_file_and_line, set_fatal_function,
check_lang_option): Constify a char*.
(main): Prototype.  Call return, not exit.

cp:

* typeck2.c (ack): Don't declare progname.

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

24 years ago * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
ghazi [Wed, 15 Sep 1999 13:53:46 +0000 (13:53 +0000)]
    * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.

        * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.

        * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.

        * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.

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

24 years agoRemove second arg from assign_parms
crux [Wed, 15 Sep 1999 10:07:22 +0000 (10:07 +0000)]
Remove second arg from assign_parms

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

24 years ago * typeck.c (expr_sizeof): Reinstall and augment OFFSET_REF
nathan [Wed, 15 Sep 1999 08:58:51 +0000 (08:58 +0000)]
* typeck.c (expr_sizeof): Reinstall and augment OFFSET_REF
comment.

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

24 years agoDaily bump.
law [Wed, 15 Sep 1999 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * lex.c (cp_pragma_interface, cp_pragma_implementation): Copy
mmitchel [Wed, 15 Sep 1999 06:11:48 +0000 (06:11 +0000)]
* lex.c (cp_pragma_interface, cp_pragma_implementation): Copy
filenames with ggc_alloc_string.

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

24 years ago * decl.c (build_target_expr): Set TREE_SIDE_EFFECTS on the
mmitchel [Wed, 15 Sep 1999 06:09:53 +0000 (06:09 +0000)]
* decl.c (build_target_expr): Set TREE_SIDE_EFFECTS on the
TARGET_EXPR.
* call.c (build_over_call): Don't set TREE_SIDE_EFFECTS on
the TARGET_EXPR.
* cvt.c (build_up_reference): Likewise.
* tree.c (build_cplus_new): Likewise.
(get_target_expr): Likewise.

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

24 years ago * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
law [Wed, 15 Sep 1999 04:05:38 +0000 (04:05 +0000)]
    * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
        arg_pointer_rtx fixed if the argument pointer register is
        not fixed.
        (NONZERO_BASE_PLUS_P): Likewise.

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

24 years ago * Makefile.in (USER_H): Remove va-foo.h.
rth [Wed, 15 Sep 1999 03:42:26 +0000 (03:42 +0000)]
    * Makefile.in (USER_H): Remove va-foo.h.

        * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
        va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
        va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
        va-spur.h,va-v850.h}: Remove.

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

24 years ago * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
rth [Wed, 15 Sep 1999 03:32:55 +0000 (03:32 +0000)]
    * genrecog.c (add_to_sequence): Rename MATCH_INSN2.

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

24 years ago * rtl.def (match_insn, match_insn2): Remove match_insn; rename
rth [Wed, 15 Sep 1999 03:28:12 +0000 (03:28 +0000)]
    * rtl.def (match_insn, match_insn2): Remove match_insn; rename
        match_insn2 to match_insn.

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

24 years ago * sparc/sparc.md (eligible_for_return_delay): New attribute.
rth [Wed, 15 Sep 1999 02:48:32 +0000 (02:48 +0000)]
    * sparc/sparc.md (eligible_for_return_delay): New attribute.
        (in_return_delay): Use it instead of match_insn.

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

24 years ago* config/alpha/va_list.h (va-alpha.h): Do not include.
oliva [Wed, 15 Sep 1999 02:09:41 +0000 (02:09 +0000)]
* config/alpha/va_list.h (va-alpha.h): Do not include.
(__gnuc_va_list): Typedef as in varargs.h.

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

24 years ago * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
rth [Wed, 15 Sep 1999 01:14:59 +0000 (01:14 +0000)]
    * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
        DECL_LIVE_RANGE_RTL.

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

24 years ago * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
mmitchel [Tue, 14 Sep 1999 23:51:34 +0000 (23:51 +0000)]
* except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
not NOTE_BLOCK_NUMBER.
(expand_eh_region_end): Likewise.
(find_exception_handler_labels): Likewise.
(scan_region): Likewise.
(exception_optimize): Likewise.
(update_rethrow_references): Likewise.
(set_insn_eh_region): Likewise.
* final.c (final_scan_insn): Likewise.
* flow.c (make_edges): Likewise.
* integrate.c (expand_inline_function): Likewise.
* print-rtl.c (print_rtx): Likewise.

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

24 years ago * ginclude/stdarg.h, ginclude/varargs.h: Implement in
rth [Tue, 14 Sep 1999 23:30:44 +0000 (23:30 +0000)]
    * ginclude/stdarg.h, ginclude/varargs.h: Implement in
        terms of builtin functions and types.

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

24 years ago * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
rth [Tue, 14 Sep 1999 23:29:48 +0000 (23:29 +0000)]
    * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
        (sh_build_va_list, sh_va_start, sh_va_arg): New.
        * sh.h (BUILD_VA_LIST_TYPE): New.
        (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.

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

24 years ago * mips.c (mips_build_va_list): New.
rth [Tue, 14 Sep 1999 23:29:31 +0000 (23:29 +0000)]
    * mips.c (mips_build_va_list): New.
        (mips_va_start, mips_va_arg): New.
        * mips.h (BUILD_VA_LIST_TYPE): New.
        (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.

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

24 years ago * recog.h (struct recog_data): Make dup_num, operand_address_p,
rth [Tue, 14 Sep 1999 23:23:17 +0000 (23:23 +0000)]
    * recog.h (struct recog_data): Make dup_num, operand_address_p,
        n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
        (struct insn_data): Likewise with n_operands, n_dups,
        n_alternatives, output_format.
        * regclass.c (scan_one_insn): Cast n_operands to int before
        arithmetic inside comparison.

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

24 years ago* toplev.c (compile_function): Unconditionally emit nop.
rth [Tue, 14 Sep 1999 22:14:31 +0000 (22:14 +0000)]
* toplev.c (compile_function): Unconditionally emit nop.

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

24 years ago * haifa-sched.c (actual_hazard): Move declaration of variable
ghazi [Tue, 14 Sep 1999 18:44:10 +0000 (18:44 +0000)]
   * haifa-sched.c (actual_hazard): Move declaration of variable
       `this_cost' into the scope where it is used.

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

24 years ago * c-pragma.c (handle_pragma_token): Wrap variables `name' and
ghazi [Tue, 14 Sep 1999 18:19:09 +0000 (18:19 +0000)]
   * c-pragma.c (handle_pragma_token): Wrap variables `name' and
       `value' in HANDLE_PRAGMA_WEAK.  Wrap variable `align' in
       HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.

       * genrecog.c (make_insn_sequence): Call memset, not bzero.

       * jump.c (find_insert_position): Don't declare or define unless
       !HAVE_conditional_arithmetic.
       (returnjump_p_1, delete_prior_computation): Add static prototypes.

       * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.

       * recog.c (offsettable_address_p): Prototype function pointer.
       (preprocess_constraints): Call memset, not bzero.

       * tree.c (tree_node_kind_names): Constify a char*.  Make static.
       (gcc_obstack_init): Don't declare.
       (fix_sizetype): Add static prototype.
       (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
       (tree_cons): Call memset, not bzero.

       * varasm.c (remove_from_pending_weak_list): Wrap declaration and
       definition in macro ASM_WEAKEN_LABEL.
       (mark_const_hash_entry): Add static prototype.

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

24 years ago * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
ghazi [Tue, 14 Sep 1999 16:27:32 +0000 (16:27 +0000)]
   * c-lex.c (handle_generic_pragma): Remove unused variable `c'.

       * unroll.c (find_common_reg_term, subtract_reg_term,
       loop_find_equiv_value): Add static prototypes.
       (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
       (copy_loop_body): Remove unreachable break statement.

       * sparc.c (sparc_va_arg): Remove unused variable `tmp'.

       * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.

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

24 years ago * g77spec.c (lang_specific_driver): Remove unnecessary argument in
ghazi [Tue, 14 Sep 1999 16:16:31 +0000 (16:16 +0000)]
   * g77spec.c (lang_specific_driver): Remove unnecessary argument in
       call to function `fatal'.

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

24 years agoUndo bogus changes from gcc2 merge
crux [Tue, 14 Sep 1999 14:37:12 +0000 (14:37 +0000)]
Undo bogus changes from gcc2 merge

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

24 years ago * include/java-insns.h: Turned constants into an enum. Added
tromey [Tue, 14 Sep 1999 14:19:59 +0000 (14:19 +0000)]
* include/java-insns.h: Turned constants into an enum.  Added
multiple-inclusion protection.

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

24 years ago * gthr-win32.h: New file.
law [Tue, 14 Sep 1999 10:13:49 +0000 (10:13 +0000)]
* gthr-win32.h: New file.

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

24 years ago * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
law [Tue, 14 Sep 1999 10:06:06 +0000 (10:06 +0000)]
    * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
        shared as a valid attribute.
        * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
        * extend.texi: Document `shared' variable attribute.

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

24 years ago * configure.in: Handle --enable-threads on FreeBSD.
law [Tue, 14 Sep 1999 10:04:04 +0000 (10:04 +0000)]
    * configure.in: Handle --enable-threads on FreeBSD.
        * configure: Rebuit.

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

24 years ago * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
law [Tue, 14 Sep 1999 10:01:01 +0000 (10:01 +0000)]
    * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
        thread support.
        * configure: Rebuilt.

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

24 years ago * configure.in (m68k-*-rtemscoff*): Added.
law [Tue, 14 Sep 1999 09:52:09 +0000 (09:52 +0000)]
    * configure.in (m68k-*-rtemscoff*): Added.
        * configure.in (mips64orion-*-rtems*): Converted to ELF.
        * configure.in (sparc-*-rtemsaout*): Added as alias for old
        sparc-rtems configuration.
        * configure.in (sparc-*-rtemself*): Added.
        * configure.in (sparc-*-rtems*): Now ELF not a.out.
        * config/i386/rtems.h: Added comment.
        * config/sparc/rtemself.h: New file.

        * configure.in (m68k-rtemself): Added.
        * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
        and DWARF_DEBUGGING_INFO.
        * config/m68k/crti.s: New file.
        * config/m68k/crtn.s: New file.
        * config/m68k/t-crtstuff: New file.
        * config/m68k/rtemself.h: New file.

        * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
        global ctor/dtor and C++ exception handling.
        * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
        for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
        ENDFILE_SPEC.
        * config/i386/t-rtems-i386: New File.

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

24 years ago * stmt.c (expand_end_case): Return right away if the case stack is
schwab [Tue, 14 Sep 1999 07:52:02 +0000 (07:52 +0000)]
* stmt.c (expand_end_case): Return right away if the case stack is
empty.

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

24 years ago * Makefile.in (version.c): Remove rule incorrectly brought in from
law [Tue, 14 Sep 1999 07:48:44 +0000 (07:48 +0000)]
    * Makefile.in (version.c): Remove rule incorrectly brought in from
        the gcc2 merge.

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

24 years ago * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
law [Tue, 14 Sep 1999 07:46:09 +0000 (07:46 +0000)]
    * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.

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

24 years ago * Makefile.in: Prepend $(SHELL) to move-if-change calls.
law [Tue, 14 Sep 1999 07:45:42 +0000 (07:45 +0000)]
    * Makefile.in:  Prepend $(SHELL) to move-if-change calls.

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

24 years agoDaily bump.
law [Tue, 14 Sep 1999 07:45:09 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * Makefile.in: Prepend $(SHELL) to move-if-change calls.
law [Tue, 14 Sep 1999 07:42:59 +0000 (07:42 +0000)]
    * Makefile.in:  Prepend $(SHELL) to move-if-change calls.
        * msdos/top.sed:  Take into account a prepended $(SHELL) to
        move-if-change.
        * winnt/config-nt.sed:  Likewise.  Kill bogus substitution.

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

24 years ago * regmove.c (fixup_match_1): Don't change an unchanging register.
law [Tue, 14 Sep 1999 07:39:14 +0000 (07:39 +0000)]
    * regmove.c (fixup_match_1): Don't change an unchanging register.
        (stable_but_for_p): Renamed to:
        (stable_and_no_regs_but_for_p).  Reject unchanging registers too.
        Changed all callers.

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

24 years ago * loop.c (strength_reduce): Don't call reg_used_between_p if the
law [Tue, 14 Sep 1999 07:34:59 +0000 (07:34 +0000)]
    * loop.c (strength_reduce): Don't call reg_used_between_p if the
        insn from BL2 is after the insn from BL.

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

24 years agoFix typo in comment.
law [Tue, 14 Sep 1999 07:18:02 +0000 (07:18 +0000)]
Fix typo in comment.

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

24 years agoFix typos in a recent revision.
law [Tue, 14 Sep 1999 06:52:41 +0000 (06:52 +0000)]
Fix typos in a recent revision.

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

24 years ago * libiberty.h (basename): OpenBSD has a correct prototype.
law [Tue, 14 Sep 1999 06:35:01 +0000 (06:35 +0000)]
    * libiberty.h (basename):  OpenBSD has a correct prototype.
        (xrealloc):  Remove outdated comment.

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

24 years ago * recog.h (INSN_OUTPUT_FORMAT_*): New.
rth [Tue, 14 Sep 1999 04:19:34 +0000 (04:19 +0000)]
    * recog.h (INSN_OUTPUT_FORMAT_*): New.
        (struct insn_data): Merge `template' and `outfun' into `output'.
        Add `output_format'.
        * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
        (struct data): Remove `outfun'; add `output_format'.
        (name_for_index): Remove declaration.
        (output_insn_data): Handle output formats.
        (process_template): Emit the bare array for @.
        (gen_expand, gen_split): Set output_format to NONE.
        * output.h (get_insn_template): Declare.
        * final.c (get_insn_template): New.
        (final_scan_insn): Use it.
        * toplev.c (compile_file): Likewise.

        * c4x/c4x.c (c4x_process_after_reload): Likewise.
        * i860/i860.c (output_delayed_branch): Likewise.
        (output_delay_insn): Likewise.

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

24 years ago* rtl.c (obstack_alloc_rtx): Removed.
oliva [Tue, 14 Sep 1999 02:31:19 +0000 (02:31 +0000)]
* rtl.c (obstack_alloc_rtx): Removed.

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

24 years ago * cp-tree.h (build_target_expr): New function.
mmitchel [Tue, 14 Sep 1999 00:50:07 +0000 (00:50 +0000)]
* cp-tree.h (build_target_expr): New function.
* call.c (build_conditional_expr): Use build_target_expr.
(convert_like): Likewise.
(build_over_call): Likewise.
* cvt.c (build_up_reference): Likewise.
* decl.c (build_cleanup_on_safe_obstack): Fold into ...
(destroy_local_var): Here.
(build_target_expr): New function.
* tree.c (build_cplus_new): Use it.
(get_target_expr): Likewise.

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

24 years ago1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
zack [Tue, 14 Sep 1999 00:02:56 +0000 (00:02 +0000)]
1999-09-13 17:03 -0700  Zack Weinberg  <zack@bitmover.com>

* config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.

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

24 years ago * i386.c (call_insn_operand): Reject const_int.
rth [Mon, 13 Sep 1999 22:22:48 +0000 (22:22 +0000)]
    * i386.c (call_insn_operand): Reject const_int.
        (expander_call_insn_operand): Use call_insn_operand.

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

24 years ago * gcc.c (getrusage): Wrap prototype arguments in PROTO().
ghazi [Mon, 13 Sep 1999 21:46:32 +0000 (21:46 +0000)]
   * gcc.c (getrusage): Wrap prototype arguments in PROTO().

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

24 years agoFix typos commenting out movdicc, movdfcc
zack [Mon, 13 Sep 1999 19:20:51 +0000 (19:20 +0000)]
Fix typos commenting out movdicc, movdfcc

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

24 years ago1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
zack [Mon, 13 Sep 1999 19:19:17 +0000 (19:19 +0000)]
1999-09-13 12:18 -0700  Zack Weinberg  <zack@bitmover.com>

* config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
Use DImode operation.

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

24 years ago1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
zack [Mon, 13 Sep 1999 19:16:24 +0000 (19:16 +0000)]
1999-09-13 12:13 -0700  Zack Weinberg  <zack@bitmover.com>

* gcc.c: Include sys/resource.h.
(report_times): New flag.
(execute):  If report_times is set, calculate and report the
CPU time consumed by each subprocess.

(rus, prus): New globals.
(option_map): Add --time.
(display_help): Document -time.
(process_command): Set report_times if -time is given.
Turn off -pipe if -time is given.

* invoke.texi: Document new option -time.

* configure.in: Check for getrusage.  Check if we have to
prototype getrusage.
* acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
* configure: Regenerate.
* config.in: Regenerate.

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

24 years agoMon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
brolley [Mon, 13 Sep 1999 16:58:44 +0000 (16:58 +0000)]
Mon Sep 13 12:57:06 1999  Dave Brolley  <brolley@cygnus.com>

* cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
fields.

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

24 years ago * g++.old-deja/g++.other/sizeof3.C: Remove XFAILS.
nathan [Mon, 13 Sep 1999 14:23:16 +0000 (14:23 +0000)]
* g++.old-deja/g++.other/sizeof3.C: Remove XFAILS.
* g++.old-deja/g++.other/sizeof4.C: Remove XFAILS.

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

24 years ago * typeck.c (expr_sizeof): Don't decay arrays and functions.
nathan [Mon, 13 Sep 1999 13:41:30 +0000 (13:41 +0000)]
* typeck.c (expr_sizeof): Don't decay arrays and functions.
Remove misleading comment.
(build_compound_expr): Don't decay arrays.

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

24 years agoSet *correct* g++ options.
nathan [Mon, 13 Sep 1999 13:14:43 +0000 (13:14 +0000)]
Set *correct* g++ options.

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

24 years ago * config/mpeix.mt: New for MPEiX port.
law [Mon, 13 Sep 1999 12:30:08 +0000 (12:30 +0000)]
    * config/mpeix.mt: New for MPEiX port.

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

24 years ago * gcc.c-torture/compile/990913-1.c: New test.
law [Mon, 13 Sep 1999 12:28:55 +0000 (12:28 +0000)]
    * gcc.c-torture/compile/990913-1.c: New test.

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

24 years ago * call.c (build_conditional_expr): Always use a TARGET_EXPR for
jason [Mon, 13 Sep 1999 10:12:07 +0000 (10:12 +0000)]
* call.c (build_conditional_expr): Always use a TARGET_EXPR for
class rvalues again.

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

24 years agoMove definition of 'thenan' to its own object file in order to save space.
nickc [Mon, 13 Sep 1999 09:14:21 +0000 (09:14 +0000)]
Move definition of 'thenan' to its own object file in order to save space.

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

24 years agoDaily bump.
law [Mon, 13 Sep 1999 07:45:11 +0000 (07:45 +0000)]
Daily bump.

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

24 years ago * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
schwab [Mon, 13 Sep 1999 07:41:20 +0000 (07:41 +0000)]
* tree.c (fix_sizetype):  Exchange the types for TYPE_SIZE and
TYPE_SIZE_UNIT.

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

24 years agoFix typo in last change.
ghazi [Mon, 13 Sep 1999 04:40:51 +0000 (04:40 +0000)]
Fix typo in last change.

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

24 years ago * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
ghazi [Mon, 13 Sep 1999 03:57:40 +0000 (03:57 +0000)]
* Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.

* gcc.h: New file.
(lang_specific_driver): Don't take a function pointer parameter.
All callers changed.

* gcc.c: Include gcc.h.
(do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
lang_specific_extra_outfiles, fatal): Don't declare.
(multilib_defaults_raw): Constify.
(read_specs): Call memset, rather than bzero.
(main): Call return, not exit.
(lookup_compiler): Call memcpy, not bcopy.
(fatal): Make extern.

* cppspec.c: Include gcc.h.
(lang_specific_driver): Initialize variable `quote'.  Constify a
char*.  All calls to the function pointer parameter now
explicitly call `fatal'.

* gccspec.c (lang_specific_driver): Include gcc.h.

cp:

* Make-lang.in (g++spec.o): Depend on system.h and gcc.h.

* g++spec.c: Include gcc.h.
(lang_specific_driver): Constify a char*.  Call xcalloc, not
  xmalloc/bzero.  All calls to the function pointer parameter now
  explicitly call `fatal'.

f:

* Make-lang.in (g77spec.o): Depend on system.h and gcc.h.

* g77spec.c: Include gcc.h.
(g77_xargv): Constify.
(g77_fn): Add parameter prototypes.
(lookup_option, append_arg): Add static prototypes.
(g77_newargv): Constify.
(lookup_option, append_arg, lang_specific_driver): Constify a char*.
(lang_specific_driver): All calls to the function pointer
  parameter now explicitly call `fatal'.

java:

* Make-lang.in (jvspec.o): Depend on system.h and gcc.h.

* jvspec.c: Include gcc.h.  Don't include gansidecl.h.
(do_spec, lang_specific_pre_link, lang_specific_driver,
input_filename, input_filename_length): Don't declare.
(main_class_name, jvgenmain_spec, lang_specific_driver):
Constify a char*.
(lang_specific_driver): All calls to the function pointer
parameter now explicitly call `fatal'.

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

24 years ago * call.c (implicit_conversion): Robustify. Handle OFFSET_REFs.
mmitchel [Mon, 13 Sep 1999 00:35:00 +0000 (00:35 +0000)]
* call.c (implicit_conversion): Robustify.  Handle OFFSET_REFs.
* cvt.c (ocp_convert): Complete the from and destination types.
Adjust warning about functions always being `true' in conditionals.
* decl.c (duplicate_decls): Don't play funny games with abort.
* error.c (dump_expr): Handle OVERLOADs.
* spew.c (probe_obstack): Remove.
* typeck.c (condition_conversion): Use perform_implicit_conversion.

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

24 years ago * decl.c (add_decl_to_level): Remove TREE_PERMANENT assertion.
mmitchel [Sun, 12 Sep 1999 21:19:02 +0000 (21:19 +0000)]
* decl.c (add_decl_to_level): Remove TREE_PERMANENT assertion.
(init_decl_processing): Don't set TREE_PERMANENT for the
error_mark_node.
(start_decl): Don't rebuild non-permanent ARRAY_TYPEs.
(grokdeclarator): Likewise.
(grokparms): Don't check TREE_PERMANENT when building up lists.
* decl2.c (grokfield): Don't assert TREE_PERMANENT.
(mark_inline_for_output): Likewise.
* expr.c (cplus_expand_expr): Don't check TREE_PERMANENT.
* init.c (build_offset_ref): Don't check TREE_PERMANENT.
* lex.c (check_newline): Don't check ggc_p; it is always one.
* pt.c (process_template_parm): Don't check TREE_PERMANENT.
* spew.c (yylex): Don't copy_node or probe_obstacks for
non-permanent CONSTANTs and STRINGs.
* tree.c (build_cplus_array_type_1): Don't fuss with
TREE_PERMANENT on ARRAY_TYPEs.

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

24 years ago* arm.c (note_invalid_constants): Use recog_data.operand_type
rearnsha [Sun, 12 Sep 1999 18:51:35 +0000 (18:51 +0000)]
* arm.c (note_invalid_constants): Use recog_data.operand_type
for recog_op_type.

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

24 years agoFix stupid mistake
crux [Sun, 12 Sep 1999 15:15:54 +0000 (15:15 +0000)]
Fix stupid mistake

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

24 years agoAdd missing declarations
crux [Sun, 12 Sep 1999 15:03:28 +0000 (15:03 +0000)]
Add missing declarations

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

24 years agoUse structures not many single arrays in reload
crux [Sun, 12 Sep 1999 14:54:56 +0000 (14:54 +0000)]
Use structures not many single arrays in reload

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

24 years agodefine_function cleanup
crux [Sun, 12 Sep 1999 14:03:23 +0000 (14:03 +0000)]
define_function cleanup

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

24 years ago * alpha.md (adddi3): Make `pattern' array static.
rth [Sun, 12 Sep 1999 12:46:27 +0000 (12:46 +0000)]
    * alpha.md (adddi3): Make `pattern' array static.

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

24 years agoReplace insn_foo with insn_data.foo.
rth [Sun, 12 Sep 1999 12:46:08 +0000 (12:46 +0000)]
Replace insn_foo with insn_data.foo.

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

24 years ago * config/c4x/c4x.h (c4x_rpts_cycles_string,
m.hayes [Sun, 12 Sep 1999 10:24:02 +0000 (10:24 +0000)]
* config/c4x/c4x.h (c4x_rpts_cycles_string,
c4x_cpu_version_string): Constify char *.
* config/c4x/c4x.c (c4x_rpts_cycles_string,
c4x_cpu_version_string): Likewise.

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

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

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

24 years ago * tree.c (save_tree_status): Revert 10 Sep change.
rth [Sun, 12 Sep 1999 06:30:39 +0000 (06:30 +0000)]
    * tree.c (save_tree_status): Revert 10 Sep change.
        (restore_tree_status): Likewise.  Call obstack_free with NULL
        before freeing the obstack proper.

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