1. 18 Sep, 1999 7 commits
    • haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of zapping the… · 2a780534
      haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of zapping the LOG_LINKS of sched_before_next_call.
      
              * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
              zapping the LOG_LINKS of sched_before_next_call.
      
      From-SVN: r29496
      Jeffrey A Law committed
    • * inline1.C: New test. · 7b318668
      From-SVN: r29495
      Alexandre Oliva committed
    • typeck.c (get_member_function_from_ptrfunc): Always consider virtuality inside member pointer. · 03b256e4
      	* typeck.c (get_member_function_from_ptrfunc): Always consider
      	virtuality inside member pointer.
      
      From-SVN: r29494
      Martin v. Löwis committed
    • New test case. · e9013db2
      From-SVN: r29493
      Martin v. Löwis committed
    • Daily bump. · f3310c0d
      From-SVN: r29492
      Jeff Law committed
    • pa.h (INSN_SETS_ARE_DELAYED): Delete. · 2561a923
              * pa.h (INSN_SETS_ARE_DELAYED): Delete.
              * pa.c (insn_refs_are_delayed): Renamed from
              insn_sets_and_refs_are_delayed.
      
      From-SVN: r29491
      Jeffrey A Law committed
    • Turn on function-at-a-time processing. · b35d4555
      	* cp-tree.h (doing_semantic_analysis_p): New macro.
      	(SF_DEFAULT): Define to zero, not SF_EXPAND.
      	(start_handler_parms): Change prototype.
      	(expand_start_catch_block): Likewise.
      	(expand_end_catch_block): Likewise.
      	(expand_start_eh_spec): Likewise.
      	(expand_end_eh_spec): Declare.
      	(finish_handler_parms): Change prototype.
      	(begin_catch_block): Declare.
      	(finish_handler): Change prototype.
      	(do_pushlevel): Declare.
      	(do_poplevel): Likewise.
      	* decl.c (pushlevel): Don't create
      	binding levels when not doing semantic analysis.
      	(poplevel): Don't pop them.
      	(pushdecl): Assert that we are never called when not doing
      	semantic analysis.
      	(pushdecl_top_level): Use push_to_top_level.
      	(make_label_decl): Don't fiddle with obstacks.  Make RTL For the
      	label when expanding.
      	(cp_finish_decl): Only inject for-scope variables when doing
      	semantic analysis.  Add comments.
      	(start_handler_parms): Return the handler parm.
      	(start_function): Reorganize.  Don't clear DECL_INITIAL if it is
      	already set.  Reinitialize from saved function data if available.
      	Don't pushlevel when not doing semantic analysis.
      	(store_parm_decls): Only generate RTL when expanding.  Only
      	pushdecl when doing semantic analysis.  Set
      	current_eh_spec_try_block if appropriate.
      	(finish_function): Simplify.  Use do_pushlevel and do_poplevel.
      	Combine common code.  Don't poplevel when not doing semantic
      	analysis.
      	(push_cp_function_context): Don't expand functions without an
      	explicit call to expand_body.
      	(mark_lang_function): Make eh_spec_try_block and
      	x_scope_stmt_stack.
      	* except.c (expand_end_eh_spec): Don't
      	declare.
      	(process_start_catch_block): Likewise.
      	(push_eh_cleanup): Use finish_decl_cleanup.
      	(initialize_handler_parm): New function.
      	(expand_start_catch_block): Use it.
      	(expand_end_catch_block): Use tree-generation functions, not
      	RTL-generation functions.
      	(expand_start_eh_spec): Likewise.
      	(expand_end_eh_spec): Likewise.
      	(expand_exception_blocks): Simplify.
      	(start_anon_func): Use do_pushlevel.
      	(end_anon_func): Use do_poplvel.  Call expand_body for the
      	function.
      	* expr.c (do_case): Don't call define_case_label.
      	* init.c (create_temporary_var): Set DECL_CONTEXT for local
      	variables.
      	* method.c (emit_thunk): Call expand_body for the
      	thunk.
      	(sythesize_method): Likewise.
      	* parse.y (handler_args): Give it ttype.
      	(eat_saved_input): Call expand_body.
      	(base_init): Use do_pushlevel.
      	(pending_inline): Call expand_body.
      	(handler): Adjust calls to finish_handler_parms and
      	finish_handler.
      	(handler_args): Don't call expand_start_catch_block.  Return the
      	catch parameter.  * pt.c (tsubst_expr): Adjust HANDLER handling.
      	* parse.c: Regenerated.
      	* rtti.c (synthesize_tinfo_fn): Call finish_function.
      	* semantics.c (do_pushlevel): Give it external linkage.  Build
      	SCOPE_STMTs.
      	(do_poplevel): Likewise.
      	(finish_case_label): Call define_case_label when doing semantic
      	analysis.
      	(finish_goto_stmt): Create RTL for labels.
      	(finish_function_try_block): Set in_function_try_handler
      	unconditionally.
      	(finish_function_handler_sequence): Unset it.
      	(finish_handler_parms): Use expand_start_catch_block even when
      	building a statement-tree.
      	(begin_catch_block): New function.
      	(finish_handler): Move a little RTL-generation logic here.
      	(finish_decl_cleanup): Allow cleanups for empty declarations.
      	(finish_named_return_value): Don't pushdecl when not doing
      	semantic analysis.
      	(expand_stmt): Don't do semantic analysis for variable
      	declarations.  Handle START_CATCH_STMT.  Call expand_label
      	directly for a LABEL_STMT.  Tweak handling of GOTO_STMT.  Adjust
      	HANDLERs.  Handle SCOPE_STMT, CTOR_INITIALIZER, and RETURN_INIT.
      	(expand_body): Let expand_stmt handle CTOR_INITIALIZER,
      	RETURN_INIT and function try blocks.
      
      From-SVN: r29490
      Mark Mitchell committed
  2. 17 Sep, 1999 22 commits
  3. 16 Sep, 1999 11 commits
    • alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero. · 0868989e
              * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
              * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
      
      From-SVN: r29467
      Richard Henderson committed
    • 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