1. 12 Jul, 2001 11 commits
  2. 11 Jul, 2001 29 commits
    • Makefile.in (c-lex.o): Wrap long lines. · 7f905405
      	* Makefile.in (c-lex.o): Wrap long lines.  Depend on debug.h.
      	* c-lex.c (cb_file_change, cb_define, cb_undef): Use debug
      	hooks directly.
      	* dbxout.c (dbx_debug_hooks): Add new hooks.
      	(dbxout_start_new_source_file): Rename dbxout_start_source_file,
      	make static.
      	(dbxout_resume_previous_source_file): Rename dbxout_end_source_file,
      	make static.
      	* dbxout.h (dbxout_start_new_source_file,
      	dbxout_resume_previous_source_file): Delete.
      	* debug.c (do_nothing_debug_hooks): Add new hooks.
      	(debug_nothing_init_finish): Rename debug_nothing_file_charstar.
      	(debug_nothing_int_charstar, debug_nothing_int): New.
      	* debug.h (gcc_debug_hooks): New hooks define, undef,
      	start_source_file and end_source_file.
      	(debug_nothing_init_finish): Rename debug_nothing_file_charstar.
      	(debug_nothing_int_charstar, debug_nothing_int): New.
      	* dwarf2out.c (dwarf2_debug_hooks): Add new hooks.
      	(dwarf2out_start_source_file, dwarf2out_end_source_file,
      	dwarf2out_define, dwarf2out_undef): Make static.
      	* dwarf2out.h (dwarf2out_start_source_file, dwarf2out_end_source_file,
      	dwarf2out_define, dwarf2out_undef): Remove.
      	* dwarfout.c (dwarf_debug_hooks): Add new hooks.
      	(dwarfout_start_source_file, dwarfout_end_source_file,
      	dwarfout_define, dwarfout_undef): Make static.
      	(dwarfout_start_source_file_check,
      	dwarfout_end_source_file_check): New.
      	(dwarfout_define, dwarfout_finish): Update.
      	* dwarfout.h (dwarfout_start_new_source_file,
      	dwarfout_resume_previous_source_file, dwarfout_define,
      	dwarfout_undef): Remove.
      	* sdbout.c (sdb_debug_hooks): Add new hooks.
      	(sdbout_start_new_source_file): Rename sdbout_start_source_file,
      	make static.
      	(sdbout_resume_previous_source_file): Rename sdbout_end_source_file,
      	make static, take an arg.
      	* sdbout.h (sdbout_start_new_source_file,
      	sdbout_resume_previous_source_file): Delete.
      	* toplev.c (debug_start_source_file, debug_end_source_file,
      	debug_define, debug_undef): Delete.
      	* toplev.h (debug_start_source_file, debug_end_source_file,
      	debug_define, debug_undef): Delete.
      
      	* java/jcf-parse.c: Include debug.h.
      	(parse_class_file): Update to use debug hooks directly.
      	* java/Make-lang.in (jcf-parse.o): Depend on debug.h.
      
      From-SVN: r43952
      Neil Booth committed
    • alias.c (set_mem_alias_set): New function. · ba4828e0
      	* alias.c (set_mem_alias_set): New function.
      	* rtl.h (set_mem_alias_set): Declare it.
      	* builtins.c (expand_builtin_return_addr): Call it instead of
      	using MEM_ALIAS_SET accessor.
      	(expand_builtin_setjmp_setup, expand_builtin_longjmp): Likewise.
      	(get_memory_rtx, expand_builtin_va_arg): Likewise.
      	(expand_builtin_va_copy):Likewise.
      	* caller-save.c (setup_save_areas): Likewise.
      	* calls.c (compute_argument_addresses): Likewise.
      	* explow.c (set_mem_attributes): Likewise.
      	* expr.c (emit_single_push_insn, emit_push_insn): Likewise.
      	(expand_assignment, store_constructor_field, store_field): Likewise.
      	(expand_expr_unaligned): Likewise.
      	* function.c (assign_stack_temp_for_type): Likewise.
      	(put_reg_into_stack, gen_mem_addressof): Likewise.
      	* ifcvt.c (noce_try_cmove_arith): Likewise.
      	* reload1.c (reload, alter_reg): Likewise.
      	* config/alpha/alpha.c (get_aligned_mem): Likewise.
      	(alpha_set_memflags_1, alpha_expand_unaligned_load): Likewise.
      	(alpha_expand_unaligned_store): Likewise
      	(alpha_expand_unaligned_load_words): Likewise.
      	(alpha_expand_unaligned_store_words): Likewise.
      	(alpha_expand_block_clear, alpha_expand_prologue): Likewise.
      	(alpha_expand_epilogue): Likewise.
      	* config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
      	* config/clipper/clipper.c (clipper_builtin_saveregs): Likewise.
      	* config/i386/i386.c (legitimize_pic_address): Likewise.
      	* config/i960/i960.c (setup_incoming_varargs): Likewise.
      	* config/ia64/ia64.c (spill_restore_mem): Likewise.
      	* config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
      	* config/m8k/m88k.c (m88k_builtin_saveregs): Likewise.
      	* config/mips/mips.c (mips_va_arg): Likewise.
      	* config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
      	* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
      	* config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
      	(setup_incoming_varargs, rs6000_va_arg): Likewise.
      	(rs6000_emit_eh_toc_restore, rs6000_emit_prologue): Likewise.
      	(rs6000_emit_epilogue): Likewise.
      	* config/sh/sh.c (sh_builtin_saveregs): Likewise.
      	* config/sparc/sparc.c (sparc_va_arg): Likewise.
      	* config/v850/v850.c (v850_va_arg): Likewise.
      
      From-SVN: r43951
      Richard Kenner committed
    • flow.c (merge_blocks_move_successor_nojumps): Do not crash when fallthru edge is present. · 46fac664
      	* flow.c (merge_blocks_move_successor_nojumps): Do not crash
      	when fallthru edge is present.
      	(mege_blocks): Handle case where creation of jump insn
      	is required.
      
      	* basic-block.h (CLEANUP_EXPENSIVE, CLEANUP_CROSSJUMP,
      	CLEANUP_POST_REGSTACK): New constants.
      	* except.c (finish_eh_generation): Update call of cleanup_cfg,
      	* jump.c (rtx_renumbered_equal_p): Handle 't' fields.
      	* output.h (cleanup_cfg): Update prototype.
      	* reg-stack.c (reg_to_stack): Use cleanup_cfg instead of jump_optimize
      	* sibcall.c (optimize_sibling_and_tail_recursive_call): Update
      	cleanup_cfg call; kill missleading comment.
      	* toplev.c (rest_of_compilation): Update all cleanup_cfg calls.
      	* flow.c (merge_blocks, try_optimize_cfg, cleanup_cfg): Accept mode
      	parameter; control optimizations performed using it.
      	(flow_find_cross_jump, outgoing_edges_match, try_crossjump_to_edge,
      	try_crossjump_bb): New functions.
      
      From-SVN: r43950
      Jan Hubicka committed
    • run_doxygen: Don't keep output from previous run. · 669f7a03
      2001-07-11  Phil Edwards  <pme@sources.redhat.com>
      
      	* docs/doxygen/run_doxygen:  Don't keep output from previous run.
      	* docs/doxygen/user.cfg.in:  Tweaks.
      	* include/bits/c++config:  Documentation comments for Doxygen.
      	* include/bits/char_traits.h:  Likewise.
      	* include/bits/limits_generic.h:  Likewise.
      	* include/bits/std_stdexcept.h:  Likewise.
      	* include/bits/stl_pair.h:  Likewise.
      	* libsupc++/exception:  Likewise.
      	* libsupc++/new:  Likewise.
      	* libsupc++/typeinfo:  Likewise.
      	* libmath/Makefile.am:  Update and correct copyright.
      
      From-SVN: r43948
      Phil Edwards committed
    • pa.c (pa_output_function_prologue): Delete prototype. · 9acc24a5
      	* pa.c (pa_output_function_prologue): Delete prototype.  Make function
      	extern.
      	* pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
      	pa_output_function_prologue.
      	* pa-protos.h (pa_output_function_prologue): New prototype.
      
      From-SVN: r43947
      John David Anglin committed
    • intrinsic77.f: New test. · 2ea80cfd
      2001-07-11  David Billinghurst <David.Billinghurst@riotinto.com>
      
      	* g77.f-torture/execute/intrinsic77.f: New test.
      
      From-SVN: r43946
      David Billinghurst committed
    • stmt.c (emit_case_nodes): Widen high and low instead of new_bound and low to get… · 9312aecc
      stmt.c (emit_case_nodes): Widen high and low instead of new_bound and low to get correct sign extension...
      
      	* stmt.c (emit_case_nodes): Widen high and low instead of new_bound
      	and low to get correct sign extension in low+high test.
      
      From-SVN: r43945
      John David Anglin committed
    • gcov.c (arcdata): Use gcov_type to fix branch percentage for large hit count. · 4b9664e2
              * gcov.c (arcdata): Use gcov_type to fix branch percentage
              for large hit count.
      
      From-SVN: r43944
      Janis Johnson committed
    • * gcc.misc-tests/gcov-3.c: New test. · 1ca46974
      From-SVN: r43943
      Janis Johnson committed
    • profile.c (branch_prob): Fix .bbg info for computed gotos and C++ EH code. · dec2b703
              * profile.c (branch_prob): Fix .bbg info for computed gotos
              and C++ EH code.
      
      From-SVN: r43942
      Janis Johnson committed
    • stmt.c (parse_output_constraint): New function, split out from ... · 40b18c0a
      	* stmt.c (parse_output_constraint): New function, split out
      	from ...
      	(expand_asm_operands): ... here.  Use parse_output_constraint.
      	* tree.h (parse_output_constraint): Declare it.
      
      	* semantics.c (finish_asm_stmt): Mark the output operands
      	to an asm addressable, if necessary.
      
      From-SVN: r43941
      Mark Mitchell committed
    • bitmap.c: Comment some functions; fiddle whitespace. · a615c28a
              * bitmap.c: Comment some functions; fiddle whitespace.
              (bitmap_free): Don't export.
              (bitmap_element_allocate): Use memset.
              * bitmap.h (bitmap_free): Don't declare.
      
      From-SVN: r43940
      Richard Henderson committed
    • gcse.c, [...]: s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g · 5a660bff
              * gcse.c, lcm.c, sched-deps.c:
              s/free on sbitmap vectors/sbitmap_vector_free on sbitmap vectors/g
      
              * flow.c (flow_loops_find): Free dom if we found no loops, since
              we aren't going to save it.
      
              * lcm.c (pre_edge_rev_lcm): Free st_antin, st_antout when we are
              done.
      
      From-SVN: r43938
      Daniel Berlin committed
    • * ssa-ccp.c (ssa_fast_dce): Free worklist when completed. · 1a9485cf
      From-SVN: r43937
      Jeffrey A Law committed
    • dwarf2out.c (dwarf2out_init, [...]): Add dummy version #ifndef DWARF2_DEBUGGING_INFO. · c8383050
      	* dwarf2out.c (dwarf2out_init, dwarf2out_finish): Add dummy version
      	#ifndef DWARF2_DEBUGGING_INFO.
      
      From-SVN: r43936
      Richard Kenner committed
    • * Revert today's change -- there is a subtle bug. · 219670f1
      From-SVN: r43935
      Ben Elliston committed
    • * gcc.c-torture/compile/20010711-1.c, · 0e41fb04
      	* gcc.c-torture/compile/20010711-2.c: New tests.
      
      From-SVN: r43934
      Richard Sandiford committed
    • * gcc.c-torture/execute/20010711-1.c: New test. · 4a1b6176
      From-SVN: r43932
      Richard Sandiford committed
    • mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE… · b5265b32
      mips.c (gen_int_relational): Tell the caller not to reverse a branch if a NE comparison is implemented with GTU.
      
      	* config/mips/mips.c (gen_int_relational): Tell the caller not to
      	reverse a branch if a NE comparison is implemented with GTU.
      
      From-SVN: r43931
      Richard Sandiford committed
    • mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for constant addresses. · b87c8c8c
      	* mips.md (call_internal1): Use CONSTANT_ADDRESS_P to check for
      	constant addresses.
      	(call_internal2): Likewise.
      	(call_value_internal1): Likewise.
      	(call_value_internal2): Likewise.
      	(call_value_multiple_internal1): Likewise.
      	(call_value_multiple_internal2): Likewise.
      
      Co-Authored-By: H.J. Lu <hjl@gnu.org>
      
      From-SVN: r43930
      Richard Sandiford committed
    • re PR c++/80 (g++ enum and attributed __packed__) · 517c3b80
      2001-07-11  Ben Elliston  <bje@redhat.com>
      
      	PR c++/80
      	* decl.c (finish_enum): New "attributes" argument; pass it to
      	cplus_decl_attributes.  Use a narrower type if the enum is packed.
      	* cp-tree.h (finish_enum): Adjust prototype.
      	* parse.y (enum_head): New non-terminal.
      	(structsp): Use it. Enums now may be preceded or followed by
      	optional attributes -- pass their chained tree to finish_enum().
      	* pt.c (tsubst_enum): Pass NULL_TREE for the new argument.
      
      From-SVN: r43929
      Ben Elliston committed
    • enum5.C: New test. · 6fbce318
      2001-07-11  Ben Elliston  <bje@redhat.com>
      
      	* g++.old-deja/g++.other/enum5.C: New test.
      
      From-SVN: r43928
      Ben Elliston committed
    • [multiple changes] · 2df37a59
      2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
      	* lang-specs.h: Forbit the use if `-femit-class-file{s}' without
      	`-fsyntax-only.' Fixes PR java/3248
      
      2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
      	* jcf-io.c (find_class): Clarified error message. Fixes PR java/2603
      
      2001-07-10  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
      	* parse.h (INNER_ENCLOSING_SCOPE_CHECK): No `this' is fine if the
      	current function is static. Fixes PR java/1970
      
      2001-07-09  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
      	* parse.y (patch_method_invocation): Add enclosing context to ctor
      	calls if necessary. Fixes PR java/2953
      
      2001-07-09  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
      	* parse.y (resolve_package): Abort if qualified expression member
      	isn't right.
      	(qualify_ambiguous_name): Don't qualify as type if `this' in use.
      	Fixes PR java/1391
      
      (http://gcc.gnu.org/ml/gcc-patches/2001-07/msg00701.html )
      
      From-SVN: r43927
      Alexandre Petit-Bianco committed
    • Daily bump. · 3a2a1b52
      From-SVN: r43925
      GCC Administrator committed
    • pt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope variables. · 2ba9c47e
      	* pt.c (tsubst_decl): Set DECL_CONTEXT for namespace-scope
      	variables.
      
      From-SVN: r43924
      Mark Mitchell committed
    • Add some org packages. · 9556f887
      From-SVN: r43922
      Anthony Green committed
    • Fix a typo in ChangeLog. · 608fe35b
      From-SVN: r43921
      Kazu Hirata committed