aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-12-07* t-darwin: LIB2FUNCS_EXTRA now includes darwin_tramp.asm.Turly O'Connor1-0/+3
From-SVN: r47761
2001-12-07* darwin-tramp.asm: New file, implements __trampoline_setup.Turly O'Connor1-0/+131
From-SVN: r47760
2001-12-07rs6000.c (rs6000_trampoline_size): Handle ABI_DARWIN case.Turly O'Connor1-1/+3
* rs6000.c (rs6000_trampoline_size): Handle ABI_DARWIN case. (rs6000_initialize_trampoline): Call __trampoline_setup for ABI_DARWIN too. From-SVN: r47759
2001-12-07* MAINTAINERS: add self to write-after-approval crew.Turly O'Connor1-0/+1
From-SVN: r47758
2001-12-07gcc.texi: Don't include install-old.texi.Joseph Myers6-22/+107
* doc/gcc.texi: Don't include install-old.texi. Adjust menu description for Trouble section. * doc/install-old.texi: Adjust for inclusion as chapter of new installation manual. * doc/install.texi, doc/include/fdl.texi, doc/install.texi2html: Adjust to include old installation chapter as chapter of new installation manual. From-SVN: r47757
2001-12-07rtl.h (get_jump_table_offset): Declare.John Wehle3-0/+147
* rtl.h (get_jump_table_offset): Declare. * rtlanal.c (get_jump_table_offset): Implement. From-SVN: r47756
2001-12-07final.c (bb_head, [...]): Deleted; were used only by BB profiler code.Richard Kenner2-15/+5
* final.c (bb_head, bb_tail, bb_file_label_num, bb_func_label_num): Deleted; were used only by BB profiler code. (sbb_head, sbb_tail, sbb_label_num): Likewise. (end_final): Delete now-unused vars I, PTR, and SPTR. From-SVN: r47755
2001-12-07basic_string.tcc (_M_mutate): Fix typo in the previous check in.Paolo Carlini2-3/+8
2001-12-07 Paolo Carlini <pcarlini@unitus.it> * include/bits/basic_string.tcc (_M_mutate): Fix typo in the previous check in. From-SVN: r47754
2001-12-07expr.c (store_field): Remove warning.Richard Kenner2-9/+27
* expr.c (store_field): Remove warning. (expand_expr, case COMPONENT_REF, case VIEW_CONVERT_EXPR): Likewise. (highest_pow2_factor, case MIN_EXPR, case MAX_EXPR): Add cases. (highest_pow2_factor, case *_DIV_EXPR): Only can do something if divisor constant power of 2. (highest_pow2_factor, case COMPOUND_EXPR): Look at operand 1. From-SVN: r47753
2001-12-07* g++-old.deja/g++.robertl/eb101.C: Deleted.Richard Kenner2-3885/+4
From-SVN: r47752
2001-12-07basic_string.tcc (_M_mutate, _M_clone): Implement exponential growth policy ↵Paolo Carlini2-7/+46
to meet linear amortized time requirements... 2001-12-06 Paolo Carlini <pcarlini@unitus.it> Loren J. Rittle <ljrittle@acm.org> * include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement exponential growth policy to meet linear amortized time requirements of the standard. (_S_create): Adjust comment. Co-Authored-By: Loren J. Rittle <ljrittle@acm.org> From-SVN: r47750
2001-12-07Daily bump.GCC Administrator6-6/+6
From-SVN: r47749
2001-12-07alpha.c (function_arg): Cast value to HOST_WIDE_INT before shifting.Kaveh R. Ghazi2-1/+7
* alpha.c (function_arg): Cast value to HOST_WIDE_INT before shifting. From-SVN: r47747
2001-12-07verify.cc (_Jv_BytecodeVerifier::FLAG_JSR_TARGET): Removed.Tom Tromey2-2/+3
* verify.cc (_Jv_BytecodeVerifier::FLAG_JSR_TARGET): Removed. (_Jv_BytecodeVerifier::note_branch_target): Likewise. From-SVN: r47745
2001-12-07rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New.Aldy Hernandez2-5/+7
2001-12-06 Aldy Hernandez <aldyh@redhat.com> * rs6000.h (PRE_GCC3_DWARF_FRAME_REGISTERS): New. (DWARF_FRAME_REGISTERS): Delete. From-SVN: r47744
2001-12-07[multiple changes]Benjamin Kosnik5-89/+226
2001-12-06 Benjamin Kosnik <bkoz@redhat.com> libstdc++/3720 * include/bits/locale_facets.tcc (num_put): Clean. (num_get::_M_extract_float): Change argument to string. (num_get::do_get(float)): Fixup. (num_get::do_get(double)): Same. (num_get::do_get(long double)): Same. (num_get::_M_extract_int): Add maximum length parameter, __max. (num_get::_M_extract_float): Correct zeros, use string. * include/bits/locale_facets.h (num_get::_M_extract_float): Change declaration here. * src/locale.cc (__num_base::_S_atoms): Remove x, X. * testsuite/27_io/istream_extractor_arith.cc (test13): Add. 2001-12-06 Philip Martin <pmartin@uklinux.net> * testsuite/27_io/istream_extractor_arith.cc (test12): Add tests for excess input digits. From-SVN: r47743
2001-12-07builtin-prefetch-1.c: Add checks for variable argument list.Janis Johnson2-0/+15
* gcc.c-torture/execute/builtin-prefetch-1.c: Add checks for variable argument list. From-SVN: r47742
2001-12-07builtin-types.def (BT_FN_VOID_PTR_VAR): New.Janis Johnson6-6/+53
* builtin-types.def (BT_FN_VOID_PTR_VAR): New. * builtins.def (BUILT_IN_PREFETCH): Change arguments. * builtins.c (expand_builtin_prefetch): Two arguments are now optional, with defaults for read prefetch with high degree of locality. * doc/extend.texi (__builtin_prefetch): Update documentation. * doc/md.texi (prefetch): Add documentation. From-SVN: r47741
2001-12-07* libjava.compile/BlankFinal.java: Removed; incorrect test.Tom Tromey2-16/+4
From-SVN: r47739
2001-12-06MAINTAINERS (Write After Approval): Add myself.Paolo Carlini2-0/+5
2001-12-07 Paolo Carlini <pcarlini@unitus.it> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r47738
2001-12-06memcheck: Delete entire directory.Zack Weinberg1-27/+0
* 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
2001-12-06memcheck: Delete entire directory.Zack Weinberg15-766/+6
* 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
2001-12-06Restore support for static class initialization optimization.Per Bothner7-71/+93
From-SVN: r47735
2001-12-06verify.cc (_Jv_BytecodeVerifier::type_val): Added unused_by_subroutine_type.Tom Tromey2-19/+207
* 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
2001-12-06demangle.h (no_demangling): New.Richard Henderson4-0/+22
* 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
2001-12-06re PR libf2c/4826 (Build error for 3.0.2 on Tru64 Unix 5.1A)Rainer Orth3-1/+11
* 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
2001-12-06tm.texi (DWARF_FRAME_REGISTERS): Add documentation.Aldy Hernandez3-3/+46
* 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
2001-12-06std_bitset.h: Use GLIBCPP in multiple-inclusion guard.Phil Edwards24-156/+219
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
2001-12-06Fix typo in 2001-12-03 entry; now:Janis Johnson1-1/+1
* doc/extend.texi: Document __builtin_prefetch. From-SVN: r47728
2001-12-06* langhooks.c (lhd_staticp): Mark parameter with ATTRIBUTE_UNUSED.Kaveh R. Ghazi2-1/+6
From-SVN: r47727
2001-12-06Makefile.in (.po.gmo): Use "-test -d po || mkdir po" to reduce noise.H.J. Lu2-3/+10
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
2001-12-06tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following...Alexandre Oliva3-17/+18
* tree.c (get_callee_fndecl): Move DECL_ABSTRACT_ORIGIN-following... * tree-inline.c (expand_call_inline): ... here. From-SVN: r47725
2001-12-06Makefile.in (.po.gmo): Use "-mkdir po" for parallel build.H.J. Lu2-3/+9
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
2001-12-06config.gcc: Include dbxelf.h before elfos.h.David O'Brien3-104/+105
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
2001-12-06cppfiles.c (open_file): If we've opened a directory by mistake, close it.Zack Weinberg2-3/+17
* 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
2001-12-06Restore definition of STRUCT_VALUE_REGNUM,Nick Clifton2-0/+16
From-SVN: r47721
2001-12-06flow.c (find_regno_partial): Return register, not the expression the ↵Andrew MacLeod2-2/+7
register is in. 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
2001-12-06function.c (handle_epilogue_set): Check for FP setting case when SP is set ↵Richard Kenner2-3/+11
from FP in same insn. * function.c (handle_epilogue_set): Check for FP setting case when SP is set from FP in same insn. From-SVN: r47719
2001-12-06ooops - omitted text of ChangeLog entryNick Clifton1-1/+4
From-SVN: r47718
2001-12-06Pass pointer to RTX when calling alter_subreg().Nick Clifton2-2/+6
From-SVN: r47717
2001-12-06function.c (assing_parms): Fix typo in last change.Richard Kenner6-61/+14
* 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
2001-12-06rs6000.c (rs6000_unique_section): Simplify and correct code selecting section.Alan Modra2-28/+44
* config/rs6000/rs6000.c (rs6000_unique_section): Simplify and correct code selecting section. From-SVN: r47714
2001-12-06final.c (count_basic_block, [...]): Kill.Jan Hubicka38-3596/+115
* 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
2001-12-06* doc/rtl.texi: Use a table to display RTL format characters.Steve Christiansen2-7/+27
From-SVN: r47711
2001-12-06linux64.h (LINK_SPEC): Correct name of dynamic linker.Bo Thorsen2-1/+5
2001-12-06 Bo Thorsen <bo@suse.co.uk> * config/i386/linux64.h (LINK_SPEC): Correct name of dynamic linker. From-SVN: r47709
2001-12-06Daily bump.GCC Administrator6-6/+6
From-SVN: r47707
2001-12-05function.c (keep_stack_depressed): Check global_live_at_start of EXIT_BLOCK ↵Richard Kenner2-1/+11
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
2001-12-06config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files, as set by ↵David O'Brien2-1/+6
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
2001-12-05tweak decl syntaxJason Merrill1-1/+1
From-SVN: r47704
2001-12-05langhooks.h (struct lang_hooks_for_tree_inlining): Add start_inlining, ↵Jason Merrill16-6/+162
end_inlining. * 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