1. 07 Dec, 2001 6 commits
  2. 06 Dec, 2001 30 commits
    • MAINTAINERS (Write After Approval): Add myself. · 21cf0a73
      2001-12-07  Paolo Carlini  <pcarlini@unitus.it>
      
      	* MAINTAINERS (Write After Approval): Add myself.
      
      From-SVN: r47738
      Paolo Carlini committed
    • memcheck: Delete entire directory. · 6be14315
      
              * gcc.c-torture/execute/memcheck: Delete entire directory.
              (files: blkarg.c blkarg.x driver.c driver.h t1.c t2.c t3.c
              t4.c t5.c t6.c t7.c t8.c t9.c template memcheck.exp)
      
      From-SVN: r47737
      Zack Weinberg committed
    • memcheck: Delete entire directory. · b4fcd7d2
      	* gcc.c-torture/execute/memcheck: Delete entire directory.
      	(files: blkarg.c blkarg.x driver.c driver.h t1.c t2.c t3.c
      	t4.c t5.c t6.c t7.c t8.c t9.c template memcheck.exp)
      
      From-SVN: r47736
      Zack Weinberg committed
    • verify.cc (_Jv_BytecodeVerifier::type_val): Added unused_by_subroutine_type. · c1bf99a2
      	* verify.cc (_Jv_BytecodeVerifier::type_val): Added
      	unused_by_subroutine_type.
      	(_Jv_BytecodeVerifier::type::merge): Handle
      	unused_by_subroutine_type.
      	(_Jv_BytecodeVerifier::state::state): Added `ret_semantics'
      	argument.
      	(_Jv_BytecodeVerifier::state::copy): Likewise.
      	(_Jv_BytecodeVerifier::push_jump_merge): Pass `ret_semantics' to
      	state constructor.
      	(_Jv_BytecodeVerifier::state::is_unmerged_ret_state): New method.
      	(_Jv_BytecodeVerifier::pop_jump): Don't accept a jump which is
      	from an unmerged ret.
      	(_Jv_BytecodeVerifier::verify_instructions_0): Don't let an
      	unmerged ret state skip verification in the fall-through case.
      	(debug_print): New function.
      	(_Jv_BytecodeVerifier::type::print): New method.
      	(_Jv_BytecodeVerifier::state::print): New method.
      	(_Jv_BytecodeVerifier::push_jump_merge): Print state.
      	(_Jv_BytecodeVerifier::verify_instructions_0): Likewise.
      	(_Jv_BytecodeVerifier::get_variable): Don't call note_variable.
      	(_Jv_BytecodeVerifier::_Jv_BytecodeVerifier): Print debug
      	information.
      
      From-SVN: r47734
      Tom Tromey committed
    • demangle.h (no_demangling): New. · d06ba3c7
              * demangle.h (no_demangling): New.
              (NO_DEMANGLING_STYLE_STRING): New.
      
              * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
              (cplus_demangle): Support no_demangling.
      
      From-SVN: r47733
      Richard Henderson committed
    • re PR libf2c/4826 (Build error for 3.0.2 on Tru64 Unix 5.1A) · 6d638aac
      	* fixinc/inclhack.def (stdio_va_list): Handle __VA_LIST__ in Tru64
      	UNIX V5.1A stdio.h.
      	* fixinc/fixincl.x: Regenerate.
      	Fixes PR libf2c/4826.
      
      From-SVN: r47732
      Rainer Orth committed
    • tm.texi (DWARF_FRAME_REGISTERS): Add documentation. · 919543ab
              * doc/tm.texi (DWARF_FRAME_REGISTERS): Add documentation.
              (PRE_GCC3_DWARF_FRAME_REGISTERS): Same.
      
              * unwind-dw2.c (__frame_state_for): Change DWARF_FRAME_REGISTERS
              to PRE_GCC3_DWARF_FRAME_REGISTERS.
              (frame_state): Same.
              (PRE_GCC3_DWARF_FRAME_REGISTERS): Define if not already defined.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r47730
      Aldy Hernandez committed
    • std_bitset.h: Use GLIBCPP in multiple-inclusion guard. · 9d6a24bd
      2001-12-06  Phil Edwards  <pme@gcc.gnu.org>
      
      	* include/bits/std_bitset.h:  Use GLIBCPP in multiple-inclusion guard.
      	* include/bits/stl_algo.h:  Likewise.
      	* include/bits/stl_algobase.h:  Likewise.
      	* include/bits/stl_bvector.h:  Likewise.
      	* include/bits/stl_deque.h:  Likewise.
      	* include/bits/stl_function.h:  Likewise.
      	* include/bits/stl_iterator.h:  Likewise.
      	* include/bits/stl_iterator_base_funcs.h:  Likewise.
      	* include/bits/stl_iterator_base_types.h:  Likewise.
      	* include/bits/stl_list.h:  Likewise.
      	* include/bits/stl_multimap.h:  Likewise.
      	* include/bits/stl_multiset.h:  Likewise.
      	* include/bits/stl_pair.h:  Likewise.
      	* include/bits/stl_queue.h:  Likewise.
      	* include/bits/stl_set.h:  Likewise.
      	* include/bits/stl_stack.h:  Likewise.
      	* include/bits/stl_tempbuf.h:  Likewise.
      	* include/bits/stl_tree.h:  Likewise.
      	* include/bits/stl_vector.h:  Likewise.
      
      	* include/bits/stl_alloc.h:  Use our own multiple inclusion guards.
      	Doxygenate more comments.  Correct historical artifacts in comments.
      	(alloc, single_alloc):  Uglify non-standard names.
      	(__default_alloc_template::_NFREELISTS):  Calculate from other
      	parameters.
      	(__default_alloc_template::_S_free_list):  Remove SunPro workaround.
      	(__default_alloc_template::_Lock):  Mark as "unused".
      	* include/backward/alloc.h:  Update.
      	* include/bits/stl_bvector.h:  Likewise.
      	* include/ext/ropeimpl.h:  Likewise.
      	* include/ext/stl_hashtable.h:  Likewise.
      
      From-SVN: r47729
      Phil Edwards committed
    • Fix typo in 2001-12-03 entry; now: · a5eb2838
              * doc/extend.texi: Document __builtin_prefetch.
      
      From-SVN: r47728
      Janis Johnson committed
    • Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to reduce noise. · 7227d624
      2001-12-06  H.J. Lu <hjl@gnu.org>
      
      	* Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to
      	reduce noise.
      	(.po.pox): Likewise.
      	(o/$(PACKAGE).pot): Likewise.
      
      From-SVN: r47726
      H.J. Lu committed
    • tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following... · a1a0fd4e
      * tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...
      * tree-inline.c (expand_call_inline): ... here.
      
      From-SVN: r47725
      Alexandre Oliva committed
    • Makefile.in (.po.gmo): Use "-mkdir po" for parallel build. · 441f30d9
      2001-12-06  H.J. Lu <hjl@gnu.org>
      
      	* Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.
      	(.po.pox): Likewise.
      	(o/$(PACKAGE).pot): Likewise.
      
      From-SVN: r47724
      H.J. Lu committed
    • config.gcc: Include dbxelf.h before elfos.h. · c40409ce
      2001-12-06  David O'Brien  <obrien@FreeBSD.org>
      	* config.gcc: Include dbxelf.h before elfos.h.
      	* elfos.h: Don't include dbxelf.h, let config.gcc handle it.
      
      Approved by:  Richard Henderson <rth@redhat.com>
                    Message-ID: <20011205224713.D9059@redhat.com>
      
      From-SVN: r47723
      David O'Brien committed
    • cppfiles.c (open_file): If we've opened a directory by mistake, close it. · 55485cd9
      	* cppfiles.c (open_file): If we've opened a directory by
      	mistake, close it.
      	(find_include_file): Avoid turning / into // or // into ///.
      
      From-SVN: r47722
      Zack Weinberg committed
    • Restore definition of STRUCT_VALUE_REGNUM, · e04546dc
      From-SVN: r47721
      Nick Clifton committed
    • flow.c (find_regno_partial): Return register, not the expression the register is in. · 69da3e3a
      2001-12-06  Andrew MacLeod <amacleod@redhat.com>
      
      	* flow.c (find_regno_partial): Return register, not the expression
      	the register is in.
      
      From-SVN: r47720
      Andrew MacLeod committed
    • function.c (handle_epilogue_set): Check for FP setting case when SP is set from FP in same insn. · f189c7ca
      	* function.c (handle_epilogue_set): Check for FP setting case when
      	SP is set from FP in same insn.
      
      From-SVN: r47719
      Richard Kenner committed
    • ooops - omitted text of ChangeLog entry · a8571098
      From-SVN: r47718
      Nick Clifton committed
    • Pass pointer to RTX when calling alter_subreg(). · 4e26a7af
      From-SVN: r47717
      Nick Clifton committed
    • function.c (assing_parms): Fix typo in last change. · a57263bc
      	* function.c (assing_parms): Fix typo in last change.
      	* config/clipper.c (clipper_builtin_saveregs): Remove Checker code.
      	* config/m88k/m88k.c (m88k_builtin_saveregs): Likewise.
      	* config/pa/pa.c (hppa_builtin_saveregs): Likewise.
      	* config/sparc/sparc.c (sparc_builtin_saveregs): Likewise.
      
      From-SVN: r47715
      Richard Kenner committed
    • rs6000.c (rs6000_unique_section): Simplify and correct code selecting section. · 5b8c2356
      	* config/rs6000/rs6000.c (rs6000_unique_section): Simplify and
      	correct code selecting section.
      
      From-SVN: r47714
      Alan Modra committed
    • final.c (count_basic_block, [...]): Kill. · 8456b95a
      	* final.c (count_basic_block, add_bb, add_bb_string):
      	Kill.
      	(end_final, final_start_function, final, final_scan_insn,
      	leaf_function_p): Kill BB profiler related code.
      	* flags.h (profile_block_flag): Kill.
      	* libgcc2.c (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE,
      	BB_BUCKETS, BBINBUFSIZE, bb_edge, bb_func_mode, bb_func,
      	__bb, bb_src, bb_dst, bb_tracefile, bb_hashbuckets,
      	bb_func_head, bb_callcount, bb_mode, bb_stack, bb_stacksize
      	reported, GOPENDECOMPRESS, GOPENCOMPRESS, gopen, gclose,
      	__bb_exit_trace_func, __bb_init_prg, __bb_trace_func,
      	__bb_trace_func_ret, __bb_init_file, __bb_trace_ret,
      	__bb_init_trace_func): Kill.
      	* toplev.c (profile_block_flag): Kill.
      	(indepdendent_decode_option, process_options): Kill -a related code.
      	* alpha.c (direct_call_operand): Likewise.
      	* arm.c (arm_expand_prologue, thumb_expand_prologue,
      	thumb_expand_epilogue): Likewise.
      	* c4x.c (c4x_expand_prologue, c4x_null_epilogue_p): Likewise.
      	* c4x.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* d30v.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* fr30.c (fr30_expand_prologue): Kill BB profiler related code.
      	* i386.c (ix86_can_use_return_insn_p, ix86_expand_prologue,
      	ix86_expand_epilogue, ix86_expand_epilogue): Kill BB profiler related
      	code.
      	(ix86_output_function_block_profiler, ix86_output_block_profiler): Kill.
      	* i386.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* fr30.c (fr30_expand_prologue): Kill BB profiler related code.
      	* i960.c (i960_output_function_prologue): Kill BB profiler related
      	code.
      	* ia64.c (ia64_compute_frame_size): Likewise.
      	* ia64.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* m32r.c (m32r_expand_prolofue): Kill BB profiler related code.
      	* m68hc11.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* m68k.c (m68k_output_function_epilogue): Kill BB profiler related code.
      	* m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* m88k.c (output_options, m88k_layout_frame, m88k_expand_prologue):
      	Kill BB profiler related code.
      	* m88k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* mips.c (mips_expand_prologue): Kill BB profiler related code.
      	* mmix.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* rs6000.c (rs6000_override_options): Kill BB profiler related code.
      	* s960.c (s390_function_prologue): Kill BB profiler related code.
      	* s960.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* linux-aout.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
      	* linux.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
      	* linux64.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
      	* sol2.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
      	* sparc.c (sparc_override_options, eligible_for_sibcall_delay,
      	sparc_nonflat_function_epilogue): Kill BB profiler related code.
      	(sparc_function_block_profiler, sparc_block_profiler,
      	sparc_function_block_profiler_exit): Kill.
      	* sparc.h (OVERRIDE_OPTIONS): Kill BB profiler related code.
      	(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* sun4o3.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
      	* sunos4.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Kill.
      	* stormy16.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      	* doc/invoke.texi: Kill documentation of -a and -ax.
      	* tm.texi (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER,
      	FUNCTION_BLOCK_PROFILER_EXIT, MACHINE_STATE_SAVE,
      	MACHINE_STATE_RESTORE): Kill.
      
      From-SVN: r47712
      Jan Hubicka committed
    • linux64.h (LINK_SPEC): Correct name of dynamic linker. · 26d04e79
      2001-12-06  Bo Thorsen  <bo@suse.co.uk>
      
      	* config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker.
      
      From-SVN: r47709
      Bo Thorsen committed
    • Daily bump. · 4790ab19
      From-SVN: r47707
      GCC Administrator committed
    • function.c (keep_stack_depressed): Check global_live_at_start of EXIT_BLOCK for… · b5ed05aa
      function.c (keep_stack_depressed): Check global_live_at_start of EXIT_BLOCK for temp register and verify it isn't...
      
      	* function.c (keep_stack_depressed): Check global_live_at_start
      	of EXIT_BLOCK for temp register and verify it isn't in equiv_reg_src.
      
      From-SVN: r47706
      Richard Kenner committed
    • config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files, as set by the… · f3465a44
      config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files, as set by the generic FreeBSD configure framework.
      
      2001-12-05  David O'Brien  <obrien@FreeBSD.org>
      	* config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files,
      	as set by the generic FreeBSD configure framework.
      
      Approved by:  obvious rule
      
      From-SVN: r47705
      David O'Brien committed
    • tweak decl syntax · bc46bade
      From-SVN: r47704
      Jason Merrill committed
  3. 05 Dec, 2001 4 commits
    • langhooks.h (struct lang_hooks_for_tree_inlining): Add start_inlining, end_inlining. · 742a37d5
              * langhooks.h (struct lang_hooks_for_tree_inlining): Add
              start_inlining, end_inlining.
              * tree-inline.c (expand_call_inline): Call them.
              * langhooks-def.h (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
              (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
              (LANG_HOOKS_TREE_INLINING_INITIALIZER): Add them.
              * langhooks.c (lhd_tree_inlining_start_inlining): New fn.
              (lhd_tree_inlining_end_inlining): New fn.
      
              * cp-lang.c (LANG_HOOKS_TREE_INLINING_START_INLINING): Define.
              (LANG_HOOKS_TREE_INLINING_END_INLINING): Define.
              * tree.c (cp_start_inlining, cp_end_inlining): New fns.
              * pt.c (push_tinst_level): No longer static.
              * cp-tree.h: Declare them.
      
              * init.c (resolve_offset_ref): Don't check access for the base
              conversion to access a FIELD_DECL.
      
              * cp-tree.h (TYPE_REFFN_P): New macro.
              * decl.c (bad_specifiers): Check it, too.
      
              * rtti.c (create_pseudo_type_info): Set CLASSTYPE_INTERFACE_ONLY
              on the __*_type_info type if we haven't seen a definition.
      
      From-SVN: r47703
      Jason Merrill committed
    • attribs.c (handle_no_check_memory_usage_atribute): Deleted. · e4aae261
      	* attribs.c (handle_no_check_memory_usage_atribute): Deleted.
      	(c_com): Delete its reference.
      	* builtins.c: Delete memory checking code.
      	* calls.c, expr.c, function.c, stmt.c: Likewise.
      	* builtins.c (expand_builtin_arg_info): Remove reference to
      	EXPAND_MEMORY_USE_* modifiers.
      	* explow.c (expr_size): Likewise.
      	* expr.c (expand_expr, expand_increment): Likewise.
      	* expr.h (ARGS_SIZE_RTX): Likewise.
      	* function.c (assign_parms, expand_pending_sizeso): Likewise.
      	* c-decl.c (duplicate_decls): Don't handle DECL_NO_CHECK_MEMORY_USAGE.
      	* expr.c (in_check_memory_usage): Delete.
      	(get_push_address, get_memory_usage_from_modifier): Delete.
      	(expand_assigment): Use EXPAND_WRITE on destination.
      	(expand_expr): Delete ro_modifier.
      	* expr.h (expand_modifier): Delete EXPAND_MEMORY_* entries and
      	add EXPAND_WRITE.
      	(memory_use_mode): Delete.
      	* flags.h (flag_check_memory_usage): Deleted.
      	(flag_prefix_function_name): Likewise.
      	* function.c (expand_function_start): Don't set
      	current_function_check_memory_usage.
      	* function.h (check_memory_usage): Delete.
      	* libfuncs.h, optabs.c: Delete chkr_* stuff.
      	* stmt.c (expand_asm_opernd): Change EXPAND_MEMORY_USE_WO to
      	EXPAND_WRITE.
      	* toplev.c (flag_check_memory_usage): Deleted.
      	(flag_prefix_function_name): Likewise.
      	(f_options, process_options): Delete references to above.
      	* tree.h (DECL_NO_CHECK_MEMORY_USAGE): Deleted.
      	* varasm.c (CHKR_PREFIX): Deleted.
      	(make_decl_rtl): Remove flag_prefix_function_name handling.
      	(assemble_name): Likewise.
      	* doc/extend.texi: Remove no_check_memory_usage attribute.
      	* doc/invoke.texi: Remove -fcheck-memory-usage
      	and -fprefix-function-name.
      	* cp/decl.c (duplicate_decls): Don't copy DECL_NO_CHECK_MEMORY_USAGE.
      
      From-SVN: r47702
      Richard Kenner committed
    • c-common.c (shadow_warning): New function, moved from cp/decl.c. · 26f943fd
      	* c-common.c (shadow_warning): New function, moved from cp/decl.c.
      	* c-common.h (shadow_warning): New.
      	* c-decl.c: Include c-common.h.
      	(warn_if_shadowing): New, broken out of pushdecl.
      	(pushdecl): Use warn_if_shadowing.
      	(store_parm_decls): Prevent duplicate -Wshadow warnings.
      cp:
      	* decl.c: Include c-common.h.
      	(shadow_warning): Move to c-common.c.
      testsuite:
      	* gcc.dg/Wshadow-1.c: New test.
      
      From-SVN: r47701
      Neil Booth committed
    • vms.h (SIZE_TYPE, [...]): Remove, were disabled. · 8ca8f9a7
      	* config/alpha/vms.h (SIZE_TYPE, PTRDIFF_TYPE): Remove, were disabled.
      	(DOLLARS_IN_IDENTIFIERS, LINK_SPEC): Remove duplicate.
      	(LIB_SPEC): Remove.
      
      From-SVN: r47700
      Douglas B Rupp committed