1. 16 Sep, 1999 23 commits
    • alpha.md: Revert Thu Nov 26 change that came in through the last gcc2 merge... · 626e2d6d
              * alpha.md: Revert Thu Nov 26 change that came in through the
              last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
              Avoid earlyclobber when possible.
      
      From-SVN: r29466
      Richard Henderson committed
    • libgcc2.c (__do_global_ctors): Call atexit with one arg. · a218d5ba
      	* libgcc2.c (__do_global_ctors): Call atexit with one arg.
      
      	* sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
      	Define HAVE_ON_EXIT.
      
      From-SVN: r29465
      Kaveh R. Ghazi committed
    • lex.c (init_cpp_parse): Call xcalloc, not malloc/bzero. · fffeac96
      	* lex.c (init_cpp_parse): Call xcalloc, not malloc/bzero.
      
      	* xref.c (SALLOC): Call xstrdup, not xmalloc/strcpy.
      
      From-SVN: r29464
      Kaveh R. Ghazi committed
    • system.h (CTYPE_CONV, [...]): New macros. · 92a438d1
      	* system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros.  Use
      	CTYPE_CONV in all ctype macros.
      
      	* cccp.c (initialize_char_syntax): Use uppercase ctype macro
      	from system.h.
      
      	* cexp.y (initialize_random_junk): Likewise.
      
      	* c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
      
      	* i370.c (handle_pragma): Likewise.
      
      	* i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
      
      	* v850.c (override_options): Likewise.
      
      	* doprint.c (_doprnt): Likewise.
      
      	* fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
      	Likewise.
      
      	* fixinc/server.c (load_data): Likewise.
      
      	* fold-const.c (real_hex_to_f): Likewise.
      
      	* genattr.c (write_upcase, gen_attr): Likewise.
      
      	* genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
      	write_upcase): Likewise.
      
      	* genemit.c (print_code): Likewise.
      
      	* genopinit.c (gen_insn): Likewise.
      
      	* genpeep.c (print_code): Likewise.
      
      	* genrecog.c (print_code): Likewise.
      
      	* optabs.c (init_libfuncs): Likewise.
      
      ch:
      
      	* lex.c (maybe_downcase, getlc, handle_generic_pragma,
      	check_newline): Likewise.
      
      f:
      
      	* bad.c (ffebad_finish): Likewise.
      
      	* fini.c (main): Likewise.
      
      	* intrin.c (ffeintrin_init_0): Likewise.
      
      	* lex.c (ffelex_hash_): Likewise.
      
      	* src.c (ffesrc_init_1): Likewise.
      
      From-SVN: r29463
      Kaveh R. Ghazi committed
    • haifa-sched.c (sched_analyze): Keep the list of notes organized in pairs. · 7bd41ea6
      	* haifa-sched.c (sched_analyze): Keep the list of notes organized
      	in pairs.
      	(reemit_notes): Likewise.
      
      From-SVN: r29462
      Mark Mitchell committed
    • ggc.h (ggc_root): Move to ggc-common.c. · 96df4529
      Thu Sep 16 11:50:52 1999  Alex Samuel  <samuel@codesourcery.com>
      
              * ggc.h (ggc_root): Move to ggc-common.c.
              (roots): Remove.
              (ggc_mark_rtx, ggc_mark_tree): Change to macro.
              (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
              (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
              (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
              * ggc-common.c (ggc_root): Move from ggc.h.
              (roots): Declare, static.
              (ggc_mark_rtx, ggc_mark_tree): Renamed to...
              (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
              null or check/set mark bit.
              (ggc_mark_roots): New.
              * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
      
      From-SVN: r29461
      Alex Samuel committed
    • Add missing ChangeLog entry · 2a6ec461
      From-SVN: r29460
      Mark Mitchell committed
    • m32r.c: Include toplev.h. · 61f3b78f
              * 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.
      
      From-SVN: r29459
      Richard Henderson committed
    • decl2.c (finish_file): Also call check_global_declarations for the pending_statics list. · 033ed340
      	* decl2.c (finish_file): Also call check_global_declarations for
      	the pending_statics list.
      
      From-SVN: r29458
      Jason Merrill committed
    • gjavah.c (get_field_name, [...]): Use xmalloc, not malloc. · c2e3db92
      	* 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.
      
      From-SVN: r29457
      Kaveh R. Ghazi committed
    • mips.md (movsi_usw): if operand 1 is const_int 0, use $0 instead of 0. · 7ca3e713
      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.
      
      From-SVN: r29456
      Andrew Haley committed
    • Bugfix in order_regs_for_reload · 2feb9704
      From-SVN: r29455
      Bernd Schmidt committed
    • Daily bump. · 7402eca0
      From-SVN: r29454
      Jeff Law committed
    • function.c (identify_blocks): Don't shadow a variable in an outer scope. · 21204d34
      	* 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.
      
      From-SVN: r29453
      Mark Mitchell committed
    • decl.c (warn_extern_redeclared_static): Simplify. · 24f30ed4
      	* 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.
      
      From-SVN: r29450
      Mark Mitchell committed
    • toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math · 9605da8a
              * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
              * invoke.texi: Document this change.
      
      From-SVN: r29449
      Brad Lucier committed
    • emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT. · fa51b01b
              * 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.
      
      From-SVN: r29448
      Richard Henderson committed
    • * c-lex.c (yylex): Initialize warn. · 637194e6
      From-SVN: r29447
      Richard Henderson committed
    • pa.c (emit_move_sequence): Properly set the mode of the scratch register when... · dd8c13e3
      
              * pa.c (emit_move_sequence): Properly set the mode of the scratch
              register when performing secondary reloads for the SAR register.
      
      From-SVN: r29446
      Jeffrey A Law committed
    • * tree.h (reorder_block): Change prototype. · 5019d7a7
      From-SVN: r29445
      Mark Mitchell committed
    • lex.c (cp_pragma_implementation): Allow #pragma implementation in header files. · 777ffbda
      	* lex.c (cp_pragma_implementation): Allow #pragma implementation
      	in header files.
      
      From-SVN: r29444
      Jason Merrill committed
    • fix comment · d4c2d8af
      From-SVN: r29443
      Jason Merrill committed
  2. 15 Sep, 1999 17 commits