1. 28 Apr, 2005 1 commit
  2. 27 Apr, 2005 39 commits
    • user.cfg.in: Update to doxygen-1.4.2. · 861e48cb
      
      2005-04-27  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* docs/doxygen/user.cfg.in: Update to doxygen-1.4.2.
      	* docs/doxygen/doxygroups.cc: Update namespace comments.
      
      From-SVN: r98893
      Benjamin Kosnik committed
    • * Fix Paul's email address in ChangeLog entry. · ef614e8a
      From-SVN: r98890
      Julian Brown committed
    • re PR c/21159 ("no effect" warning despite cast to void*) · 47aecf47
      	PR c/21159
      	* c-typeck.c (build_compound_expr): Don't warn for left-hand side
      	being a compound expression whose right-hand side is cast to void.
      
      testsuite:
      	* gcc.dg/void-cast-1.c: New test.
      
      From-SVN: r98886
      Joseph Myers committed
    • Correct fixes for various hot/cold partitioning concerns. · c7466dee
      2005-04-27  Caroline Tice  <ctice@apple.com>
      
              * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges):
              Remove targetm.have_named_sections test.
              (fix_edges_for_rarely_executed_code): Likewise.
              (insert_section_boundary_note): Likewise.
              (reorder_basic_blocks): Check partitioning flag before calling
              verify_hot_cold_block_grouping.
              * dbxout.c (dbxout_function_end): Get hot/cold section labels from
              the function struct rather than global variables.
              * dwarf2out.c (COLD_TEXT_SECTION_LABEL): New macro.
              (COLD_END_LABEL): Likewise
              (cold_text_section_label): New static global variable.
              (cold_end_label): Likewise.
              (dwarf2out_switch_text_section): Get hot/cold section labels from
              the function struct rather than global variables; test to make sure
              cfun is defined.
              (output_aranges): Use cold_text_section_label and cold_end_label;
              check partitioning flag before putting out delta.
              (output_ranges): Remove incorrect code attempting to use
              hot/cold labels.
              (output_line_info): Get cold section label from function struct; test
              to make sure cfun is defined.
              (add_location_or_const_value_attribute): Likewise.
              (dwarf2out_var_location): Likewise.
              (dwarf2out_init): Generate cold_text_section_label and cold_end_label;
              write out cold_text_section_label if partition flag is set.
              (dwarf2out_finish): Write out cold_end_label if partition flag is set;
              * function.h (struct function): Add new fields to point to hot/cold
              section labels: hot_section_label, cold_section_label,
              hot_section_end_label and cold_section_end_label; also add new field
              for cold text section name, unlikely_text_section_name.
              * opts.c (decode_options): Turn off partitioning flag if
              !targetm.have_named_sections.
              * output.h (hot_section_label): Remove.
              (hot_section_end_label): Remove.
              (cold_section_end_label): Remove.
              (unlikely_section_label): Remove.
              (unlikely_text_section_name): Remove.
              * passes.c (rest_of_handle_final):  Remove extra blank line.
              * varasm.c (unlikely_section_label): Remove.
              (hot_section_label): Remove.
              (hot_section_end_label): Remove.
              (cold_section_end_label): Remove.
              (unlikely_text_section_name):  Remove.
              (initialize_cold_section_name): Modify to call
              targetm.strip_name_encoding; to store cold section name in current
              function struct, if it exists; and to only use the decl_section_name
              if flag_named_sections is true.
              (unlikely_text_section): Modify to get section name out of current
              function struct, if there is one; otherwise build it from
              UNLIKELY_EXECUTED_TEXT_SECTION_NAME.
              (in_unlikely_text_section): Likewise.
              (named_section): Modify to get/put cold section name in current function
              struct, if there is one.
              (function_section):  Change 'bool unlikely' to 'int reloc'; check
              targetm.have_named_sections before calling named_section.
              (current_function_section): Likewise.
              (assemble_start_function): Modify to get/put unlikely_text_section_name
              in current function struct; modify to get hot/cold section labels
              from function struct; initialize labels using
              ASM_GENERATE_INTERNAL_LABEL;
              test partitioning flag before writing out hot section label.
              (assemble_end_function): Test partitioning flag before writing out
              hot/cold section labels.
              (default_section_type_flags_1):  Get cold text section name from
              function struct if there is one; Set flags correctly for
              cold text section if there is not a current function struct.
      
      From-SVN: r98885
      Caroline Tice committed
    • Connection.java: Return correct content length for directory listing. · 32cf6a3b
      2005-04-27  Chris Burdess  <dog@gnu.org>
      
      	* gnu/java/net/protocol/file/Connection.java: Return correct content
      	length for directory listing.
      	* java/net/URLClassLoader.java: Correction for URLClassLoader, bug
      	#11285: return valid URLs for directories.i
      
      From-SVN: r98884
      Chris Burdess committed
    • * gnu/java/net/protocol/https/Handler.java: Commit. · 529eec21
      From-SVN: r98883
      Thomas Fitzsimmons committed
    • tree-ssa-propagate.c (set_rhs): Revert last change. · 887da9bd
      2005-04-27  Richard Guenther  <rguenth@gcc.gnu.org>
      
      	* tree-ssa-propagate.c (set_rhs): Revert last change.
      
      From-SVN: r98882
      Richard Guenther committed
    • * explow.c (convert_memory_address): Add gcc_assert. · 7c137931
      From-SVN: r98881
      Steve Ellcey committed
    • configure.ac: Check for ld --sysroot support. · 380e5ca4
      	* configure.ac: Check for ld --sysroot support.
      	* gcc.c: Document %R specifier for specs.
      	(SYSROOT_SPEC): New macro.
      	(sysroot_spec): New variable.
      	(static_specs): Add sysroot_spec.
      	(main): Pass the sysroot spec to the linker if appropriate.
      	* configure: Regenerated.
      	* config.in: Likewise.
      
      From-SVN: r98880
      Mark Mitchell committed
    • [multiple changes] · c7a5c623
      2005-04-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* Makefile.am (ordinary_java_source_files): Add
      	gnu/java/net/protocol/https/Handler.java.
      	* Makefile.in: Regenerate.
      	* java/net/URL.java: Remove org.metastatic.jessie from default
      	protocol search path.
      
      2005-04-27  Chris Burdess  <dog@gnu.org>
      
      	* gnu/java/net/protocol/https/Handler.java: New file.
      
      From-SVN: r98879
      Thomas Fitzsimmons committed
    • IIORegistry.java (IIORegistry): Don't assume that awt Toolkit is always ClasspathToolkit. · afc658e4
      2005-04-27  Jeroen Frijters  <jeroen@frijters.net>
      
      	* javax/imageio/spi/IIORegistry.java (IIORegistry):
      	Don't assume that awt Toolkit is always ClasspathToolkit.
      
      From-SVN: r98878
      Jeroen Frijters committed
    • fold-const.c (fold_binary): Use build_fold_addr_expr for address calculation and… · 49d76686
      fold-const.c (fold_binary): Use build_fold_addr_expr for address calculation and INDIRECT_REF handling.
      
      2005-04-27  Richard Guenther  <rguenth@gcc.gnu.org>
      
      	* fold-const.c (fold_binary): Use build_fold_addr_expr
      	for address calculation and INDIRECT_REF handling.
      
      From-SVN: r98877
      Richard Guenther committed
    • HTTPURLConnection.java (connect): Accept absolute and relative paths in Location header. · 51282cea
      2005-04-27  Chris Burdess  <dog@gnu.org>
      
      	* java/net/protocol/http/HTTPURLConnection.java (connect): Accept
      	absolute and relative paths in Location header.
      
      2005-04-27  Chris Burdess  <dog@gnu.org>
      
      	* gnu/java/net/protocol/http/HTTPURLConnection.java: Throw
      	FileNotFoundException and implement getErrorStream on 404.
      
      From-SVN: r98875
      Chris Burdess committed
    • 2005-04-27 Sven de Marothy <sven@physto.se> · 465ee71e
      	* java/util/TimeZone.java,
      	(getDefaultDisplayName): Fix previous fix.
      
      2005-04-27  Sven de Marothy <sven@physto.se>
      
      	* java/util/TimeZone.java,
      	(getDefaultDisplayName): Don't print zero offsets.
      
      From-SVN: r98874
      Sven de Marothy committed
    • postreload-gcse.c (hash_scan_set): Remove bogus assertion. · a8efb5bb
      2005-04-27  Andrew Haley  <aph@redhat.com>
      
              * postreload-gcse.c (hash_scan_set): Remove bogus assertion.
      
      From-SVN: r98873
      Andrew Haley committed
    • arm.h (CONDITIONAL_REGISTER_USAGE): Reserve arm frame pointer when thumb backtracing is on. · 685c9c11
      	* config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Reserve arm frame
      	pointer when thumb backtracing is on.
      
      	* config/fp-bit.c (abort): Revert change.
      
      From-SVN: r98872
      Nathan Sidwell committed
    • gcj.texi (libgcj Runtime Properties): Remove obsolete… · b40c360d
      gcj.texi (libgcj Runtime Properties): Remove obsolete gnu.gcj.runtime.NameFinder.* system properties.
      
      	* gcj.texi (libgcj Runtime Properties): Remove obsolete
      	gnu.gcj.runtime.NameFinder.* system properties. Update documentation
      	for gnu.gcj.runtime.NameFinder.use_addr2line and gnu.gcj.progname.
      
      From-SVN: r98871
      Bryce McKinlay committed
    • * c-semantics.c (add_stmt): Don't test STATEMENT_CODE_P · 886f60ca
      From-SVN: r98868
      Ian Lance Taylor committed
    • 2005-04-27 Roman Kennke <roman@kennke.org> · ba8e51e4
      	* javax/swing/plaf/basic/BasicScrollBarUI
      	(getThumbBounds): Do not make thumb smaller than
      	minimumThumbSize.
      	* javax/swing/plaf/metal/MetalLookAndFeel
      	(initComponentDefaults): Added color defaults for ScrollBar.
      	* javax/swing/plaf/metal/MetalScrollBarUI
      	(paintThumb): Added.
      	(getMinimumThumbSize): Added.
      
      2005-04-27  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/metal/MetalLookAndFeel
      	(initComponentDefaults): Added some default colors.
      
      2005-04-27  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/basic/BasicScrollBarUI.java
      	(configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
      	to 'ScrollBar.thumbShadow'. The formes does not exist.
      	(paintThumb): Use BasicGraphicsUtils for painting the thumb.
      
      2005-04-27  Roman Kennke  <roman@kennke.org>
      
      	* java/awt/MediaTracker.java: Added 2005 to copyright statement.
      	* javax/swing/BoxLayout.java: Likewise.
      	* javax/swing/UIManager.java: Likewise.
      	* javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
      	* javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
      	* javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
      	* javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
      	* javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
      	* javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
      	* javax/swing/text/Document.java: Likewise.
      	* javax/swing/text/GapContent.java: Likewise.
      	* javax/swing/text/SimpleAttributeSet.java: Likewise.
      	* javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
      
      2005-04-27  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/basic/BasicToggleButtonUI.java:
      	(getPropertyPrefix): Added.
      
      2005-04-27  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/plaf/basic/BasicButtonUI.java
      	(getPropertyPrefix): Added.
      	(installDefaults): Use getPropertyPrefix instead of hard-coded
      	prefix.
      
      2005-04-27  Roman Kennke  <roman@kennke.org>
      
      	* javax/swing/JToggleButton.java
      	(JToggleButton): Removed horizontalAlignment setting, this
      	was wrong. Added setting of an actionCommand, ToggleButtons
      	have "" as default actionCommand.
      
      From-SVN: r98867
      Roman Kennke committed
    • * tree-ssa-dce.c: Fix a comment typo. · 32cd8777
      From-SVN: r98866
      Kazu Hirata committed
    • Fix a typo. · 73ecddd3
      From-SVN: r98862
      Kazu Hirata committed
    • explow.c (allocate_dynamic_stack_space SETJMP_VIA_SAVE_AREA): Kill setjmpless_size. · d0828b31
      	* explow.c (allocate_dynamic_stack_space SETJMP_VIA_SAVE_AREA):
      	Kill setjmpless_size.  current_function_calls_setjmp is completely
      	computed when we are called, so just use the optimized size value
      	instead of using REG_SAVE_AREA notes.
      	(optimize_save_area_alloca): Delete....
      	* rtl.h (optimize_save_area_alloca): Likewise...
      	* passes.c (rest_of_compilation): and don't call it any more.
      	* reg-notes.def (SAVE_AREA): Delete.
      
      From-SVN: r98861
      David S. Miller committed
    • fp-bit.c (abort): Add noreturn attribute. · 25b9575b
      	* config/fp-bit.c (abort): Add noreturn attribute.
      
      	* config/avr/avr.c (avr_naked_function_p): Use gcc_assert and
      	gcc_unreachable as appropriate.
      	(ptrreg_to_str, cond_string, avr_normalize_condition): Likewise.
      	* config/avr/avr.h (ASM_OUTPUT_REG_PUSH,
      	ASM_OUTPUT_REG_POP): Likewise.
      
      From-SVN: r98854
      Nathan Sidwell committed
    • tree-complex.c (expand_vector_operations_1): Do not build VIEW_CONVERT_EXPR's for the lhs. · dd248a9a
      2005-04-27  Paolo Bonzini  <bonzini@gnu.org>
      
      	* tree-complex.c (expand_vector_operations_1): Do not build
      	VIEW_CONVERT_EXPR's for the lhs.
      
      From-SVN: r98853
      Paolo Bonzini committed
    • pa.h (PRINT_OPERAND_ADDRESS): Use gcc_assert, remove unnecessary noncanonical RTL handling. · 03eb45c1
      	* config/pa/pa.h (PRINT_OPERAND_ADDRESS): Use gcc_assert, remove
      	unnecessary noncanonical RTL handling.
      	* config/pa/pa64-linux.h (INITIAL_ELIMINATION_OFFSET): Use
      	gcc_assert and gcc_unreachable.
      
      From-SVN: r98852
      Nathan Sidwell committed
    • gen-vect-25.c: Make more portable. · d42a92c8
      2005-04-27  Paolo Bonzini  <bonzini@gnu.org>
      
      	* gcc.dg/tree-ssa/gen-vect-25.c: Make more portable.
      
      From-SVN: r98851
      Paolo Bonzini committed
    • arm.h (ARM_PRINT_OPERAND_ADDRESS): Use gcc_assert and gcc_unreachable as appropriate. · e6d29d15
      	* config/arm/arm.h (ARM_PRINT_OPERAND_ADDRESS): Use gcc_assert and
      	gcc_unreachable as appropriate.
      	(THUMB_PRINT_OPERAND_ADDRESS): Likewise.
      	* config/arm/arm.c (arm_override_options, arm_compute_func_type,
      	use_return_insn, const_ok_for_op, arm_gen_constant,
      	arm_canonicalize_comparison, legitimize_pic_address,
      	thumb_find_work_register, arm_load_pic_register, arm_rtx_costs_1,
      	arm_cirrus_insn_p, cirrus_reorg, minmax_code,
      	load_multiple_sequence, emit_ldm_seq, store_multiple_sequence,
      	emit_stm_seq, arm_gen_movmemqi, arm_select_dominance_cc_mode,
      	arm_select_cc_mode, arm_reload_in_hi, arm_reload_out_hi,
      	move_minipool_fix_forward_ref, move_minipool_fix_backward_ref,
      	dump_minipool, create_fix_barrier, push_minipool_fix, arm_reorg,
      	fp_immediate_constant, fp_const_from_val, vfp_output_fstmx,
      	output_call, output_mov_long_double_fpa_from_arm,
      	output_mov_long_double_arm_from_fpa,
      	output_mov_double_fpa_from_arm, output_mov_double_arm_from_fpa,
      	output_move_double, arithmetic_instr, shift_op, int_log2,
      	output_return_instruction, arm_output_function_prologue,
      	arm_output_epilogue, arm_output_function_epilogue,
      	emit_multi_reg_push, arm_get_frame_offsets,
      	arm_compute_initial_elimination_offset, arm_expand_prologue,
      	arm_print_operand, arm_assemble_integer, get_arm_condition_code,
      	arm_final_prescan_insn, arm_init_iwmmxt_builtins,
      	arm_expand_binop_builtin, thumb_pushpop, thumb_far_jump_used_p,
      	thumb_compute_initial_elimination_offset,
      	thumb_output_function_prologue, thumb_load_double_from_address,
      	thumb_output_move_mem_multiple, thumb_reload_out_hi,
      	arm_emit_vector_const, arm_dbx_register_number): Likewise.
      	* config/arm/pe.c (arm_mark_dllexport, arm_mark_dllimport): Likewise.
      	* config/arm/arm.md (thumb_extendhisi2,
      	*thumb_extendhisi2_insn_v6, *thumb_extendqisi2,
      	*thumb_extendqisi2_v6, movhi, *thumb_movhi_insn,
      	thumb_movhi_clobber, movqi, *arm_buneq, *arm_bltgt,
      	*arm_buneq_reversed, *arm_bltgt_reversed, suneq, sltgt): Likewise.
      	* config/arm/cirrus.md (*cirrus_arm_movdi,
      	*cirrus_movdf_hard_insn): Likewise.
      	* config/arm/vfp.md (*arm_movdi_vfp, *movdf_vfp): Likewise.
      
      From-SVN: r98850
      Nathan Sidwell committed
    • dojump.c: Fix comment typos. · 4845b383
      	* dojump.c: Fix comment typos.  emit-rtl.c, expmed.c, expr.c,
      	stmt.c, stor-layout.c: Use fold_buildN instead of
      	fold (buildN (...)).
      
      From-SVN: r98848
      Kazu Hirata committed
    • be.po, [...]: Update. · 8fc6e9ab
      	* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
      	rw.po, sv.po, tr.po, vi.po: Update.
      
      From-SVN: r98845
      Joseph Myers committed
    • re PR libstdc++/21244 (Vector<bool> anonymous enum problem) · 2c2702f2
      2005-04-27  Dominik Strasser  <dominik.strasser@infineon.com>
      	    Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/21244
      	* include/bits/stl_bvector.h: Change the anonymous enum
      	at namespace scope to _S_word_bit_enum.
      	* testsuite/23_containers/vector/bool/21244.cc: New.
      
      Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
      
      From-SVN: r98844
      Dominik Strasser committed
    • tree-flow.h (ssa_names): Change the type to VEC(tree,gc). · d2fce91b
      	* tree-flow.h (ssa_names): Change the type to VEC(tree,gc).
      	(num_ssa_names): Use VEC_length.
      	(ssa_names): Use VEC_index.
      	* tree-ssanames.c (ssa_names): Change the type to
      	VEC(tree,gc).
      	(init_ssanames, fini_ssa_names, make_ssanames,
      	release_ssa_name): Update uses of ssa_names.
      
      From-SVN: r98843
      Kazu Hirata committed
    • be.po, [...]: Update. · 2f1105a1
      	* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
      	rw.po, sv.po, tr.po: Update.
      
      From-SVN: r98840
      Joseph Myers committed
    • re PR fortran/21177 (wrong code with NULL()) · 90aeadcb
      	PR fortran/21177
      
      	* interface.c (compare_parameter): Ignore type for EXPR_NULL
      	only if type is BT_UNKNOWN.
      
      	* gfortran.dg/pr21177.f90: New test
      
      From-SVN: r98837
      François-Xavier Coudert committed
    • vax.c (vax_rtx_costs): Whitespace cleanup. · b20f13e9
      2005-04-27  Matt Thomas <matt@3am-software.com>
                  Jan-Benedict Glaw <jbglaw@microdata-pos.de>
      
      	* config/vax/vax.c (vax_rtx_costs): Whitespace cleanup.
      	(vax_output_mi_thunk): Ditto.
      	(vax_notice_cc_update): Ditto.
      	(INDEX_REGISTER_P): Add trailing \.
      	(BASE_REGISTER_P): Add trailing \.
      	(legitimate_address_p): Whitespace cleanup.  Remove trailing \.
      
      Co-Authored-By: Jan-Benedict Glaw <jbglaw@microdata-pos.de>
      
      From-SVN: r98835
      Matt Thomas committed
    • tree-ssa-propagate.c (set_rhs): Check operand of ADDR_EXPR for gimpliness, too. · 81d4bb2f
      2005-04-27  Richard Guenther  <rguenth@gcc.gnu.org>
      
      	* tree-ssa-propagate.c (set_rhs): Check operand of
      	ADDR_EXPR for gimpliness, too.
      
      From-SVN: r98832
      Richard Guenther committed
    • * tree-ssa-pre.c: Fix a comment typo. · a1c8251a
      From-SVN: r98831
      Kazu Hirata committed
    • type_traits (has_trivial_copy, [...]): Adjust according to the resolution of TR1 issue 3.21. · 4e5362a2
      2005-04-27  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/type_traits (has_trivial_copy, has_trivial_assign,
      	has_nothrow_copy, has_nothrow_assign): Adjust according to the
      	resolution of TR1 issue 3.21.
      	* testsuite/testsuite_tr1.h (test_copy_property,
      	test_assign_property): Remove.
      	* testsuite/tr1/4_metaprogramming/type_properties/
      	has_nothrow_assign/has_nothrow_assign.cc: Adjust.
      	* testsuite/tr1/4_metaprogramming/type_properties/
      	has_nothrow_copy/has_nothrow_copy.cc: Likewise.
      	* testsuite/tr1/4_metaprogramming/type_properties/
      	has_trivial_assign/has_trivial_assign.cc: Likewise.
      	* testsuite/tr1/4_metaprogramming/type_properties/
      	has_trivial_copy/has_trivial_copy.cc: Likewise.
      
      From-SVN: r98829
      Paolo Carlini committed
    • re PR tree-optimization/21171 (IV OPTS removes does not create a new VOPs for constant values) · e3cc7254
      	PR tree-optimization/21171
      	* tree-ssa-loop-ivopts.c (find_interesting_uses_address): Do not
      	record address uses if the reference is volatile.
      
      	* gcc.dg/tree-ssa/pr21171.c: New test.
      
      From-SVN: r98828
      Zdenek Dvorak committed