Sven de Marothy [Wed, 27 Apr 2005 18:47:40 +0000 (20:47 +0200)]
2005-04-27 Sven de Marothy <sven@physto.se>
* 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
Andrew Haley [Wed, 27 Apr 2005 18:39:05 +0000 (18:39 +0000)]
postreload-gcse.c (hash_scan_set): Remove bogus assertion.
2005-04-27 Andrew Haley <aph@redhat.com>
* postreload-gcse.c (hash_scan_set): Remove bogus assertion.
From-SVN: r98873
Nathan Sidwell [Wed, 27 Apr 2005 18:33:37 +0000 (18:33 +0000)]
arm.h (CONDITIONAL_REGISTER_USAGE): Reserve arm frame pointer when thumb backtracing is on.
* 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
Bryce McKinlay [Wed, 27 Apr 2005 18:29:27 +0000 (18:29 +0000)]
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
Ian Lance Taylor [Wed, 27 Apr 2005 18:06:04 +0000 (18:06 +0000)]
* c-semantics.c (add_stmt): Don't test STATEMENT_CODE_P
From-SVN: r98868
Roman Kennke [Wed, 27 Apr 2005 18:01:09 +0000 (18:01 +0000)]
2005-04-27 Roman Kennke <roman@kennke.org>
* 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
Kazu Hirata [Wed, 27 Apr 2005 18:00:55 +0000 (18:00 +0000)]
* tree-ssa-dce.c: Fix a comment typo.
From-SVN: r98866
Kazu Hirata [Wed, 27 Apr 2005 17:40:22 +0000 (17:40 +0000)]
Fix a typo.
From-SVN: r98862
David S. Miller [Wed, 27 Apr 2005 17:38:17 +0000 (17:38 +0000)]
explow.c (allocate_dynamic_stack_space SETJMP_VIA_SAVE_AREA): Kill setjmpless_size.
* 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
Nathan Sidwell [Wed, 27 Apr 2005 17:02:34 +0000 (17:02 +0000)]
fp-bit.c (abort): Add noreturn attribute.
* 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
Paolo Bonzini [Wed, 27 Apr 2005 16:50:19 +0000 (16:50 +0000)]
tree-complex.c (expand_vector_operations_1): Do not build VIEW_CONVERT_EXPR's for the lhs.
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
Nathan Sidwell [Wed, 27 Apr 2005 16:48:18 +0000 (16:48 +0000)]
pa.h (PRINT_OPERAND_ADDRESS): Use gcc_assert, remove unnecessary noncanonical RTL handling.
* 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
Paolo Bonzini [Wed, 27 Apr 2005 16:32:18 +0000 (16:32 +0000)]
gen-vect-25.c: Make more portable.
2005-04-27 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/tree-ssa/gen-vect-25.c: Make more portable.
From-SVN: r98851
Nathan Sidwell [Wed, 27 Apr 2005 16:09:03 +0000 (16:09 +0000)]
arm.h (ARM_PRINT_OPERAND_ADDRESS): Use gcc_assert and gcc_unreachable as appropriate.
* 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
Kazu Hirata [Wed, 27 Apr 2005 16:02:43 +0000 (16:02 +0000)]
dojump.c: Fix comment typos.
* 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
Joseph Myers [Wed, 27 Apr 2005 16:00:49 +0000 (17:00 +0100)]
be.po, [...]: Update.
* 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
Dominik Strasser [Wed, 27 Apr 2005 15:59:06 +0000 (15:59 +0000)]
re PR libstdc++/21244 (Vector<bool> anonymous enum problem)
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
Kazu Hirata [Wed, 27 Apr 2005 15:58:47 +0000 (15:58 +0000)]
tree-flow.h (ssa_names): Change the type to VEC(tree,gc).
* 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
Joseph Myers [Wed, 27 Apr 2005 15:47:26 +0000 (16:47 +0100)]
be.po, [...]: Update.
* 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
François-Xavier Coudert [Wed, 27 Apr 2005 15:37:53 +0000 (15:37 +0000)]
re PR fortran/21177 (wrong code with NULL())
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
Devang Patel [Wed, 27 Apr 2005 15:36:19 +0000 (08:36 -0700)]
* dbxout.c (dbxout_type): Check use_gnu_debug_info_extensions.
From-SVN: r98836
Matt Thomas [Wed, 27 Apr 2005 15:30:46 +0000 (15:30 +0000)]
vax.c (vax_rtx_costs): Whitespace cleanup.
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
Richard Guenther [Wed, 27 Apr 2005 15:25:21 +0000 (15:25 +0000)]
tree-ssa-propagate.c (set_rhs): Check operand of ADDR_EXPR for gimpliness, too.
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
Kazu Hirata [Wed, 27 Apr 2005 15:21:53 +0000 (15:21 +0000)]
* tree-ssa-pre.c: Fix a comment typo.
From-SVN: r98831
Paolo Carlini [Wed, 27 Apr 2005 15:08:57 +0000 (15:08 +0000)]
type_traits (has_trivial_copy, [...]): Adjust according to the resolution of TR1 issue 3.21.
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
Zdenek Dvorak [Wed, 27 Apr 2005 14:28:11 +0000 (16:28 +0200)]
re PR tree-optimization/21171 (IV OPTS removes does not create a new VOPs for constant values)
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
Paolo Bonzini [Wed, 27 Apr 2005 09:12:05 +0000 (09:12 +0000)]
tree-complex.c (expand_vector_operation): New, extracted from expand_vector_operations_1.
gcc:
2004-04-27 Paolo Bonzini <bonzini@gnu.org>
* tree-complex.c (expand_vector_operation): New, extracted from
expand_vector_operations_1.
(tree_vec_extract): Build a NOP_EXPR.
(expand_vec_parallel): Do not care about returning the correct type.
(expand_vector_operations_1): Call expand_vector_operation.
Build the VIEW_CONVERT_EXPR on the left side of MODIFY_EXPRs.
* tree-complex.c (gate_expand_vector_operations): New.
(pass_lower_vector_ssa): Use it.
* tree-optimize.c (init_tree_optimization_passes): Include
pass_lower_vector_ssa.
* tree-vect-transform.c (vect_min_worthwhile_factor): New.
(vectorizable_operation): Use it.
* tree-vectorizer.c (get_vectype_for_scalar_type): Accept
integer modes for the vector type.
* defaults.h (UNITS_PER_SIMD_WORD): Default to UNITS_PER_WORD.
* tree-vect-analyze.c (vect_enhance_data_refs_alignment):
Do not cope with UNITS_PER_SIMD_WORD == 0.
* tree-vectorizer.c (get_vectype_for_scalar_type): Check
if the scalar type is not bigger than UNITS_PER_SIMD_WORD.
(vectorize_loops): Do not check that UNITS_PER_SIMD_WORD > 0.
* config/i386/i386.h (UNITS_PER_SIMD_WORD): Default to UNITS_PER_WORD.
* config/mips/mips.h (UNITS_PER_SIMD_WORD): Likewise.
* config/rs6000/rs6000.h (UNITS_PER_SIMD_WORD): Likewise.
* config/sparc/sparc.h (UNITS_PER_SIMD_WORD): Likewise.
* config/alpha/alpha.h (UNITS_PER_SIMD_WORD): Remove.
* config/bfin/bfin.h (UNITS_PER_SIMD_WORD): Remove.
* config/ia64/ia64.h (UNITS_PER_SIMD_WORD): Remove.
* doc/tm.texi (UNITS_PER_WORD): Rephrase more accurately.
(UNITS_PER_SIMD_WORD): New.
gcc/testsuite:
2004-04-27 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/tree-ssa/gen-vect-11.c, gcc.dg/tree-ssa/gen-vect-11a.c,
gcc.dg/tree-ssa/gen-vect-11b.c, gcc.dg/tree-ssa/gen-vect-11c.c,
gcc.dg/tree-ssa/gen-vect-2.c, gcc.dg/tree-ssa/gen-vect-25.c,
gcc.dg/tree-ssa/gen-vect-26.c, gcc.dg/tree-ssa/gen-vect-28.c,
gcc.dg/tree-ssa/gen-vect-32.c: New.
* gcc.dg/vect/vect-82.c, gcc.dg/vect/vect-83.c: Fix dg-final.
* gcc.dg/vect/vect-82_64.c, gcc.dg/vect/vect-83_64.c: Remove xfail,
don't run on PPC32.
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: tree-complex.c tree-optimize.c tree-vect-analyze.c defaults.h
CVS: tree-vect-transform.c tree-vectorizer.c ChangeLog
CVS: testsuite/ChangeLog config/alpha/alpha.h config/bfin/bfin.h
CVS: config/i386/i386.h config/ia64/ia64.h config/mips/mips.h
CVS: config/rs6000/rs6000.h
CVS: config/sparc/sparc.h doc/tm.texi
CVS: testsuite/gcc.dg/vect/vect-82.c
CVS: testsuite/gcc.dg/vect/vect-82_64.c
CVS: testsuite/gcc.dg/vect/vect-83.c
CVS: testsuite/gcc.dg/vect/vect-83_64.c
CVS: Added Files:
CVS: testsuite/gcc.dg/tree-ssa/gen-vect-11.c
CVS: testsuite/gcc.dg/tree-ssa/gen-vect-11a.c
CVS: testsuite/gcc.dg/tree-ssa/gen-vect-11b.c
CVS: testsuite/gcc.dg/tree-ssa/gen-vect-11c.c
CVS: testsuite/gcc.dg/tree-ssa/gen-vect-2.c
CVS: testsuite/gcc.dg/tree-ssa/gen-vect-25.c
CVS: testsuite/gcc.dg/tree-ssa/gen-vect-26.c
CVS: testsuite/gcc.dg/tree-ssa/gen-vect-28.c
CVS: testsuite/gcc.dg/tree-ssa/gen-vect-32.c
CVS: ----------------------------------------------------------------------
From-SVN: r98818
Nathan Sidwell [Wed, 27 Apr 2005 08:47:38 +0000 (08:47 +0000)]
ia64.c (ia64_encode_addr_area): Use gcc_assert and gcc_unreachable as appropriate.
* config/ia64/ia64.c (ia64_encode_addr_area): Use gcc_assert and
gcc_unreachable as appropriate.
(ia64_expand_load_address, ia64_expand_tls_address,
ia64_split_tmode, ia64_split_tmode_move, ia64_expand_compare,
ia64_expand_vecint_compare, ia64_expand_vecint_minmax,
next_scratch_gr_reg, ia64_initial_elimination_offset,
ia64_expand_prologue, ia64_expand_epilogue,
ia64_output_dwarf_dtprel, ia64_print_operand,
ia64_register_move_cost, first_instruction, rws_access_regno,
update_set_flags, rtx_needs_barrier, group_barrier_needed_p,
ia64_sched_init, ia64_variable_issue,
ia64_first_cycle_multipass_dfs_lookahead_guard,
ia64_dfa_new_cycle, issue_nops_and_insn, get_template, bundling,
ia64_st_address_bypass_p, ia64_ld_address_bypass_p, process_set,
process_for_unwind_directive, ia64_hpux_file_end): Likewise.
* config/ia64/ia64.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
* config/ia64/ia64.md (*arm_movdi_vfp, *movdf_vfp): Likewise.
* config/ia64/predicates.md (got_symbolic_operand,
sdata_symbolic_operand): Likewise.
* config/ia64/vect.md (vcondv2sf): Likewise.
From-SVN: r98817
Michael Koch [Wed, 27 Apr 2005 07:30:36 +0000 (07:30 +0000)]
[multiple changes]
2005-04-27 Michael Koch <konqueror@gmx.de>
* java/nio/charset/Charset.java (providers2): Renamed from 'providers'
to work around CNI limitation.
2005-04-27 Sven de Marothy <sven@physto.se>
* java/nio/charset/Charset.java:
(defaultCharset()): New method.
Status updated to 1.5
2005-04-27 Sven de Marothy <sven@physto.se>
* java/nio/charset/Charset.java: Cached encoders shouldn't be static.
2005-04-27 Sven de Marothy <sven@physto.se>
* java/nio/charset/Charset.java: Reset cached de/encoders.
2005-04-27 Robert Schuster <thebohemian@gmx.net>
* java/nio/charset/Charset.java (forName): Throws
IllegalArgumentException when argument is null
and added documentation.
2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/nio/charset/Charset.java (providers):
New method to make an array of CharsetProviders defined in
META-INF/services/java.nio.charset.spi.CharsetProvider.
(charsetForName, availableCharsets): Use the
new method providers().
From-SVN: r98816
Matt Thomas [Wed, 27 Apr 2005 02:18:43 +0000 (02:18 +0000)]
vax.c (legitimate_constant_address_p): New.
2005-04-27 Matt Thomas <matt@3am-software.com>
* config/vax/vax.c (legitimate_constant_address_p): New. Formerly
CONSTANT_ADDRESS_P in config/vax/vax.h
(legitimate_constant_p): Added. Formerly CONSTANT_P in vax.h.
(INDEX_REGISTER_P): New.
(BASE_REGISTER_P): New.
(indirectable_constant_address_p): New. Adapted from
INDIRECTABLE_CONSTANT_ADDRESS_P in vax.h.
Use SYMBOL_REF_LOCAL_P.
(indirectable_address_p): New. Adapted from
INDIRECTABLE_ADDRESS_P in vax.h.
(nonindexed_address_p): New. Adapted from
GO_IF_NONINDEXED_ADDRESS in vax.h.
(index_temp_p): New. Adapted from
INDEX_TERM_P in vax.h.
(reg_plus_index_p): New. Adapted from
GO_IF_REG_PLUS_INDEX in vax.h.
(legitimate_address_p): New. Adapted from
GO_IF_LEGITIMATE_ADDRESS in vax.h
(vax_mode_dependent_address_p): New. Adapted from
GO_IF_MODE_DEPENDENT_ADDRESS in vax.h
* config/vax/vax.h (CONSTANT_ADDRESS_P): Use
legitimate_constant_address_p
(CONSTANT_P): Use legitimate_constant_p.
(INDIRECTABLE_CONSTANT_ADDRESS_P): Removed.
(INDIRECTABLE_ADDRESS_P): Removed.
(GO_IF_NONINDEXED_ADDRESS): Removed.
(INDEX_TEMP_P): Removed.
(GO_IF_REG_PLUS_INDEX): Removed.
(GO_IF_LEGITIMATE_ADDRESS): Use legitimate_address_p.
Two definitions, depending on whether REG_OK_STRICT is defined.
(GO_IF_MODE_DEPENDENT_ADDRESS): Use vax_mode_dependent_address_p.
Two definitions, depending on whether REG_OK_STRICT is defined.
* config/vax/vax-protos.h (legitimate_constant_address_p): Prototype
added.
(legitimate_constant_p): Prototype added.
(legitimate_address_p): Prototype added.
(vax_mode_dependent_address_p): Prototype added.
From-SVN: r98814
Kazu Hirata [Wed, 27 Apr 2005 01:43:11 +0000 (01:43 +0000)]
* tree.h (phi_arg_d): Expand a comment in phi_arg_d.
From-SVN: r98813
Joseph Myers [Wed, 27 Apr 2005 00:47:06 +0000 (01:47 +0100)]
re PR c/21213 (segfault declaring a transparent union)
PR c/21213
* c-decl.c (finish_struct): Don't dereference NULL TYPE_FIELDS of
transparent union.
testsuite:
* gcc.dg/transparent-union-3.c: New test.
From-SVN: r98808
GCC Administrator [Wed, 27 Apr 2005 00:16:20 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r98805.2
Joseph Myers [Tue, 26 Apr 2005 23:58:04 +0000 (00:58 +0100)]
re PR c/20740 (cc1 segfaults)
PR c/20740
* c-format.c (init_dynamic_asm_fprintf_info): Give errors, not
assertion failures, if __gcc_host_wide_int__ is not properly
defined.
(init_dynamic_diag_info): Give errors, not assertion failures, if
location_t, tree or __gcc_host_wide_int__ are not properly
defined.
testsuite:
* gcc.dg/format/asm_fprintf-2.c, gcc.dg/format/asm_fprintf-3.c,
gcc.dg/format/asm_fprintf-4.c, gcc.dg/format/asm_fprintf-5.c,
gcc.dg/format/gcc_diag-2.c, gcc.dg/format/gcc_diag-3.c,
gcc.dg/format/gcc_diag-4.c, gcc.dg/format/gcc_diag-5.c,
gcc.dg/format/gcc_diag-6.c, gcc.dg/format/gcc_diag-7.c ,
gcc.dg/format/gcc_diag-8.c, gcc.dg/format/gcc_diag-9.c: New tests.
From-SVN: r98800
Kazu Hirata [Tue, 26 Apr 2005 22:49:27 +0000 (22:49 +0000)]
tree.h (tree_phi_node): Add a comment about the order of PHI arguments.
* tree.h (tree_phi_node): Add a comment about the order of PHI
arguments.
From-SVN: r98798
Kazu Hirata [Tue, 26 Apr 2005 22:43:53 +0000 (22:43 +0000)]
tree-ssa-loop-ivopts.c (ivopts_data, [...]): Use the VEC API instead of VARRAY.
* tree-ssa-loop-ivopts.c (ivopts_data, decl_rtl_to_reset,
n_iv_uses, iv_use, n_iv_cands, iv_cand,
tree_ssa_iv_optimize_init, record_use, add_candidate_1,
prepare_decl_rtl, free_loop_data,
tree_ssa_iv_optimize_finalize): Use the VEC API instead of
VARRAY.
From-SVN: r98797
David Edelsohn [Tue, 26 Apr 2005 22:17:41 +0000 (18:17 -0400)]
Add PR to ChangeLog.
From-SVN: r98796
Michael Koch [Tue, 26 Apr 2005 22:07:39 +0000 (22:07 +0000)]
InetAddress.java: Made all hexadecimal numbers lowercase.
2005-04-26 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
Fixed typos in javadocs.
(isSiteLocalAddress): Fixed handling of byte values.
(isMCLinkLocal): Likewise.
* java/net/Inet4Address.java
(isMulticastAddress): Call super method.
(isLoopbackAddress): Likewise.
(isAnyLocalAddress): Likewise.
(isLinkLocalAddress): Likewise.
(isSiteLocalAddress): Likewise.
(isMCGlobal): Likewise.
(isMCNodeLocal): Likewise.
(isMCLinkLocal): Likewise.
(isMCSiteLocal): Likewise.
(isMCOrgLocal): Likewise.
(getHostAddress): Likewise.
From-SVN: r98795
Sven de Marothy [Tue, 26 Apr 2005 21:55:30 +0000 (23:55 +0200)]
2005-04-26 Sven de Marothy <sven@physto.se>
* java/net/InetAddress.java
(toString): Don't print empty hostnames.
From-SVN: r98793
Luca Barbieri [Tue, 26 Apr 2005 21:49:23 +0000 (21:49 +0000)]
re PR libgcj/21136 ([4.0 only] tryLock waits for the lock, and lock doesn't)
2005-04-26 Luca Barbieri <luca.barbieri@gmail.com>
PR libgcj/21136:
* gnu/java/nio/channels/FileChannelImpl.java (tryLock): Pass
'false' to native lock().
(lock): Pass 'true' to native lock().
From-SVN: r98792
Michael Koch [Tue, 26 Apr 2005 21:44:26 +0000 (21:44 +0000)]
InetAddress.java: Fixed typos in javadocs.
2005-04-26 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
Fixed typos in javadocs.
From-SVN: r98791
Andrew Haley [Tue, 26 Apr 2005 20:52:34 +0000 (20:52 +0000)]
re PR libgcj/21020 (java.lang.NoSuchFieldError regression from earlier 4.0.0 snapshot)
2005-04-26 Andrew Haley <aph@redhat.com>
PR libgcj/21020:
* jni.cc (_Jv_JNI_GetAnyFieldID): Use class' loader to find
field's type.
From-SVN: r98789
David Edelsohn [Tue, 26 Apr 2005 19:27:11 +0000 (15:27 -0400)]
rewind.c (st_rewind): Flush the stream when resetting the mode from WRITING to READING.
* io/rewind.c (st_rewind): Flush the stream when resetting the mode
from WRITING to READING.
From-SVN: r98788
Tom Tromey [Tue, 26 Apr 2005 18:57:40 +0000 (18:57 +0000)]
ParserDelegator.java (callBack, gnu): Now package-private.
* javax/swing/text/html/parser/ParserDelegator.java (callBack,
gnu): Now package-private.
* javax/swing/text/html/parser/DocumentParser.java (parser,
callBack, gnu): Now package-private.
* javax/swing/text/StringContent.java (content, setOffset,
checkLocation): Now package-private.
* javax/swing/text/JTextComponent.java (doc): Now
package-private.
* javax/swing/plaf/basic/BasicToolBarUI.java (owner,
lastGoodOrientation, origParent, borders, cachedBounds,
cachedOrientation, DragWindow): Now package-private.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
decrButton, viewport, panel, currentScrollLocation, layoutManager,
tabAreaRect, contentRect, createIncreaseButton,
createDecreaseButton, findPointForIndex): Now package-private.
* javax/swing/plaf/basic/BasicSplitPaneDivider.java
(currentDividerLocation, moveDividerTo): Now package-private.
* javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
package-private.
* javax/swing/plaf/basic/BasicScrollBarUI.java
(calculatePreferredSize, valueForYPosition, valueForXPosition):
Now package-private.
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(topWindowListener): Now package-private.
* javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
(messageAreaContainer, buttonContainer, resetSelectedValue): Now
package-private.
* javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
package-private.
* javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
Now package-private.
* javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
package-private.
* javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
borderInsets): Now package-private.
(arrowButtonWidth): Likewise. Now a constant.
* javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
makeTabs, updatePreviewPanel): Now package-private.
* javax/swing/plaf/basic/BasicArrowButton.java (shadow,
darkShadow, highlight): Now package-private.
* javax/swing/colorchooser/DefaultSwatchChooserPanel.java
(addColorToQueue): Now package-private.
* javax/swing/colorchooser/DefaultRGBChooserPanel.java
(spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
GSpinner, BSpinner): Now package-private.
* javax/swing/colorchooser/DefaultHSBChooserPanel.java
(gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
updateTrack): Now package-private.
* javax/swing/TransferHandler.java (clipboard): Now
package-private.
* javax/swing/ToolTipManager.java (showTip, hideTip): Now
package-private.
* javax/swing/Timer.java (drainEvents, queueEvent): Now
package-private.
* javax/swing/RepaintManager.java (globalManager): Now
package-private.
* javax/swing/JFormattedTextField.java (editValid): Now
package-private.
* javax/swing/JColorChooser.java (makeModal): Now
package-private.
* java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
index, path): Now package-private.
* java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
lineQuadIntersect, lineCubicIntersect, linesIntersect,
pointEquals): Now package-private.
* java/awt/geom/Arc2D.java (type): Now package-private.
* java/awt/Window.java (windowFocusOwner): Now package-private.
* java/awt/TextComponent.java (editable, selectionStart,
selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
package-private.
* java/awt/MenuItem.java (actionCommand, enabled, label): Now
package-private.
* java/awt/MenuComponent.java (focusListener): Now
package-private.
* java/awt/Frame.java (state): Now package-private.
* java/awt/Choice.java (pItems): Now package-private.
* java/awt/Checkbox.java (state): Now package-private.
* java/awt/Button.java (actionCommand, label): Now
package-private.
* gnu/javax/swing/text/html/parser/support/Parser.java
(attributes, _handleEndTag_remaining, _handleStartTag): Now
package-private.
* gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
package-private.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
clip, transform, font, comp): Now package-private.
From-SVN: r98786
Tom Tromey [Tue, 26 Apr 2005 18:28:49 +0000 (18:28 +0000)]
Robot.java (waitForIdle): Call invokeAndWait in a static way.
* java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
static way.
From-SVN: r98785
Paul Brook [Tue, 26 Apr 2005 18:21:27 +0000 (18:21 +0000)]
arm.md (thumb_mulsi3): Use two-operand assembly form.
2005-04-26 Paul Brook <paul@codesourcery.com>
* config/arm/arm.md (thumb_mulsi3): Use two-operand assembly form.
[[Split portion of a mixed commit.]]
From-SVN: r98783.2
Nathan Sidwell [Tue, 26 Apr 2005 17:55:32 +0000 (17:55 +0000)]
mips.c (mips_legitimize_tls_address): Use gcc_unreachable.
* config/mips/mips.c (mips_legitimize_tls_address): Use
gcc_unreachable.
* config/mmix/mmix.c (mmix_assemble_integer): Use gcc_assert.
* config/mmix/crti.asm (_init): Reword comment to avoid 'abort'.
* config/mmix/mmix.md (nonlocal_goto_receiver): Likewise.
* config/sparc/sparc.h (enum reg_class): Reword comment to avoid
'abort'.
From-SVN: r98782
Jeff Law [Tue, 26 Apr 2005 17:37:33 +0000 (11:37 -0600)]
tree-flow-inline.h (op_iter_next_must_and_may_def): New.
* tree-flow-inline.h (op_iter_next_must_and_may_def): New.
(op_iter_init_must_and_may_def): Likewise.
(unmodifiable_var_p): Move to a later point in the file.
* tree-ssa-operands.h (FOR_EACH_SSA_MUST_AND_MAY_DEF_OPERAND): New.
* tree-ssa-dse.c (need_imm_uses_for): Remove, no longer needed.
(dse_record_phis): Directly check for virtual operands rather than
using need_imm_uses_for.
(dse_optimize_stmt): Handle V_MUST_DEF operands. Handle case where
store has multiple V_{MAY,MUST}_DEF operands.
From-SVN: r98780
Jeff Law [Tue, 26 Apr 2005 17:15:46 +0000 (11:15 -0600)]
ssa-dse-1.c: New test.
* gcc.dg/tree-ssa/ssa-dse-1.c: New test.
* gcc.dg/tree-ssa/ssa-dse-2.c: New test.
* gcc.dg/tree-ssa/ssa-dse-3.c: New test.
* gcc.dg/tree-ssa/ssa-dse-4.c: New test.
* gcc.dg/tree-ssa/ssa-dse-5.c: New test.
* gcc.dg/tree-ssa/ssa-dse-6.c: New test.
* gcc.dg/tree-ssa/ssa-dse-7.c: New test.
From-SVN: r98779
Andrew MacLeod [Tue, 26 Apr 2005 17:11:25 +0000 (17:11 +0000)]
tree-cfg.c (bsi_replace): Delink immediate uses for the original stmt.
2005-04-26 Andrew MacLeod <amacleod@redhat.com>
* tree-cfg.c (bsi_replace): Delink immediate uses for the original stmt.
From-SVN: r98778
Kazu Hirata [Tue, 26 Apr 2005 16:53:53 +0000 (16:53 +0000)]
tree-cfg.c (lv_adjust_loop_header_phi): Speed up moving a call to find_edge outside a loop to go through a PHI chain.
* tree-cfg.c (lv_adjust_loop_header_phi): Speed up moving a
call to find_edge outside a loop to go through a PHI chain.
From-SVN: r98776
Richard Guenther [Tue, 26 Apr 2005 16:35:31 +0000 (16:35 +0000)]
re PR tree-optimization/17598 (an extra addition when comparing address of &a->b and &c->b.)
2004-04-26 Richard Guenther <rguenth@gcc.gnu.org>
PR tree-optimization/17598
* fold-const.c (fold_binary): Fold comparisons of addresses
of COMPONENT_REFs which reference the same field to
comparisons of the addresses of the base objects.
* gcc.dg/tree-ssa/pr17598.c: New testcase.
From-SVN: r98775
Julian Brown [Tue, 26 Apr 2005 16:30:37 +0000 (16:30 +0000)]
arm.c (arm_return_in_msb): New function.
* config/arm/arm.c (arm_return_in_msb): New function.
(arm_must_pass_in_stack): New function.
(TARGET_RETURN_IN_MSB): Define target hook.
(TARGET_MUST_PASS_IN_STACK): Define target hook.
(arm_function_value): Pad small aggregate return.
(arm_pad_arg_upward): New function.
(arm_pad_reg_upward): New function.
* config/arm/arm.h (PROMOTE_FUNCTION_MODE): Include complex values.
(FUNCTION_ARG_PADDING): Define macro.
(BLOCK_REG_PADDING): Define macro.
(PAD_VARARGS_DOWN): Correct padding for AAPCS.
* config/arm/arm-protos.h (arm_pad_arg_upward): Declare function.
(arm_pad_reg_upward): Declare function.
From-SVN: r98774
Jones Desougi [Tue, 26 Apr 2005 15:49:38 +0000 (15:49 +0000)]
re PR libstdc++/21131 (Mismatch in comments for m4 config macros in libstdc++)
2005-04-26 Jones Desougi <jones@ingate.com>
PR libstdc++/21131
* linkage.m4: Fix comments.
From-SVN: r98771
Kazu Hirata [Tue, 26 Apr 2005 15:16:51 +0000 (15:16 +0000)]
re PR tree-optimization/21047 (ASSERT_EXPR handling in fold never triggers.)
PR tree-optimization/21047
* fold-const.c (fold_binary): Abort on ASSERT_EXPR.
(fold): Don't handle ASSERT_EXPR.
From-SVN: r98770
Kazu Hirata [Tue, 26 Apr 2005 14:27:35 +0000 (14:27 +0000)]
basic-block.h (ei_cond): New.
* basic-block.h (ei_cond): New.
(FOR_EACH_EDGE): Call ei_cond.
From-SVN: r98769
Paolo Carlini [Tue, 26 Apr 2005 09:31:07 +0000 (09:31 +0000)]
re PR libstdc++/21209 (signed integer overflow in num_get<>::_M_extract_int)
2005-04-26 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/21209
* include/bits/locale_facets.tcc (_M_extract_int): Avoid signed
integer overflow, always use a suited unsigned type in the main
parsing loop.
(struct __to_unsigned_type): New.
* testsuite/22_locale/num_get/get/char/16.cc: New.
* testsuite/22_locale/num_get/get/wchar_t/16.cc: Likewise.
From-SVN: r98768
Mark Wielaard [Tue, 26 Apr 2005 07:49:16 +0000 (07:49 +0000)]
URL.java (URL(URL,String,URLStreamHandler)): Add spec to MalformedURLException.
2005-04-26 Mark Wielaard <mark@klomp.org>
* java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
to MalformedURLException.
From-SVN: r98767
Michael Koch [Tue, 26 Apr 2005 07:16:48 +0000 (07:16 +0000)]
AccessControlContext.java: Reformated.
2005-04-26 Michael Koch <konqueror@gmx.de>
* java/security/AccessControlContext.java:
Reformated.
(protectedDomains): Renamed from 'protectionDomain'.
* java/security/AccessController.java:
Reformatted.
From-SVN: r98766
Jeroen Frijters [Tue, 26 Apr 2005 07:11:10 +0000 (07:11 +0000)]
2005-04-26 Jeroen Frijters <jeroen@frijters.net>
* gnu/java/security/action/GetSecurityPropertyAction.java
(GetSecurityPropertyAction): Implement PrivilegedAction instead
of extending GetPropertyAction.
(name): New field.
(value): Likewise.
(setParamters): New methods.
(GetSecurityPropertyAction): Use new setParameters methods.
From-SVN: r98765
Jeroen Frijters [Tue, 26 Apr 2005 05:22:12 +0000 (05:22 +0000)]
Security.java, [...]: Modified to use SystemProperties.
2005-04-26 Jeroen Frijters <jeroen@frijters.net>
* java/security/Security.java,
java/security/cert/X509CRLSelector.java,
java/security/cert/X509CertSelector.java:
Modified to use SystemProperties.
From-SVN: r98764
Michael Koch [Tue, 26 Apr 2005 05:09:35 +0000 (05:09 +0000)]
2005-04-26 Michael Koch <konqueror@gmx.de>
* java/lang/System.java
(setSecurityManager): Fixed comment.
(getSecurityManager): Removed obsolete comment.
From-SVN: r98763
Roger Sayle [Tue, 26 Apr 2005 04:11:56 +0000 (04:11 +0000)]
sched-deps.c (sched_analyze_1): On STACK_REGS targets...
* sched-deps.c (sched_analyze_1): On STACK_REGS targets, x87, treat
all writes to any stack register as a read/write dependency on
FIRST_STACK_REG.
(sched_analyze_2): Likewise, for reads from any stack register.
From-SVN: r98762
Richard Henderson [Tue, 26 Apr 2005 01:01:19 +0000 (18:01 -0700)]
* final.c (output_addr_const): Revert 2005-04-09 change.
From-SVN: r98756
Mike Stump [Tue, 26 Apr 2005 00:50:31 +0000 (00:50 +0000)]
darwin.c (darwin_encode_section_info): Always set MACHO_SYMBOL_STATIC for all ! TREE_PUBLIC symbols.
* config/darwin.c (darwin_encode_section_info): Always set
MACHO_SYMBOL_STATIC for all ! TREE_PUBLIC symbols.
* objc.dg/fix-and-continue-1.m: Add.
From-SVN: r98755
Kaveh R. Ghazi [Tue, 26 Apr 2005 00:24:02 +0000 (00:24 +0000)]
collect2.c, [...]: Replace calls to `unlock_stream' with `unlock_std_streams'.
* collect2.c, gcc.c, gcov-dump.c, gcov.c, gen-protos.c,
gensupport.c, protoize.c, toplev.c: Replace calls to
`unlock_stream' with `unlock_std_streams'.
java:
* gjavah.c, jcf-dump.c, jv-scan.c, jvgenmain.c: Replace calls
to `unlock_stream' with `unlock_std_streams'.
From-SVN: r98753
Tom Tromey [Tue, 26 Apr 2005 00:22:19 +0000 (00:22 +0000)]
* java/awt/AWTKeyStroke.java (vktable): Now package-private.
From-SVN: r98752
GCC Administrator [Tue, 26 Apr 2005 00:16:33 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r98749.2
Kaveh R. Ghazi [Tue, 26 Apr 2005 00:14:35 +0000 (00:14 +0000)]
libiberty.h (unlock_std_streams): New.
include:
* libiberty.h (unlock_std_streams): New.
libiberty:
* fopen_unlocked.c (unlock_std_streams): New.
* functions.texi: Regenerate.
From-SVN: r98746
Roger Sayle [Mon, 25 Apr 2005 23:32:56 +0000 (23:32 +0000)]
re PR c++/20995 (ICE in const_binop, at fold-const.c:1391)
PR c++/20995
* g++.dg/opt/pr20995-1.C: New test case.
From-SVN: r98745
Thomas Fitzsimmons [Mon, 25 Apr 2005 23:16:53 +0000 (23:16 +0000)]
2005-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(connectSignals): Realize the window widget after connecting
signals.
From-SVN: r98744
Michael Koch [Mon, 25 Apr 2005 20:58:13 +0000 (20:58 +0000)]
[multiple changes]
2005-04-25 Jeroen Frijters <jeroen@frijters.net>
* java/awt/GraphicsEnvironment.java
(localGraphicsEnvironment): New field.
(getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
property.
(isHeadless): Added support for java.awt.headless property.
(isHeadlessInstance): Call headless().
2005-04-25 Roman Kennke <roman@kennke.org>
* gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
(getDisplayMode): Added. Returns the current display mode.
(isFullScreenSupported): Added.
* java/awt/GraphicsDevice.java
(setFullScreenWindow): Implemented a primitive fullscreen mode.
This resizes and relocates the fullscreen window so that it uses
the whole screen. This is not a fully accelerated fullscreen
exclusive mode.
From-SVN: r98740
Michael Koch [Mon, 25 Apr 2005 20:35:17 +0000 (20:35 +0000)]
Runtime.java, [...]: Replaced java.lang.Runtime.securityManager by java.lang.SecurityManager.current...
2005-04-25 Michael Koch <konqueror@gmx.de>
* java/lang/Runtime.java,
java/lang/SecurityManager.java,
java/lang/System.java,
java/lang/ThreadGroup.java:
Replaced java.lang.Runtime.securityManager by
java.lang.SecurityManager.current (as used in GNU classpath).
From-SVN: r98738
Devang Patel [Mon, 25 Apr 2005 20:26:00 +0000 (13:26 -0700)]
dbxout.c (dbxout_type): Emit attribute vector.
* dbxout.c (dbxout_type): Emit attribute vector.
* gcc.dg/stabs-attrib-vect-darwin.c: New test.
From-SVN: r98737
David Gilbert [Mon, 25 Apr 2005 19:51:00 +0000 (19:51 +0000)]
2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Transparency.java
(getTransparency): fixed API docs.
From-SVN: r98735
Michael Koch [Mon, 25 Apr 2005 19:48:35 +0000 (19:48 +0000)]
[multiple changes]
2005-04-25 Archie Cobbs <archie@dellroad.org>
* java/lang/Throwable.java: simplify initializing cause in constructor
2005-04-25 Michael Koch <konqueror@gmx.de>
* gnu/classpath/SystemProperties.java: New file.
* gnu/classpath/natSystemProperties.cc: New file.
* java/lang/Runtime.java
(defaultProperties): Removed.
(static): Likewise.
(): Made thrown exceptions more verbose.
(insertSystemProperties): Removed.
* java/lang/System.java
(static): Likewise.
(properties): Likewise.
(setSecurityManager): Reordered modifiers.
(getenv): Improved javadoc.
(): Likewise.
(isWordsBigEndian): Removed.
* java/lang/natRuntime.cc
(_Jv_SetDLLSearchPath): Likewise.
(file_encoding): Likewise.
(default_file_encoding): Likewise.
(getpwuid_adaptor): Likewise.
(insertSystemProperties): Likewise.
* java/lang/natSystem.cc
(isWordsBigEndian): Likewise.
* Makefile.am
(ordinary_java_source_files):
Added gnu/classpath/SystemProperties.java.
(nat_source_files): Added gnu/classpath/natSystemProperties.cc.
* Makefile.in: Regenerated.
From-SVN: r98734
Roman Kennke [Mon, 25 Apr 2005 19:36:43 +0000 (19:36 +0000)]
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicScrollBarUI.java
(initDefaults): Initialize thumb*Color fields correctly.
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/text/GapContent.java:
Added API comments.
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalBorders.java:
Added inner class ScrollPaneBorder.
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added default for "ScrollPane.border"
to use the new ScrollPaneBorder.
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/text/AbstractDocument.java:
Added FIXME comments. This class still has to be
implemented thread-safe.
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/tree/DefaultTreeSelectionModel.java
(DefaultTreeSelectionModel): Initialize listenerList here.
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalTextFieldUI.java
(createUI): Return one instance per Component instead of a
shared instance.
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/text/Document.java:
Added API documentation comments.
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/text/AbstractDocument.java
(getDocumentProperties): Implemented.
(setDocumentProperties): Implemented.
(getProperty): Implemented.
(putProperty): Implemented.
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/BoxLayout
(preferredLayoutSize): Fixed computation so that it correctly
adds the top and bottom insets of the container.
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicMenuItemUI.java
(paintText): Make use of the 'selectionForeground' UI default
for text painting.
2005-04-25 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initSystemColorDefaults): Modified colors to match the
BasicLookAndFeel in the reference implementation.
(initComponentDefaults): Likewise.
From-SVN: r98733
Paul Brook [Mon, 25 Apr 2005 19:35:18 +0000 (19:35 +0000)]
target-def.h (TARGET_CXX_USE_AEABI_ATEXIT): Define.
* target-def.h (TARGET_CXX_USE_AEABI_ATEXIT): Define.
* target.h (struct gcc_target): Add cxx.use_aeabi_atexit.
* config/arm/arm.c (arm_cxx_atexit_name): New function.
(TARGET_CXX_USE_AEABI_ATEXIT): New macro.
* cp/decl.c (get_atexit_node): Reorder arguments for __aeabi_atexit.
(register_dtor_fn): Likewise.
* doc/tm.texi: Document TARGET_CXX_USE_AEABI_ATEXIT.
From-SVN: r98732
Ian Lance Taylor [Mon, 25 Apr 2005 19:03:41 +0000 (19:03 +0000)]
c-common.def (EXPR_STMT): Remove, moved to C++ frontend.
./ * c-common.def (EXPR_STMT): Remove, moved to C++ frontend.
* c-common.h (EXPR_STMT_EXPR): Don't define.
(c_common_stmt_codes): Don't define.
* c-dump.c (c_dump_tree): Remove EXPR_STMT case.
* c-gimplify.c (gimplify_expr_stmt): Remove.
(c_gimplify_expr): Remove EXPR_STMT case.
* c-objc-common.c (c_objc_common_init): Remove stmt_codes and call
to INIT_STATEMENT_CODES.
* c-pretty-print.c (pp_c_statement): Just call dump_generic_node.
cp/
* cp-tree.def: Add EXPR_STMT.
* cp-tree.h (cp_stmt_codes): Add EXPR_STMT.
(EXPR_STMT_EXPR): Define.
* cp-gimplify.c: Include "flags.h".
(gimplify_expr_stmt): New static function.
(cp_gimplify_expr): Handle EXPR_STMT.
* cxx-pretty-print.c (pp_cxx_statement): Use pp_cxx_expression
rather than pp_expression.
(pp_cxx_statement): Handle EXPR_STMT.
* dump.c (cp_dump_tree): Handle EXPR_STMT.
* lex.c (cxx_init): Don't use c_common_stmt_codes in stmt_codes
initializer.
From-SVN: r98731
Tom Tromey [Mon, 25 Apr 2005 18:44:10 +0000 (18:44 +0000)]
jni.h (_Jv_va_list): Removed.
* include/jni.h (_Jv_va_list): Removed.
Moved configuration code...
* include/jni_md.h: ... here. New file.
* include/Makefile.in: Rebuilt.
* include/Makefile.am (tool_include__HEADERS): Added jni_md.h.
From-SVN: r98730
Andrew Pinski [Mon, 25 Apr 2005 18:28:55 +0000 (18:28 +0000)]
re PR testsuite/21062 (Incorrect declaration of printf() in alias2.C)
2005-04-25 Andrew Pinski <pinskia@physics.uc.edu>
PR testsuite/21062
* g++.dg/opt/alias2.C (printf): Correct the prototype.
From-SVN: r98728
Andrew Pinski [Mon, 25 Apr 2005 18:08:35 +0000 (18:08 +0000)]
re PR c++/21188 (CbcModel.cpp:3571: internal compiler error: in compare_values, at tree-vrp.c:292)
2005-04-25 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/21188
* g++.dg/opt/rtti2.C: New test.
2005-04-25 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/21188
* rtti.c (ifnonnull): Cast the zero comparison operand
to the correct type.
From-SVN: r98726
Jan Hubicka [Mon, 25 Apr 2005 17:24:28 +0000 (19:24 +0200)]
tree-cfg.c (tree_duplicate_bb): Duplicate EH region too.
* tree-cfg.c (tree_duplicate_bb): Duplicate EH region too.
* except.c: Include diagnostic.h
(dump_eh_tree, verify_eh_tree): New functions.
* except.h (verify_eh_tree, dump_eh_tree, verify_eh_edges): Declare.
* tree-cfg.c (tree_verify_flow_info): verify eh edges.
(dump_function_to_file): dump eh tree.
* tree-eh.c (mark_eh_edge): New function.
(mark_eh_edge_found_error): New static variable.
(verify_eh_edges): New function.
From-SVN: r98724
Nathan Sidwell [Mon, 25 Apr 2005 17:12:49 +0000 (17:12 +0000)]
tree-ssa-alias.c (fieldoff_t): Remove.
* tree-ssa-alias.c (fieldoff_t): Remove.
(fieldoff_s): typedef the structure itself. Create a vector of
objects.
(push_fields_onto_fieldstack): Return count of fields pushed.
Remove peeling of first field. Adjust.
(fieldoff_compare): Adjust.
(create_overlap_variables_for): Adjust.
From-SVN: r98723
Joseph Myers [Mon, 25 Apr 2005 14:42:29 +0000 (15:42 +0100)]
* doc/invoke.texi (Blackfin Options): Avoid empty @opindex line.
From-SVN: r98717
Joseph Myers [Mon, 25 Apr 2005 14:30:21 +0000 (15:30 +0100)]
re PR bootstrap/21215 (gcc build fails on Solaris 10, opteron)
PR bootstrap/21215
* doc/install.texi: Document correct assembler and linker to use
on i?86-*-solaris2.10.
From-SVN: r98715
Daniel Berlin [Mon, 25 Apr 2005 14:18:30 +0000 (14:18 +0000)]
Testcase for pr 21173
From-SVN: r98714
Steven Bosscher [Mon, 25 Apr 2005 13:59:36 +0000 (13:59 +0000)]
re PR tree-optimization/21173 (miscompiled pointer subtraction broke Linux kernel)
2005-04-25 Steven Bosscher <stevenb@suse.de>
Fix PR tree-optimization/21173
* tree-ssa-pre.c (create_expression_by_pieces): Simplify code.
Unshare expression we pass to force_gimple_operand.
From-SVN: r98712
J"orn Rennecke [Mon, 25 Apr 2005 12:46:12 +0000 (12:46 +0000)]
re PR rtl-optimization/20413 (VOIDmode LABEL_REFs are generated)
2005-04-25 J"orn Rennecke <joern.rennecke@st.com>
Stephen Clarke <stevec@superh.com>
Roger Sayle <roger@eyesopen.com>
PR rtl-optimization/20413
* cfgrtl.c (redirect_edge_and_branch): Use Pmode instead of
VOIDmode for LABEL_REF.
* final.c (shorten_branches): Likewise.
* jump.c (mark_all_labels, redirect_exp_1): Likewise.
* loop.c (reg_dead_after_loop): Likewise.
* varasm.c (decode_addr_const): Likewise.
* doc/rtl.texi: Document mode requirement for LABEL_REF.
Co-Authored-By: Roger Sayle <roger@eyesopen.com>
Co-Authored-By: Stephen Clarke <stevec@superh.com>
From-SVN: r98711
Paolo Carlini [Mon, 25 Apr 2005 10:59:21 +0000 (10:59 +0000)]
re PR libstdc++/21035 (Documentation for std::basic_string::compare() incorrect)
2005-04-25 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/21035
* include/bits/basic_string.h (compare): Adjust the documentation
to match the implementation and the standard.
From-SVN: r98708
Ralf Corsepius [Mon, 25 Apr 2005 04:40:02 +0000 (06:40 +0200)]
config.gcc (avr-*-*): Remove redundant "case".
2005-04-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* config.gcc (avr-*-*): Remove redundant "case".
From-SVN: r98699
Kazu Hirata [Mon, 25 Apr 2005 02:33:12 +0000 (02:33 +0000)]
tree-vect-analyze.c (vect_mark_relevant): Take VEC(tree,heap) instead of varray_type as an argument.
* tree-vect-analyze.c (vect_mark_relevant): Take
VEC(tree,heap) instead of varray_type as an argument.
(vect_mark_stmts_to_be_vectorized): Change the type of
worklist to VEC(tree,heap). Adjust uses of worklist.
From-SVN: r98695
Devang Patel [Mon, 25 Apr 2005 02:10:41 +0000 (19:10 -0700)]
* config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New.
From-SVN: r98694
Ian Lance Taylor [Mon, 25 Apr 2005 01:18:23 +0000 (01:18 +0000)]
c-semantics.c (build_stmt): Remove test of specific tree codes for TREE_SIDE_EFFECTS handling.
* c-semantics.c (build_stmt): Remove test of specific tree codes
for TREE_SIDE_EFFECTS handling.
From-SVN: r98693
GCC Administrator [Mon, 25 Apr 2005 00:16:36 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r98691.2
Paul Brook [Mon, 25 Apr 2005 00:09:11 +0000 (00:09 +0000)]
re PR fortran/20879 (argument to ICHAR must have length one)
2005-04-25 Paul Brook <paul@codesourcery.com>
Steven G. Kargl <kargls@comcast.net>
PR fortran/20879
* check.c (gfc_check_ichar_iachar): New function.
* instinsic.h (gfc_check_ichar_iachar): Add prototype.
* intrinsic.c (add_functions): Use it.
* primary.c (match_varspec, gfc_match_rvalue): Clear incorrect
character expression lengths.
testsuite/
* gfortran.dg/ichar_1.f90: New file.
Co-Authored-By: Steven G. Kargl <kargls@comcast.net>
From-SVN: r98686
Per Bothner [Sun, 24 Apr 2005 23:27:37 +0000 (16:27 -0700)]
c-opts.c (finish_options): Make the line-number of the <built-in> location 0...
* c-opts.c (finish_options): Make the line-number of the <built-in>
location 0, as assumed elsewhere, rather than 1.
From-SVN: r98685
Kazu Hirata [Sun, 24 Apr 2005 23:23:33 +0000 (23:23 +0000)]
tree-ssa-uncprop.c (equiv_stack): Change the type o VEC(tree,heap).
* tree-ssa-uncprop.c (equiv_stack): Change the type o
VEC(tree,heap).
(tree_ssa_uncprop, uncprop_finalize_block,
uncprop_initialize_block): Update uses of equiv_stack.
From-SVN: r98684
Paolo Carlini [Sun, 24 Apr 2005 22:37:07 +0000 (22:37 +0000)]
lwg-active.html, [...]: Import Revision 35.
2005-04-24 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 35.
From-SVN: r98681
Jakub Jelinek [Sun, 24 Apr 2005 22:16:49 +0000 (00:16 +0200)]
Make-lang.in (java/decl.o, [...]): Depend on $(EXPR_H) instead of just expr.h.
* Make-lang.in (java/decl.o, java/resource.o): Depend on $(EXPR_H)
instead of just expr.h.
From-SVN: r98679