ebotcazou [Tue, 5 Apr 2005 06:45:50 +0000 (06:45 +0000)]
* gcc.c-torture/compile/
20040323-1.c (_rtld_global): Set to 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97605
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 5 Apr 2005 05:23:14 +0000 (05:23 +0000)]
PR target/20421
* config/i386/i386.md (frndintxf2_floor, frndintxf2_ceil)
(frndintxf2_trunc, frndintxf2_mask_pm): Add FLAGS_REG clobber.
Allocate local stack slots here. Set ix86_optimize_mode_switching.
flag here. Implement using define_insn_and_split.
(frndintxf2_floor_i387, frndintxf2_ceil_i387, frndintxf2_trunc_i387)
(frndintxf2_mask_pm_i387): New insn patterns.
(floorsf2, floordf2, floorxf2): Remove local stack slot allocations.
Do not set ix86_optimize_mode_switching flag.
(ceilsf2, ceildf2, ceilxf2): Same.
(btruncsf2, btruncdf2, btruncxf2): Same.
(nearbyintsf2, nearbyintdf2, nearbyintxf2): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97604
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 5 Apr 2005 04:08:56 +0000 (04:08 +0000)]
PR debug/9963
* config/i386/cygming.h (ASM_OUTPUT_EXTERNAL): Pass DECL to
i386_pe_record_external_function.
(i386_pe_record_external_function): Update declaration.
* config/i386/winnt.c (struct extern_list): Add decl field.
(i386_pe_record_external_function): Add decl parameter.
(i386_pe_file_end): Check TREE_ASM_WRITTEN on decl, not
identifier.
* config/i386/i386-protos.h (i386_pe_record_external_function):
Update declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97602
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 5 Apr 2005 03:20:59 +0000 (03:20 +0000)]
2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
* acconfig.h: Delete macros already ACDEFINED.
* config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97601
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 5 Apr 2005 03:11:32 +0000 (03:11 +0000)]
2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
* acconfig.h (HAVE_MODF): Remove.
* linkage.m4: Check for modf.
* config.h.in, configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97599
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 5 Apr 2005 03:04:38 +0000 (03:04 +0000)]
2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
* acconfig.h (ENABLE_NLS, HAVE_CATGETS): Remove.
(HAVE_GETTEXT, HAVE_STPCPY): Likewise.
* config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97598
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 5 Apr 2005 03:01:51 +0000 (03:01 +0000)]
2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
* linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Use m4 translit macro
to convert to uppercase instead of shelling out to tr.
* acconfig.h: Remove now redundant HAVE__BUILTINS_*.
* configure, config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97597
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Tue, 5 Apr 2005 02:55:43 +0000 (02:55 +0000)]
2005-04-05 Kelley Cook <kcook@gcc.gnu.org>
* acconfig.h (HAVE_TANL): Correct cut-and-paste typo.
* config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97596
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Tue, 5 Apr 2005 01:59:58 +0000 (01:59 +0000)]
* config/m68k/m68k-protos.h: Add a prototype for
valid_dbcc_comparison_p_2.
* config/m68k/m68k.c (not_sp_operand, symbolic_operand,
extend_operator, const_uint32_operand, const_sint32_operand,
general_src_operand, nonimmediate_src_operand,
memory_src_operand, post_inc_operand, pre_dec_operand,
pcrel_address): Move to predicates to predicates.md.
* config/m68k/m68k.h (PREDICATE_CODES): Remove.
* config/m68k/m68k.md: Include predicates.md.
* config/m68k/predicates.md: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97595
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 5 Apr 2005 01:38:56 +0000 (01:38 +0000)]
* config/i386/i386.md (*truncdfsf2_i387_1): New pattern.
* fold-const.c (maybe_lvalue_p): Delete orphaned comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97594
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 5 Apr 2005 01:15:08 +0000 (01:15 +0000)]
* c-typeck.c (struct c_switch): Rename switch_stmt field to
switch_expr.
(c_start_case): Build SWITCH_EXPR, not SWITCH_STMT.
(do_case): Use SWITCH_COND rather than SWITCH_STMT_COND.
(c_finish_case): Use SWITCH_BODY rather than SWITCH_STMT_BODY.
Call c_do_switch_expr_warnings rather than c_do_switch_warnings.
* c-common.c (c_do_switch_warnings_1): New static function broken
out of c_do_switch_warnings.
(c_do_switch_warnings): Call c_do_switch_warnings_1.
(c_do_switch_expr_warnings): New function.
* c-common.h (c_do_switch_expr_warnings): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97593
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Tue, 5 Apr 2005 00:17:25 +0000 (00:17 +0000)]
* gcc.c-torture/compile/
20011119-1.c: Require weak and alias support.
* gcc.c-torture/compile/
20011119-2.c: Likewise.
* gcc.c-torture/compile/981001-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97589
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 5 Apr 2005 00:16:22 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97587
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 4 Apr 2005 22:50:53 +0000 (22:50 +0000)]
2005-04-02 David Edelsohn <edelsohn@gnu.org>
Daniel Jacobowitz <dan@codesourcery.com>
* tree-eh.c (tree_could_trap_p): Allow non-constant floating point
trapping divide.
* rtlanal.c (may_trap_p): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97582
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Mon, 4 Apr 2005 22:45:10 +0000 (22:45 +0000)]
2005-04-04 Dale Johannesen <dalej@apple.com>
* ChangeLog: remove reference to ChangeLog.12.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97581
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 4 Apr 2005 22:43:34 +0000 (22:43 +0000)]
CRIS epilogue as RTL.
* config/cris/cris.md: Change all 0 in unspec 0 to
CRIS_UNSPEC_PLT.
(CRIS_UNSPEC_PLT, CRIS_UNSPEC_FRAME_DEALLOC): New constants.
("*cris_load_multiple", "cris_frame_deallocated_barrier"): New
patterns.
("return"): Change to define_expand. Call cris_expand_return for
actual expansion.
("*return_expanded"): New pattern.
("epilogue"): New define_expand.
* config/cris/cris.h (PREDICATE_CODES): Add
cris_load_multiple_op.
* config/cris/cris.c (ASSERT_PLT_UNSPEC): Correct test for unspec
type.
(enum cris_retinsn_type): New.
(struct machine_function): New member return_type.
(TARGET_ASM_FUNCTION_EPILOGUE): Don't override.
(cris_target_asm_function_epilogue): Remove, moving RTLified
contents to...
(cris_expand_epilogue): New function.
(cris_reg_saved_in_regsave_area, cris_movem_load_rest_p,
(cris_gen_movem_load, cris_load_multiple_op)
(cris_return_address_on_stack_for_return, cris_expand_return): New
functions.
(cris_target_asm_function_prologue)
(cris_initial_frame_pointer_offset): Call
cris_reg_saved_in_regsave_area instead of complicated expression.
Call cris_return_address_on_stack instead of an expression.
(cris_print_operand) <case 'o', case 'O'>: New cases.
(cris_return_address_on_stack): Change return-type to bool.
(cris_simple_epilogue): Ditto. Return false if registers are
saved.
* config/cris/cris-protos.h (cris_simple_epilogue)
(cris_return_address_on_stack): Adjust prototype return type.
(cris_gen_movem_load, cris_expand_epilogue, cris_expand_return)
(cris_return_address_on_stack_for_return): New prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97580
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 4 Apr 2005 22:18:59 +0000 (22:18 +0000)]
2005-04-04 Steve Pribyl <steve@netfuel.com>
PR libgcj/20761
* configure.ac: Fix fastjar definition for cross builds.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97578
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Apr 2005 21:53:22 +0000 (21:53 +0000)]
* config/frv/frv-protos.h: Add a prototype to
frv_legitimate_memory_operand and frv_const_unspec_p.
(frv_unspec): Move from frv.c.
* config/frv/frv.c (frv_unspec): Move to frv-protos.h.
(frv_const_unspec_p, frv_legitimate_memory_operand_): Export.
(ldd_address_operand, fdpic_fptr_operand, frv_load_operand,
gpr_or_fpr_operand, gpr_or_int12_operand,
gpr_fpr_or_int12_operand, fpr_or_int6_operand,
gpr_or_int10_operand, gpr_or_int_operand, int12_operand,
int6_operand, int5_operand, uint5_operand, uint4_operand,
uint1_operand, int_2word_operand, uint16_operand,
upper_int16_operand, integer_register_operand,
gpr_no_subreg_operand, fpr_operand, even_reg_operand,
odd_reg_operand, even_gpr_operand, odd_gpr_operand,
quad_fpr_operand, even_fpr_operand, odd_fpr_operand,
dbl_memory_one_insn_operand, dbl_memory_two_insn_operand,
move_destination_operand, movcc_fp_destination_operand,
frv_function_symbol_referenced_p, move_source_operand,
condexec_dest_operand, condexec_source_operand,
reg_or_0_operand, lr_operand, fdpic_operand, got12_operand,
const_unspec_operand, gpr_or_memory_operand,
gpr_or_memory_operand_with_scratch, fpr_or_memory_operand,
icc_operand, fcc_operand, cc_operand, icr_operand,
fcr_operand, cr_operand, call_operand, sibcall_operand,
symbolic_operand, relational_operator,
integer_relational_operator, float_relational_operator,
ccr_eqne_operator, minmax_operator,
condexec_si_binary_operator, condexec_si_media_operator,
condexec_si_divide_operator, condexec_si_unary_operator,
condexec_sf_conv_operator, condexec_sf_add_operator,
condexec_memory_operand, intop_compare_operator, acc_operand,
even_acc_operand, quad_acc_operand, accg_operand: Move to
predicates.md.
* config/frv/frv.h (PREDICATE_CODES): Remove.
* config/frv/frv.md: Include predicates.md.
* config/frv/predicates.md: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97577
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Mon, 4 Apr 2005 20:58:00 +0000 (20:58 +0000)]
* testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
declaration before statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97576
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Apr 2005 20:42:11 +0000 (20:42 +0000)]
* config/frv/frv.h (PREDICATE_CODES): Add CONST to
gpr_or_int12_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97575
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 4 Apr 2005 20:15:09 +0000 (20:15 +0000)]
Fix last but one entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97574
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 4 Apr 2005 19:43:52 +0000 (19:43 +0000)]
Add PR number to last entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97572
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 4 Apr 2005 19:42:51 +0000 (19:42 +0000)]
* Makefile.in (tree-ssa-loop-ivopts.o): Depend on langhooks.h.
* tree-ssa-loop-ivopts.c: Include langhooks.h.
(add_standard_iv_candidates_for_size): New function, extracting code
from add_standard_iv_candidates and parameterizing it by type size.
(add_standard_iv_candidates): Use add_standard_iv_candidates_for_size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97571
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 4 Apr 2005 19:41:14 +0000 (19:41 +0000)]
* system.h (GCOV_SIZE_TYPE): Unposion.
* gcov-io.h (GCOV_TYPE_NODE): Delete, replacing with...
(GCOV_TYPE_SIZE): ...this new macro.
* coverage.h (get_gcov_type, GCOV_TYPE_NODE): Declare.
* coverage.c (get_gcov_type, get_gcov_unsigned_t): New functions.
(rtl_coverage_counter_ref): Use GCOV_TYPE_SIZE.
(build_fn_info_type, build_fn_info_value, build_ctr_info_type)
(build_ctr_info_value, build_gcov_info): Use get_gcov_unsigned_t
instead of unsigned_intSI_type_node.
* rtl-profile.c (rtl_gen_interval_profiler, rtl_gen_pow2_profiler)
(rtl_gen_one_value_profiler_no_edge_manipulation)
(rtl_gen_const_delta_profiler): Use GCOV_TYPE_SIZE.
* value-prof.c: Include coverage.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97570
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 4 Apr 2005 19:11:07 +0000 (19:11 +0000)]
PR c++/20679
* parser.c (cp_parser_template_name): Fix thinko.
PR c++/20679
* g++.dg/template/overload4.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97569
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Mon, 4 Apr 2005 19:02:16 +0000 (19:02 +0000)]
2005-04-02 Daniel Berlin <dberlin@dberlin.org>
Diego Novillo <dnovillo@redhat.com>
Fix PR tree-optimization/20703
Fix PR tree-optimization/20725
* tree-ssa-pre.c (phi_translate): Handle tcc_comparison.
(create_expression_by_pieces): Ditto.
(valid_in_set): Ditto. Also handle tcc_declaration.
(find_or_generate_expression): Handle comparison class.
(insert_into_preds_of_block): Ditto.
(insert_aux): Ditto.
(create_value_expr_from): Handle comparison class, recursively
handle reference nodes.
(compute_avail): Handle comparison classes, rewrite a little cleaner.
(execute_pre): Fix spacing.
(do_fre): Renamed to execute_fre.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97567
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 4 Apr 2005 18:40:24 +0000 (18:40 +0000)]
* java/lang/ClassLoader.java (loadClass): Resolve class even if
it was already found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97565
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 4 Apr 2005 18:11:46 +0000 (18:11 +0000)]
* doc/invoke.texi (SPARC options): Document that
-mlittle-endian is not supported on Linux either.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97561
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 4 Apr 2005 18:00:53 +0000 (18:00 +0000)]
* java/net/URL.java (DEFAULT_SEARCH_PATH): Added
org.metastatic.jessie.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97560
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 4 Apr 2005 17:52:49 +0000 (17:52 +0000)]
* testsuite/Makefile.am (check-local): Remove.
(curent_symbols.txt): Likewise.
(check-abi): Do not depend on current_symbols.txt.
* testsuite/Makefile.in: Regenerated.
* testsuite/libstdc++-abi/abi.exp: Build current_symbols.txt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97558
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 4 Apr 2005 17:45:16 +0000 (17:45 +0000)]
cp:
PR c++/20746
* method.c (use_thunk): Protect covariant pointer return
adjustments from NULL pointers.
testsuite:
PR c++/20746
* g++.dg/abi/covariant5.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97557
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 4 Apr 2005 17:18:54 +0000 (17:18 +0000)]
PR target/4198
PR target/12027
* config.gcc (Obsolete configurations): Remove
sparclite-*-coff*, sparclite-*-elf* and sparc-*-openbsd*.
(sparclite-*-coff*): Delete.
(sparclite-*-elf*): Likewise.
(sparc86x-*-elf*): Likewise.
(target_cpu_default) <sparc*-*-*>: Remove sparc86x.
* config/sparc/lite.h: Delete.
* config/sparc/litecoff.h: Likewise.
* config/sparc/liteelf.h: Likewise.
* config/sparc/sp86x-elf.h: Likewise.
* config/sparc/t-sparclite: Likewise.
* config/sparc/t-sp86x: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97555
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 4 Apr 2005 16:25:05 +0000 (16:25 +0000)]
2005-04-04 Adrian Strae�tling <straetling@de.ibm.com>
* config/s390/s390-protos.h: (s390_comparison,
s390_alc_comparison, s390_slb_comparison, const0_operand,
consttable_operand, larl_operand, s_operand,
shift_count_operand, bras_sym_operand, load_multiple_operation,
store_multiple_operation, s390_plus_operand): Remove prototypes.
(s390_legitimate_address_without_index_p): New prototype.
* config/s390/s390.c: (SYMBOL_FLAG_ALIGN1, DISP_IN_RANGE): Move
to s390.h.
(s390_comparison, s390_alc_comparison, s390_slb_comparison,
const0_operand, consttable_operand, larl_operand, s_operand,
shift_count_operand, bras_sym_operand, load_multiple_operation,
store_multiple_operation, s390_plus_operand): Move to
predicates.md.
(check_mode): Remove.
(s390_branch_condition_mask): Remove 'static'. Move prototype to
s390-protos.h.
(s390_legitimate_address_without_index_p): New.
* config/s390/s390.h (PREDICATE_CODES): Remove.
* config/s390/s390.md: Include predicates.md.
* config/s390/predicates.md: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97554
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Apr 2005 15:29:52 +0000 (15:29 +0000)]
* gcj.texi: Fix a typo.
* lang.c: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97551
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Mon, 4 Apr 2005 15:29:10 +0000 (15:29 +0000)]
PR target/20446
* config/sparc/sparc.h (NEED_INDICATE_EXEC_STACK): Define to 0.
* config/sparc/linux.h (TARGET_ASM_FILE_END): Delete.
(NEED_INDICATE_EXEC_STACK): Define to 1.
* config/sparc/linux64.h (TARGET_ASM_FILE_END): Delete.
(NEED_INDICATE_EXEC_STACK): Define to 1.
* config/sparc/sparc.c (TARGET_ASM_FILE_END): Set to sparc_file_end.
(add_pc_to_pic_symbol): Rename into pic_helper_symbol.
(add_pc_to_pic_symbol_name): Rename into pic_helper_symbol_name.
(pic_helper_emitted_p): New global.
(emit_pic_helper): New function extracted from...
(load_pic_register): ...here. Add 'delay_pic_helper' parameter.
Do not call emit_pic_helper if delay_pic_helper is true.
(sparc_expand_prologue): Pass 'false' to load_pic_register.
(sparc_output_mi_thunk): Pass 'true' to load_pic_register.
(sparc_file_end): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97550
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Apr 2005 15:25:17 +0000 (15:25 +0000)]
* config/mcore/predicates.md: Fix a comment typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97549
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Apr 2005 15:17:10 +0000 (15:17 +0000)]
* config/mcore/mcore-protos.h: Remove the prototypes for
mcore_arith_reg_operand, mcore_general_movsrc_operand,
mcore_general_movdst_operand, mcore_reload_operand,
mcore_arith_J_operand, mcore_arith_K_operand,
mcore_arith_K_operand_not_0, mcore_arith_M_operand,
mcore_arith_K_S_operand, mcore_arith_imm_operand,
mcore_arith_any_imm_operand, mcore_arith_O_operand,
mcore_literal_K_operand, mcore_addsub_operand,
mcore_compare_operand, mcore_load_multiple_operation,
mcore_store_multiple_operation, mcore_call_address_operand.
Add a prototype for const_ok_for_mcore.
* config/mcore/mcore.c (mcore_call_address_operand,
mcore_general_movsrc_operand, mcore_general_movdst_operand,
mcore_arith_reg_operand, mcore_reload_operand,
mcore_arith_J_operand, mcore_arith_K_operand,
mcore_arith_K_operand_not_0, mcore_arith_K_S_operand,
mcore_arith_M_operand, mcore_arith_imm_operand,
mcore_arith_any_imm_operand, mcore_arith_O_operand,
mcore_literal_K_operand, mcore_addsub_operand,
mcore_compare_operand, mcore_load_multiple_operation,
mcore_store_multiple_operation): Move to predicates.md.
(const_ok_for_mcore): Export.
* config/mcore/mcore.h (PREDICATE_CODES): Remove.
* config/mcore/mcore.md: Include predicates.md.
* config/mcore/predicates.md: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97548
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 4 Apr 2005 15:12:55 +0000 (15:12 +0000)]
* decl2.c (finish_objects): Revert my previous patch.
(cp_finish_file): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97547
138bc75d-0d04-0410-961f-
82ee72b054a4
jgrimm [Mon, 4 Apr 2005 15:12:36 +0000 (15:12 +0000)]
Add myself to MAINTAINERS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97546
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 4 Apr 2005 14:31:07 +0000 (14:31 +0000)]
2005-04-04 Andreas Krebbel <krebbel1@de.ibm.com>
Adrian Straetling <straetling@de.ibm.com>
* config/s390/2064.md ("z_mul", "z_inf"): New insn reservations.
* config/s390/2084.md ("x_mul_hi", "x_mul_sidi", "x_div"): Likewise.
* config/s390/s390.md ("imulhi", "imulsi", "imuldi"): Added to "type"
attribute.
("imul"): Removed from "type" attribute.
("*muldi3_sign", "muldi3"): Changed type to imuldi.
("mulsi3/1", "mulsi3/3", "mulsi/4", "mulsidi3", "umulsidi3"):
Changed type to imulsi.
("*mulsi3_sign", "mulsi3/2"): Changed type to imulhi.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97545
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 4 Apr 2005 14:22:02 +0000 (14:22 +0000)]
* config/mcore/mcore.h (target_flags, HARDLIT_BIT, ALIGN8_BIT, DIV_BIT)
(RELAX_IMM_BIT, W_FIELD_BIT, OVERALIGN_FUNC_BIT, CGDATA_BIT)
(SLOW_BYTES_BIT, LITTLE_END_BIT, M340_BIT, TARGET_HARDLIT)
(TARGET_DIV, TARGET_RELAX_IMM, TARGET_W_FIELD, TARGET_OVERALIGN_FUNC)
(TARGET_CG_DATA, TARGET_SLOW_BYTES, TARGET_LITTLE_END, TARGET_M340)
(TARGET_SWITCHES, mcore_stack_increment_string)
(TARGET_OPTIONS): Delete.
(TARGET_DEFAULT, OPTIMIZATION_OPTIONS): Use MASK_* constants rather
than *_BIT constants.
(TARGET_8ALIGN): #undef old definition before redefining to 1.
* config/mcore/mcore.c (mcore_stack_increment_string): Delete.
(TARGET_DEFAULT_TARGET_FLAGS): Override default to TARGET_DEFAULT.
(mcore_override_options): Delete mcore_stack_increment code.
Change use of M340_BIT to MASK_M340.
* config/mcore/mcore.opt: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97544
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Mon, 4 Apr 2005 13:59:20 +0000 (13:59 +0000)]
* config/arm/arm.c (replace_symbols_in_block): Remove static
function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97543
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Apr 2005 13:55:05 +0000 (13:55 +0000)]
* config/sh/sh.h (PREDICATE_CODES): Add CONST to
general_movsrc_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97542
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Apr 2005 13:51:28 +0000 (13:51 +0000)]
* config/mcore/mcore.h (PREDICATE_CODES): Add SYMBOL_REF and
LABEL_REF to mcore_general_movsrc_operand. Add SYMBOL_REF to
mcore_call_address_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97541
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 4 Apr 2005 13:45:53 +0000 (13:45 +0000)]
* config/fr30/fr30-protos.h: Remove the prototypes for
stack_add_operand, add_immediate_operand,
high_register_operand, low_register_operand, call_operand,
di_operand, and nonimmediate_di_operand.
* config/fr30/fr30.c (stack_add_operand,
add_immediate_operand, high_register_operand,
low_register_operand, call_operand, di_operand,
nonimmediate_di_operand): Move to predicates.md.
* config/fr30/fr30.h (PREDICATE_CODES): Remove.
* config/fr30/fr30.md: Include predicates.md.
* config/fr30/predicates.md: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97540
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Mon, 4 Apr 2005 12:10:21 +0000 (12:10 +0000)]
* intrinsic.texi: BES?? functions are not in the f95 standard.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97538
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 4 Apr 2005 12:04:38 +0000 (12:04 +0000)]
PR debug/20505
* g++.dg/debug/const2.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97537
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 4 Apr 2005 11:53:15 +0000 (11:53 +0000)]
* passes.c (rest_of_handle_final): NULL unlikely_text_section_name
after freeing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97536
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Mon, 4 Apr 2005 10:51:38 +0000 (10:51 +0000)]
PR target/14812
* arm.c (arm_select_cc_mode): Return CC_Zmode when comparing against
a negated value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97533
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Mon, 4 Apr 2005 10:09:46 +0000 (10:09 +0000)]
* mf-runtime.c (__mfu_unregister): Warning fix for char unsigned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97532
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 4 Apr 2005 08:50:35 +0000 (08:50 +0000)]
PR rtl-optimization/16104
* fold-const.c (fold_unary): Fix folding of vector conversions.
* gcc.c-torture/execute/
20050316-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97529
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Mon, 4 Apr 2005 08:18:55 +0000 (08:18 +0000)]
* g++.dg/template/spec23.C: Fix dg-error text.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97527
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 4 Apr 2005 07:47:01 +0000 (07:47 +0000)]
* config.gcc (xstormy16-*-elf): Set extra_options.
* config/stormy16/stormy16.h (target_flags, TARGET_SWITCHES): Delete.
* config/stormy16/stormy16.opt: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97526
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Mon, 4 Apr 2005 07:44:33 +0000 (07:44 +0000)]
* config/pdp11/pdp11.h (target_flags, TARGET_SWITCHES, TARGET_DEFAULT)
(TARGET_FPU, TARGET_SOFT_FLOAT, TARGET_AC0, TARGET_NO_AC0, TARGET_45)
(TARGET_BCOPY_BUILTIN, TARGET_INT16, TARGET_INT32, TARGET_FLOAT32)
(TARGET_FLOAT64, TARGET_ABSHI_BUILTIN, TARGET_BRANCH_EXPENSIVE)
(TARGET_BRANCH_CHEAP, TARGET_SPLIT, TARGET_NOSPLIT)
(TARGET_UNIX_ASM): Delete.
(TARGET_40_PLUS): Redefine in terms of TARGET_40 and TARGET_45.
* config/pdp11/2bsd.h (TARGET_UNIX_ASM_DEFAULT): Use MASK_UNIX_ASM.
* config/pdp11/pdp11.c (pdp11_handle_option): New function.
(TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
* config/pdp11/pdp11.opt: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97525
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Mon, 4 Apr 2005 05:02:10 +0000 (05:02 +0000)]
2005-04-03 Roger Sayle <roger@eyesopen.com>
Alexandre Oliva <aoliva@redhat.com>
PR c++/19199
* fold-const.c (non_lvalue): Split tests into...
(maybe_lvalue_p): New function.
(fold_cond_expr_with_comparison): Preserve lvalue-ness for the
C++ front-end prior to lowering into gimple form.
* g++.dg/expr/lval2.C: New.
* expr2.C: Fixed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97522
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 4 Apr 2005 00:16:29 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97511
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 3 Apr 2005 22:08:12 +0000 (22:08 +0000)]
* builtins.def (BUILT_IN_STPNCPY, BUILT_IN_STRCASECMP,
BUILT_IN_STRNCASECMP): New.
* doc/extend.texi: Document stpncpy, strcasecmp, strncasecmp
and strndup.
testsuite:
* gcc.dg/nonnull-3.c: Also test __builtin_stpncpy,
__builtin_strcasecmp and __builtin_strncasecmp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97498
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Sun, 3 Apr 2005 19:15:41 +0000 (19:15 +0000)]
* intrinsic.texi: Document COS, EXP, LOG, LOG10, SIN, SQRT, TAN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97496
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Sun, 3 Apr 2005 17:46:07 +0000 (17:46 +0000)]
* intrinsic.texi: Document BESJ0, BESJ1, BESJN, BESY0, BESY1,
BESYN, ATAN, COSH, ERF, ERC, SINH, TANH.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97495
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Sun, 3 Apr 2005 14:41:22 +0000 (14:41 +0000)]
PR target/14812
* arm.md (addsi3_compare0_for_combiner): Delete.
(addsi3_compare0_scratch_for_combiner): Delete.
(cmpsi_neg_shiftsi): Delete.
(compare_negsi_si): New pattern.
(cmpsi_negshiftsi_si): New pattern.
(negated_cbranchsi4): Restrict to equality_operator.
* arm.md (movhi_insn_arch4): delete trailing white space from assembler
template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97493
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Apr 2005 14:30:29 +0000 (14:30 +0000)]
* doc/install.texi: Fix a typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97492
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Apr 2005 14:24:28 +0000 (14:24 +0000)]
* pt.c: Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97491
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Apr 2005 14:09:57 +0000 (14:09 +0000)]
* cfghooks.c, cfgrtl.c, modulo-sched.c, config/i386/winnt.c:
Fix comment typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97490
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sun, 3 Apr 2005 12:33:02 +0000 (12:33 +0000)]
cp:
PR c++/20723
* pt.c (more_specialized_fn): Member functions are unordered wrt
non-members. Conversion operators are unordered wrt other
functions.
testsuite:
PR c++/20723
* g++.dg/template/spec22.C: New.
* g++.dg/template/spec23.C: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97489
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sun, 3 Apr 2005 11:26:41 +0000 (11:26 +0000)]
PR middle-end/20648
* bb-reorder.c (duplicate_computed_gotos): Do not unfactor
a computed goto if the edge to the computed goto block has
incoming abnormal edges. Clarify how the function works.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97486
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sun, 3 Apr 2005 10:27:51 +0000 (10:27 +0000)]
* params.c (set_param_value): Use gcc_assert & gcc_unreachable.
* passes.c (open_dump_file, rest_of_handle_final): Likewise.
* postreload-gcse.c (expr_equiv_p, oprs_unchanged_p,
hash_scan_set, reg_set_between_after_reload_p,
reg_used_between_after_reload_p, get_avail_load_store_reg,
eliminate_partially_redundant_load): Likewise.
* postreload.c (reload_cse_simplify_set,
reload_combine_note_use): Likewise.
* predict.c (predict_insn, expected_value_to_br_prob,
propagate_freq, expensive_function_p): Likewise.
* print-rtl.c (print_rtx): Likewise.
* profile.c (instrument_edges, instrument_values,
compute_branch_probabilities, branch_prob, union_groups,
tree_register_profile_hooks, rtl_register_profile_hooks): Likewise.
* protoize.c (in_system_include_dir, file_could_be_converted,
file_normally_convertible, gen_aux_info_file, seek_to_line,
do_cleaning): Likewise.
* tree-ssa-alias.c (collect_points_to_info_r): Likewise.
* tree-ssa-ccp.c (execute_fold_all_builtins): Likewise.
* tree-ssa-loop-ivopts.c (produce_memory_decl_rtl): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97485
138bc75d-0d04-0410-961f-
82ee72b054a4
hagog [Sun, 3 Apr 2005 09:27:07 +0000 (09:27 +0000)]
2005-03-31 Mostafa Hagog <mustafa@il.ibm.com>
* cfg.c (clear_bb_flags): Don't clear BB_DISABLE_SCHEDULE.
* modulo-sched.c (undo_replace_buff_elem): New structure.
(kernel_number_of_cycles, ps_unschedule_node,
undo_generate_reg_moves,free_undo_replace_buff,
undo_permute_partial_schedule, loop_single_full_bb_p,
SIMPLE_SMS_LOOP_P, loop_canon_p, canon_loop,
build_loops_structure, get_sched_window): New.
(generate_reg_moves): Return undo_replace_buff_elem and other
fixes.
(generate_prolog_epilog): Remove old loop versioning.
(sms_schedule): Use loop information and loop_version.
(sms_schedule_by_order): Split part of it to get_sched_window.
* passes.c (rest_of_handle_sms): call cfg_layout_initialize
cfg_layout_finalize and free_dominance_info before/after SMS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97484
138bc75d-0d04-0410-961f-
82ee72b054a4
hagog [Sun, 3 Apr 2005 08:44:33 +0000 (08:44 +0000)]
2005-03-30 Mostafa Hagog <mustafa@il.ibm.com>
* cfghooks.c (lv_flush_pending_stmts,
cfg_hook_duplicate_loop_to_header_edge, extract_cond_bb_edges,
lv_adjust_loop_header_phi, lv_add_condition_to_bb): New.
* cfghooks.h (cfg_hook_duplicate_loop_to_header_edge,
lv_add_condition_to_bb,
lv_adjust_loop_header_phi, extract_cond_bb_edges,
flush_pending_stmts): New in cfg_hooks structure.
(cfg_hook_duplicate_loop_to_header_edge, lv_flush_pending_stmts,
extract_cond_bb_edges, lv_adjust_loop_header_phi,
lv_add_condition_to_bb): New declarations.
* cfgloop.h (duplicate_loop_to_header_edge): Change return type to
bool.
(loop_version): Declare.
* cfgloopmanip.c (cfghooks.h): Include.
(duplicate_loop_to_header_edge): Change return type to bool.
(loop_version, lv_adjust_loop_entry_edge): Move here.
* cfgrtl.c (cfgloop.h): Include.
(rtl_verify_flow_info_1): Fix.
(rtl_lv_add_condition_to_bb, rtl_extract_cond_bb_edges): New.
(rtl_cfg_hooks, cfg_layout_rtl_cfg_hook): Add hooks to
initialization.
* tree-cfg.c (tree_lv_adjust_loop_header_phi,
tree_lv_add_condition_to_bb): New.
(tree_cfg_hooks): Add new hooks to initialization.
* tree-ssa-loop-manip.c (lv_adjust_loop_header_phi,
lv_adjust_loop_entry_edge, tree_ssa_loop_version): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97481
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 3 Apr 2005 08:08:59 +0000 (08:08 +0000)]
2005-04-02 Anthony Green <green@redhat.com>
PR libgcj/20727
* java/nio/DirectByteBufferImpl.java: Fix buffer ownership bug.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97479
138bc75d-0d04-0410-961f-
82ee72b054a4
fxcoudert [Sun, 3 Apr 2005 08:07:43 +0000 (08:07 +0000)]
PR libfortran/20068
PR libfortran/20125
PR libfortran/20156
PR libfortran/20471
* io/backspace.c (unformatted_backspace): Fix error in arithmetic.
(st_backspace): When in WRITING mode, we flush and falling back
into READING mode. In all cases, correctly position the stream.
* gfortran.dg/backspace.f: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97478
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Apr 2005 06:32:13 +0000 (06:32 +0000)]
* config/stormy16/stormy16-protos.h: Remove the prototypes for
xstormy16_ineqsi_operator, equality_operator,
inequality_operator, shift_operator,
xstormy16_below100_operand, xstormy16_below100_or_register,
xstormy16_splittable_below100_or_register,
xstormy16_onebit_set_operand, xstormy16_onebit_clr_operand.
* config/stormy16/stormy16.c (xstormy16_ineqsi_operator,
equality_operator, inequality_operator,
xstormy16_below100_operand, xstormy16_below100_or_register,
xstormy16_splittable_below100_or_register,
xstormy16_onebit_set_operand, xstormy16_onebit_clr_operand,
nonimmediate_nonstack_operand, shift_operator): Move to
predicates.md.
* config/stormy16/stormy16.h (PREDICATE_CODES): Remove.
* config/stormy16/stormy16.md: Include predicates.md.
* config/stormy16/predicates.md: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97476
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Apr 2005 05:37:21 +0000 (05:37 +0000)]
* config/stormy16/stormy16.h (PREDICATE_CODES): Add SUBREG to
xstormy16_below100_or_register,
xstormy16_splittable_below100_or_register, and
nonimmediate_nonstack_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97475
138bc75d-0d04-0410-961f-
82ee72b054a4
kargl [Sun, 3 Apr 2005 01:20:56 +0000 (01:20 +0000)]
Document ALLOCATED, ANINT, ANY, ASIN; Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97473
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sun, 3 Apr 2005 00:38:00 +0000 (00:38 +0000)]
* config/iq2000/iq2000.c (uns_arith_operand, arith_operand,
small_int, large_int, reg_or_0_operand, simple_memory_operand,
equality_op, cmp_op, pc_or_label_operand, call_insn_operand,
move_operand, power_of_2_operand): Move to predicates.md.
* config/iq2000/iq2000.h (SPECIAL_MODE_PREDICATES,
PREDICATE_CODE): Remove.
* config/iq2000/iq2000.md: Include predicates.md.
* config/iq2000/predicates.md: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97472
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 3 Apr 2005 00:16:56 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97470
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Sat, 2 Apr 2005 21:03:33 +0000 (21:03 +0000)]
2005-04-02 Mark Wielaard <mark@klomp.org>
* javax/naming/directory/BasicAttributes.java (equals): Compare to any
Attributes and attribute order doesn't matter.
(BasicAttributesEnumeration.where): Initialize to zero.
(BasicAttributesEnumeration.nextElement): Update and compare where
appropriately (zero based).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97461
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Sat, 2 Apr 2005 20:44:38 +0000 (20:44 +0000)]
* config/m68hc11/m68hc11.h (target_flags, MASK_SHORT)
(MASK_AUTO_INC_DEC, MASK_M6811, MASK_M6812, MASK_M68S12)
(MASK_NO_DIRECT_MODE, MASK_MIN_MAX, MASK_LONG_CALLS)
(TARGET_SHORT, TARGET_M6811, TARGET_M6812, TARGET_M68S12)
(TARGET_AUTO_INC_DEC, TARGET_MIN_MAX, TARGET_NO_DIRECT_MODE)
(TARGET_LONG_CALLS, TARGET_SWITCHES, TARGET_OPTIONS)
(SUBTARGET_SWITCHES, SUBTARGET_OPTIONS, m68hc11_regparm_string)
(m68hc11_reg_alloc_order, m68hc11_soft_reg_count)
(TARGET_M68HC11): Delete.
(TARGET_DEFAULT): Change the default setting from MASK_M6811 to 0.
* config/m68hc11/m68hc12.h (TARGET_M68HC12): Delete.
* config/m68hc11/m68hc11.c (m68hc11_regparm_string)
(m68hc11_reg_alloc_order, m68hc11_soft_reg_count)
(nb_soft_regs): Delete.
(TARGET_DEFAULT_TARGET_FLAGS): Override default with TARGET_DEFAULT.
(m68hc11_override_options): Remove the code that caters for MASK_M6811
and MASK_M6812 being set simultaneously. Change the code that sets
the default m68hc11_soft_reg_count to use integers instead of strings.
(m68hc11_conditional_register_usage, hard_regno_mode_ok): Use
m68hc11_soft_reg_count (which now has an int type) as the number
of soft registers.
* config/m68hc11/m68hc11.opt: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97458
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 2 Apr 2005 20:28:00 +0000 (20:28 +0000)]
* bcmp.c: Fix warnings and implement using memcmp.
* bcopy.c: Fix warnings.
* bzero.c: Fix warnings and implement using memset.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97457
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 2 Apr 2005 19:57:12 +0000 (19:57 +0000)]
* configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
-Wstrict-prototypes.
* configure, config.in: Regenerate.
* bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
warnings and reconcile interfaces with relevant standards.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97456
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 2 Apr 2005 19:31:23 +0000 (19:31 +0000)]
* config/m68hc11/m68hc11-protos.h: Add a prototype for
m68hcc_auto_inc_p.
Remove the prototypes for tst_operand, cmp_operand,
stack_register_operand, d_register_operand,
hard_addr_reg_operand, splitable_operand,
m68hc11_logical_operator, m68hc11_arith_operator,
m68hc11_non_shift_operator, m68hc11_shift_operator,
m68hc11_unary_operator, m68hc11_eq_compare_operator,
non_push_operand, hard_reg_operand, and
reg_or_some_mem_operand.
* config/m68hc11/m68hc11.c (m68hcc_auto_inc_p): Make it
extern.
(tst_operand, cmp_operand, non_push_operand,
splitable_operand, reg_or_some_mem_operand,
stack_register_operand, d_register_operand,
hard_addr_reg_operand, hard_reg_operand,
m68hc11_eq_compare_operator, m68hc11_logical_operator,
m68hc11_arith_operator, m68hc11_non_shift_operator,
m68hc11_shift_operator, m68hc11_unary_operator): Move to
predicates.md.
* config/m68hc11/m68hc11.h (PREDICATE_CODES): Remove.
* config/m68hc11/m68hc11.md: Include predicates.md.
* config/m68hc11/predicates.md: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97455
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Sat, 2 Apr 2005 17:41:35 +0000 (17:41 +0000)]
* config/fr30/fr30.h (PREDICATE_CODES): Remove
fp_displacement_operand, sp_displacement_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97453
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Sat, 2 Apr 2005 17:17:02 +0000 (17:17 +0000)]
* cp-demangle.c: Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97452
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 2 Apr 2005 17:08:07 +0000 (17:08 +0000)]
gcc/ChangeLog:
PR debug/19345
* dwarf2out.c (add_abstract_origin_attribute): Revert accidental
change checked in along with 2005-03-03's patch for debug/20253.
* tree-inline.c (remap_type): Remap TYPE_STUB_DECL.
(remap_decl): Insert type decl in map earlier.
gcc/testsuite/ChangeLog:
* gcc.dg/pr19345.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97449
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 2 Apr 2005 17:02:15 +0000 (17:02 +0000)]
gcc/ChangeLog:
PR tree-optimization/20640
* tree-ssa-dce.c (remove_dead_stmt): Don't redirect edge to
post-dominator if it has phi nodes.
(eliminate_unnecessary_stmts): Remove dead phis in all blocks
before dead statements.
gcc/testsuite/ChangeLog:
PR tree-optimization/20640
* gcc.dg/torture/tree-loop-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97446
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 2 Apr 2005 16:56:27 +0000 (16:56 +0000)]
PR middle-end/20491
* final.c (alter_subreg): Don't call subreg_regno for a non-REG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97444
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 2 Apr 2005 16:53:44 +0000 (16:53 +0000)]
gcc/ChangeLog:
PR rtl-optimization/20290
* loop.c (for_each_insn_in_loop): Don't assume the loop body runs
in every iteration if the entry point is the exit test.
gcc/testsuite/ChangeLog:
PR rtl-optimization/20290
* gcc.c-torture/execute/loop-ivopts-2.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97441
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Sat, 2 Apr 2005 16:34:41 +0000 (16:34 +0000)]
* config/cris/cris.md (attribute "length"): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97440
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Sat, 2 Apr 2005 12:56:18 +0000 (12:56 +0000)]
2005-04-02 Douglas Gregor <doug.gregor@gmail.com>
* include/tr1/tuple_iterate.h (tuple_element): Use new macro
_GLIBCXX_T_NUM_ARGS_PLUS_1 because _T is a macro on Darwin.
* include/tr1/repeat.h (_GLIBCXX_T_NUM_ARGS_PLUS_1): Define for
each iteration.
* scripts/gen_includers.h: Define _GLIBCXX_T_NUM_ARGS_PLUS_1 for
each iteration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97438
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sat, 2 Apr 2005 10:46:03 +0000 (10:46 +0000)]
* config/rs6000/predicates.md (indexed_or_indirect_operand): New.
(word_offset_memref_operand): New.
* config/rs6000/rs6000-protos.h (word_offset_memref_operand): Delete.
(indexed_or_indirect_operand): Delete.
* config/rs6000/rs6000.c (word_offset_memref_operand): Delete.
(indexed_or_indirect_operand): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97437
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sat, 2 Apr 2005 10:15:27 +0000 (10:15 +0000)]
* config/rs6000/t-darwin8: Comment out ppc64 multilib.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97436
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sat, 2 Apr 2005 09:58:36 +0000 (09:58 +0000)]
PR 20650
* config/rs6000/rs6000.md (fix_truncdfsi2): Make destination
a register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97435
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sat, 2 Apr 2005 09:48:31 +0000 (09:48 +0000)]
* config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Add -pipe.
* config/t-darwin (TARGET_LIBGCC2_CFLAGS): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97434
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 2 Apr 2005 02:29:49 +0000 (02:29 +0000)]
* gcc/config/vax/vax.md: Spellcheck, fix whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97430
138bc75d-0d04-0410-961f-
82ee72b054a4
fitzsim [Sat, 2 Apr 2005 02:26:51 +0000 (02:26 +0000)]
2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
* gcj.texi (Invoking gij): Add descriptions of new -X options.
Mention recognized-and-ignored compatibility options.
(Memory allocation): Add descriptions of JvMalloc, JvRealloc and
JvFree.
(About CNI): Add Memory allocation section.
2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/20090, PR libgcj/20526
* gij.cc (nonstandard_opts_help): New function.
(add_option): New function.
(main): Support java options. Set java.class.path. Don't set
_Jv_Jar_Class_Path.
* prims.cc (parse_x_arg): New function.
(parse_init_args): Call parse_x_arg for -X and _ options, when
ignoreUnrecognized is true.
(new _Jv_RunMain): New vm_args variant.
(old _Jv_RunMain): Call new vm_args _Jv_RunMain.
(_Jv_Jar_Class_Path): Remove variable.
* include/java-props.h: Likewise.
* include/cni.h (JvRealloc): New function.
* include/jvm.h (_Jv_RunMain): Declare vm_args variant.
* java/lang/natRuntime.cc (insertSystemProperties): Remove
_Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
macros.
* configure.ac (JV_VERSION): Define.
(JV_API_VERSION): Likewise.
* configure: Regenerate.
* include/config.h.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97429
138bc75d-0d04-0410-961f-
82ee72b054a4
dgregor [Sat, 2 Apr 2005 02:02:29 +0000 (02:02 +0000)]
2005-04-01 Douglas Gregor <doug.gregor@gmail.com>
* include/tr1/functional (_Maybe_wrap_member_pointer): Wrap up
member pointers in _Mem_fn but let other function objects pass
through unchanged.
* include/tr1/functional_iterator (bind): Reduce number of bind()
overloads to two to eliminate ambiguities. Use
_Maybe_wrap_member_pointer to handle member pointers gracefully.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97428
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 2 Apr 2005 01:18:45 +0000 (01:18 +0000)]
2005-04-01 Mark Anderson <mark@panonet.net>
* java/lang/natDouble.cc (parseDouble): Handle NaN, Infinity and
-Infinity as parameters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97424
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 2 Apr 2005 00:16:38 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97422
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 1 Apr 2005 20:20:22 +0000 (20:20 +0000)]
* testsuite/Makefile.am (noinst_PROGRAMS): Remove.
(site.exp): Write out the path to the baseline file.
(check-abi): Use DejaGNU.
(check-abi-verbose): Remove.
* testsuite/Makefile.in: Regenerated.
* testsuite/abi_check.cc (main): Check the return value from
compare_symbols.
* testsuite/testsuite_abi.cc (compare_symbols): Return a value.
* testsuite/testsuite_abi.h (compare_symbols): Adjust prototype.
* testsuite/libstdc++-abi/abi.exp: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97417
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Fri, 1 Apr 2005 20:04:21 +0000 (20:04 +0000)]
2005-04-01 Michael Koch <konqueror@gmx.de>
* java/io/PipedInputStream.java
(read): Make sure a positive byte value is returned. Revised javadoc.
Thanks to Olafur Bragason for reporting these bugs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97416
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 1 Apr 2005 19:19:13 +0000 (19:19 +0000)]
* java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
Updated for name change.
(nativeFindClass): New method.
(loadClass): Use nativeFindClass.
* java/lang/natClassLoader.cc (_Jv_FindClass): Use single-argument
form of loadClass.
* java/lang/VMClassLoader.java (tried_libraries, lib_control,
LIB_FULL, LIB_CACHE, LIB_NEVER): New fields from old
VMClassLoader.
(initialize): New method.
(nativeFindClass): Declare.
* gnu/gcj/runtime/natVMClassLoader.cc: Removed.
* gnu/gcj/runtime/VMClassLoader.java: Removed.
* gnu/gcj/runtime/ExtensionClassLoader.java: Renamed from
VMClassLoader.java.
(definePackageForNative): Removed.
(tried_libraries, LIB_CACHE, LIB_FULL, LIB_NEVER, lib_control):
Moved to VMClassLoader.java.
* prims.cc (_Jv_CreateJavaVM): Updated for renaming.
* Makefile.am (gnu/gcj/runtime/ExtensionClassLoader.h): Renamed.
(ordinary_java_source_files): Added ExtensionClassLoader.java,
removed VMClassLoader.java.
(nat_source_files): Removed natVMClassLoader.cc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97414
138bc75d-0d04-0410-961f-
82ee72b054a4