summaryrefslogtreecommitdiff
path: root/gcc/config
Commit message (Collapse)AuthorAgeFilesLines
* * c-semantics.c, cfghooks.c, diagnostic.h, loop-iv.c,kazu2005-03-081-1/+1
| | | | | | | | | loop-unswitch.c, modulo-sched.c, stor-layout.c, tree-gimple.h, config/i386/cygwin1.c, doc/cfg.texi, doc/objc.texi: Update copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96100 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/alpha.c (code_for_builtin): Replace special-caserth2005-03-082-90/+548
| | | | | | | | | | | | | | | | | | | | | | | | | builtin codes with ctzdi2, clzdi2, popcountdi2. (struct alpha_builtin_def): Add is_const. (zero_arg_builtins, one_arg_builtins, two_arg_builtins): Init it. (alpha_v8qi_u, alpha_v8qi_s, alpha_v4hi_u, alpha_v4hi_s): New. (alpha_init_builtins): Init them. Set nothrow and const attributes on builtins. (alpha_fold_builtin_cmpbge, alpha_fold_builtin_zapnot, alpha_fold_builtin_extxx, alpha_fold_builtin_insxx, alpha_fold_builtin_mskxx, alpha_fold_builtin_umulh, alpha_fold_vector_minmax, alpha_fold_builtin_perr, alpha_fold_builtin_pklb, alpha_fold_builtin_pkwb, alpha_fold_builtin_unpkbl, alpha_fold_builtin_unpkbw, alpha_fold_builtin_cttz, alpha_fold_builtin_ctlz, alpha_fold_builtin_ctpop, alpha_fold_builtin): New. (TARGET_FOLD_BUILTIN): New. * config/alpha/alpha.md (UNSPEC_CTTZ): Remove. (UNSPEC_CTLZ, UNSPEC_CTPOP): Remove. (ffsdi2): Use ctz. (cttz, builtin_cttz, builtin_ctlz, builtin_ctpop): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96098 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000-protos.h: Rename output_e500_flip_eq_bit toaldyh2005-03-084-27/+30
| | | | | | | | | | | | | | | | | | | | | | | output_e500_flip_gt_bit. * config/rs6000/rs6000.c (print_operand): case D: Print out bit 31 as bit 31. (rs6000_generate_compare): Fix logic to look at the correct bits. (output_e500_flip_eq_bit): Rename to output_e500_flip_gt_bit. Look at GT bit. (rs6000_emit_sCOND): Rename gen_e500_flip_eq_bit to gen_e500_flip_gt_bit. Rename gen_move_from_CR_eq_bit to gen_move_from_CR_gt_bit. * config/rs6000/rs6000.md ("move_from_CR_eq_bit"): Change bit ("move_from_CR_eq_bit"): Rename to move_from_CR_gt_bit. (UNSPEC_MV_CR_EQ): Rename to UNSPEC_MV_CR_GT. * config/rs6000/spe.md ("e500_cr_ior_compare"): New. (E500_CR_IOR_COMPARE): New constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96063 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-08 Earl Chew <earl_chew@agilent.com>billingd2005-03-072-0/+85
| | | | | | | | | | | | David Billinghurst <David.Billinghurst@riotinto.com> * config/i386/host-cygwin.c: New file to support precompiled headers on cygwin * config/i386/x-cygwin: Use host-cygwin.c on cygwin host * config.host: Use above files for cygwin host. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96050 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-07 David Billinghurst <David.Billinghurst@riotinto.com>billingd2005-03-071-4/+4
| | | | | | | * config/i386/cygwin1.c(mingw_scan): Use xstrdup in calls to putenv. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96006 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/hpux.h (LINK_SPEC): Add -z.jsm282005-03-072-1/+5
| | | | | | | | * config/ia64/ia64.c (ia64_function_value): Return a REG not a PARALLEL for an empty structure. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96004 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/predicates.md (branch_comparison_operator): Removedje2005-03-071-13/+11
| | | | | | | | | | | | redundant match_code test. (scc_comparison_operator): Swap match_operand and match_code tests. (branch_positive_comparison_operator): Same. (trap_comparison_operator): Use comparison_operator and swap with match_code test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96000 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/20288marekm2005-03-062-24/+84
| | | | | | | | | * config/avr/avr.c (print_operand): Add 'p' and 'r'. (out_movhi_r_mr): Read low byte of volatile MEM first. (out_movhi_mr_r): Write high byte of volatile MEM first. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95993 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/invoke.texi: Document new MIPS -msym32 and -mno-sym32 options.rsandifo2005-03-051-1/+8
| | | | | | | | | | * config/mips/mips.h (MASK_SYM32, TARGET_SYM32): New macros. (TARGET_SWITCHES): Add -msym32 and -mno-sym32. (ABI_HAS_64BIT_SYMBOLS): Set to false if TARGET_SYM32. (ASM_SPEC): Pass down -msym32 and -mno-sym32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95926 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/19797danglin2005-03-056-26/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | * elf.h, pa64-hpux.h, som.h (ASM_OUTPUT_EXTERNAL_REAL): Define. (ASM_OUTPUT_EXTERNAL): Call pa_hpux_asm_output_external. * pa-protos.h (pa_hpux_asm_output_external): Add prototype. * pa.c (get_plabel): Change argument to symbol_ref. Call maybe_get_identifier instead of get_identifier. (pa_hpux_asm_output_external, pa_hpux_file_end): New functions. (struct deferred_plabel): Replace name field with symbol field. (TARGET_ASM_FILE_END): Define as pa_hpux_file_end if ASM_OUTPUT_EXTERNAL_REAL is defined. (output_global_address): Use output_addr_const for output of all symbol_refs. (output_deferred_plabels): Use symbol_ref instead of name for address output. * pa.h (SYMBOL_FLAG_REFERENCED, SYMBOL_REF_REFERENCED_P, ASM_OUTPUT_SYMBOL_REF): New macros. * som.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use assemble_name_raw. Update comment. (ASM_WEAKEN_LABEL): Use targetm.asm_out.globalize_label to globalize label. * g++.dg/abi/vague1.C: Remove xfail hppa*-*-hpux*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95921 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (option_map): Add --coverage.bje2005-03-041-1/+1
| | | | | | | | | | (LINK_COMMAND_SPEC): Pass -lgcov for `coverage'. (cc1_options): Pass -fprofile-arcs -ftest-coverage for `coverage'. * config/darwin.h: Pass -lgcov for `coverage'. * doc/invoke.texi (Debugging Options): Document --coverage. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95878 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/predicates.md (branch_comparison_operator):dje2005-03-041-17/+8
| | | | | | | Convert from C block to conditional format. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95864 138bc75d-0d04-0410-961f-82ee72b054a4
* Describe special registers SRP and MOF as allocatable registers.hp2005-03-033-83/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/cris/cris.c (cris_md_asm_clobbers): New function. (TARGET_MD_ASM_CLOBBERS): Define to cris_md_asm_clobbers. (cris_conditional_register_usage): Enable CRIS_MOF_REGNUM if TARGET_HAS_MUL_INSNS. (cris_print_operand) <case 'd'>: New case. <case REG>: Allow CRIS_MOF_REGNUM and CRIS_SRP_REGNUM. * config/cris/cris.h (CRIS_PC_REGNUM, CRIS_SRP_REGNUM): Don't define. (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS) (REG_ALLOC_ORDER): Update for MOF. (enum reg_class): New members MOF_REGS, GENERAL_REGS and SPECIAL_REGS. (GENERAL_REGS): No longer a define of ALL_REGS. (REGNO_REG_CLASS, REG_CLASS_CONTENTS, REG_CLASS_NAMES) (PREFERRED_RELOAD_CLASS, REGISTER_NAMES, DBX_REGISTER_NUMBER): Adjust accordingly. (CRIS_SPECIAL_REGS_CONTENTS): New macro. (REG_CLASS_FROM_LETTER): Allocate 'h' and 'x'. (SECONDARY_RELOAD_CLASS): Define. (STACK_POINTER_REGNUM): Define as CRIS_SP_REGNUM. (FRAME_POINTER_REGNUM): Define as CRIS_FP_REGNUM. (ARG_POINTER_REGNUM): Define as CRIS_AP_REGNUM. (STATIC_CHAIN_REGNUM): Define as CRIS_STATIC_CHAIN_REGNUM. (REGISTER_MOVE_COST): Define. (PIC_OFFSET_TABLE_REGNUM): Define in terms of CRIS_GOT_REGNUM. * config/cris/cris.md (CRIS_GOT_REGNUM, CRIS_STATIC_CHAIN_REGNUM) (CRIS_FP_REGNUM, CRIS_SP_REGNUM, CRIS_SRP_REGNUM, CRIS_AP_REGNUM) (CRIS_MOF_REGNUM): New define_constants. ("*movsi_internal", "movhi", "movqi", "movsf"): Add alternatives for special registers. ("reload_inhi", "reload_outhi", "reload_inqi", ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3") ("mulsidi3", "umulsidi3", "smulsi3_highpart", "umulsi3_highpart"): Adjust for MOF being properly described as a register. (indir_to_reg_split): Name this split. Conditionalize on the destination register being a general register. (movei): Conditionalize on on operands 0 and 1 having the same register class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95823 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/20277amodra2005-03-031-3/+2
| | | | | | | | * config/rs6000/rs6000.c (rs6000_override_options): Don't allow -mcpu to override any other explicitly given flags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95820 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/darwin8.h (LIB_SPEC): Switch -lmx and -lSystem.geoffk2005-03-021-4/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95805 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/20276dje2005-03-021-2/+2
| | | | | | | | * config/rs6000/predicates.md (reg_or_cint64_operand): Fix typo. (reg_or_sub_cint64_operand): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95789 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/cris/cris.md ("return"): Remove epilogue delay listhp2005-03-021-5/+0
| | | | | | | sanity check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95786 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/linux-elf.h (ARM_FUNCTION_PROFILER): Do not use (PLT)drow2005-03-022-4/+7
| | | | | | | | for Thumb. * config/arm/netbsd-elf.h (ARM_FUNCTION_PROFILER): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95785 138bc75d-0d04-0410-961f-82ee72b054a4
* * cfgloop.h, cfgloopanal.c, cfgloopmanip.c, conflict.c,kazu2005-03-023-3/+3
| | | | | | | | | | loop-init.c, loop-unroll.c, print-tree.c, reg-notes.def, config/m68k/m68k.c, config/mips/mips.h, config/rs6000/rs6000-protos.h, doc/contrib.texi, doc/include/gcc-common.texi: Update copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95781 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.md (cceq splitter): Use operand mode, notdje2005-03-012-5/+7
| | | | | | | | | | | CCEQ mode for branch_positive_comparison_operator test. * config/rs6000/predicates (branch_comparison_operator): Revert to define_predicate. (scc_comparison_operator): Same. (branch_positive_comparison_operator): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95755 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/cris/cris.c (cris_eligible_for_epilogue_delay)hp2005-03-013-141/+39
| | | | | | | | | | | | | | (cris_delay_slots_for_epilogue): Remove. (save_last): Move into cris_target_asm_function_epilogue. (cris_target_asm_function_epilogue): Remove tests for file being NULL. * config/cris/cris-protos.h (cris_eligible_for_epilogue_delay) (cris_delay_slots_for_epilogue): Remove prototypes. * config/cris/cris.h (DELAY_SLOTS_FOR_EPILOGUE) (ELIGIBLE_FOR_EPILOGUE_DELAY): Do not define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95754 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/predicates.md (branch_comparison_operator): Changedje2005-03-011-3/+3
| | | | | | | | | to define_special_predicate. (scc_comparison_operator): Same. (branch_positive_comparison_operator): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95752 138bc75d-0d04-0410-961f-82ee72b054a4
* (thumb_find_work_register): Check all of the argument registers to see if theynickc2005-03-011-148/+212
| | | | | | | | | | | | | | | | | | | are free, and a couple of special cases where the last argument register but can be proved to be available during the function's prologue. (print_multi_reg, arm_compute_save_reg0_reg12_mask, output_return_instruction, emit_multi_reg_push, thumb_pushpop, thumb_unexpanded_epilogue): Use unsigned long as the type for the register bit-mask. (thumb_compute_save_reg_mask): Likewise. Also use thumb_find_work_register() to ensure that there is agreement about which work register is going to be used in the prologue. (thumb_output_function_prologue): Use unsigned long as the type for the register bit-mask. Also delay pushing the link register if other high registers are going to be pushed. (thumb_compute_save_reg_mask, emit_multi_reg_push, print_multi-reg, number_of_first_bit_set, thumb_pushpop): Remove redundant prototypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95736 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/19819danglin2005-03-011-1/+6
| | | | | | | | | * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow allow hard registers during and after reload in REG+REG indexed addresses without REG_POINTER set in the base and not set in the index. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95729 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):kkojima2005-03-011-62/+10
| | | | | | | | | | | | | | Don't undefine here. (HANDLE_PRAGMA_PACK_PUSH_POP): Delete. (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC): Likewise. (TARGET_OS_CPP_BUILTINS): Use LINUX_TARGET_OS_CPP_BUILTINS. (LIB_SPEC, LINK_EH_SPEC, STARTFILE_SPEC, ENDFILE_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED, TARGET_C99_FUNCTIONS): Delete. * config.gcc (sh*-*-linux*): Use config/linux.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95726 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-28 Dale Johannesen <dalej@apple.com>shebs2005-03-012-294/+312
| | | | | | | | | | | | | | | | | | | | | | | | Stan Shebs <shebs@apple.com> Rewrite of 64-bit Darwin structure-by-value pass/return. * config/rs6000/rs6000.h (CUMULATIVE_ARGS): New fields intoffset, use_stack, named. * config/rs6000/rs6000.c (rs6000_darwin64_function_arg): Remove. (rs6000_darwin64_record_arg_advance_flush): New. (rs6000_darwin64_record_arg_advance_recurse): New. (rs6000_darwin64_record_arg_flush): New. (rs6000_darwin64_record_arg_recurse): New. (rs6000_darwin64_record_arg): New. (rs6000_return_in_memory): Remove AGGREGATE_TYPE_P check. (function_arg_boundary): Handle 128-bit aligned structs. (function_arg_advance): Rewrite darwin64 struct handling. (function_arg): Call rs6000_darwin64_record_arg. (function_arg_partial_nregs): Handle darwin64 structs. (rs6000_darwin64_function_value): Remove. (rs6000_function_value): Call rs6000_darwin64_record_arg. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95723 138bc75d-0d04-0410-961f-82ee72b054a4
* Don't emit the unused counter word and label when profiling.wilson2005-03-011-0/+5
| | | | | | | * config/mips/mips.h (NO_PROFILE_COUNTERS): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95716 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.c (EASY_VECTOR_15): Remove.dje2005-02-285-1626/+1239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (EASY_VECTOR_15_ADD_SELF): Remove. (num_insns_constant_wide): Not static. (validate_condition_mode): Not static. (toc_relative_expr_p): Not static. (legitimate_indirect_address_p): Not static. (macho_lo_sum_memory_operand): Not static. (invalid_e500_subreg): Not static. (easy_vector_same): Not static. (easy_vector_splat_const): Not static. (RS6000_SYMBOL_REF_TLS_P): Remove. (any_operand): Delete. (any_parallel_operand): Delete. (count_register_operand): Delete. (altivec_register_operand): Delete. (xer_operand): Delete. (s8bit_cint_operand): Delete. (short_cint_operand): Delete. (u_short_cint_operand): Delete. (non_short_cint_operand): Delete. (exact_log2_cint_operand): Delete. (gpc_reg_operand): Delete. (cc_reg_operand): Delete. (cc_reg_not_cr0_operand): Delete. (reg_or_short_operand): Delete. (reg_or_neg_short_operand): Delete. (reg_or_aligned_short_operand): Delete. (reg_or_u_short_operand): Delete. (reg_or_cint_operand): Delete. (reg_or_arith_cint_operand): Delete. (reg_or_add_cint64_operand): Delete. (reg_or_sub_cint64_operand): Delete. (reg_or_logical_cint_operand): Delete. (got_operand): Delete. (got_no_const_operand): Delete. (easy_fp_constant): Delete. (easy_vector_constant): Delete. (easy_vector_constant_add_self): Delete. (zero_constant): Delete. (zero_fp_constant): Delete. (volatile_mem_operand): Delete. (offsettable_mem_operand): Delete. (mem_or_easy_const_operand): Delete. (add_operand): Delete. (non_add_cint_operand): Delete. (logical_operand): Delete. (non_logical_cint_operand): Delete. (mask_operand): Delete. (mask_operand_wrap): Delete. (mask64_operand): Delete. (mask64_2_operand): Delete. (and64_operand): Delete. (and64_2_operand): Delete. (and_operand): Delete. (reg_or_mem_operand): Delete. (lwa_operand): Delete. (symbol_ref_operand): Delete. (call_operand): Delete. (current_file_function_operand): Delete. (input_operand): Delete. (rs6000_nonimmediate_operand): Delete. (rs6000_tls_symbol_ref): Delete. (save_world_operation): Delete. (restore_world_operation): Delete. (load_multiple_operation): Delete. (store_multiple_operation): Delete. (vrsave_operation): Delete. (mfcr_operation): Delete. (mtcrf_operation): Delete. (lmw_operation): Delete. (stmw_operation): Delete. (branch_comparison_operator): Delete. (branch_positive_comparison_operator): Delete. (scc_comparison_operator): Delete. (trap_comparison_operator): Delete. (boolean_operator): Delete. (boolean_or_operator): Delete. (min_max_operator): Delete. * config/rs6000/rs6000.h (RS6000_SYMBOL_REF_TLS_P): Move to here. (EASY_VECTOR_15): Moved to here. (EASY_VECTOR_15_ADD_SELF): Move to here. (PREDICATE_CODES): Delete. * config/rs6000/rs6000-protos.h: Delete predicate functions. Declare functions no longer static. * config/rs6000/predicates.md: New. * config/rs6000/rs6000.md: Include predicates.md git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95692 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/elfos.h: Revert my patch from 2005-02-25 since it brokejules2005-02-281-9/+1
| | | | | | | building libjava and caused PR regression/20228. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95684 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/t-osf4, config/arm/t-netbsd, config/ia64/t-hpuxzack2005-02-284-5/+12
| | | | | | | | * config/pa/t-hpux-shlib (SHLIB_INSTALL): Create the installation directory first. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95656 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/19065.hp2005-02-282-75/+76
| | | | | | | | | | | | | | | | | | | * config/cris/cris.h (EXTRA_CONSTRAINT_Q): Accept only (mem (reg)), not including (reg). Do not check for reg being CRIS_PC_REGNUM. (EXTRA_MEMORY_CONSTRAINT): Define as 'Q'. * config/cris/cris.md: Tweak comments referring to Q. ("cmpsi", "cmphi", "cmpqi", "*movsi_internal", "movhi") ("movstricthi", "movqi", "movstrictqi", "movsf", "addsi3") ("addhi3", "addqi3", "subsi3", "subhi3", "subqi3") ("*expanded_andsi", "*expanded_andhi", "*andhi_lowpart", "andqi3") ("*andqi_lowpart", "iorsi3", "iorhi3", "iorqi3", "uminsi3"): Insert spaces in constraints to align alternatives vertically for readability. ("cmphi"): Ditto. Add separate alternative for operand 0 "Q>", operand 1: "M". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95647 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/17728danglin2005-02-271-5/+5
| | | | | | | | * pa.md (mulsi3, divsi3, udivsi3, modsi3): Change predicate for operand 0 from general_operand to move_dest_operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95616 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa/elf.h, pa/som.h (ASM_OUTPUT_EXTERNAL): Use assemble_name_rawdanglin2005-02-273-52/+61
| | | | | | | | | instead of trying to save and restore TREE_SYMBOL_REFERENCED. * pa/pa64-hpux.h (ASM_OUTPUT_TYPE_DIRECTIVE): Define. (ASM_OUTPUT_EXTERNAL): Don't save and restore TREE_SYMBOL_REFERENCED. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95605 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAKjules2005-02-251-1/+9
| | | | | | | | from being used for symbols with vague linkage when HAVE_GAS_COMDAT_GROUP is true. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95553 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/19930sje2005-02-253-6/+15
| | | | | | | | | | | | | | | | | | | | | * doc/tm.texi (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Document. (LIBGCC2_HAS_DF_MODE): New. (LIBGCC2_HAS_XF_MODE): New. (LIBGCC2_HAS_TF_MODE): New. * libgcc2.h (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE. (LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE. * libgcc2.c (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE. (LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE. (LIBGCC2_HAS_DF_MODE): New name for HAVE_DFMODE. * config/ia64/t-ia64 (LIB1ASMFUNCS): Remove __compat and add _fixtfdi, _fixunstfdi, _floatditf * lib1funcs.asm: Remove L__compat. Add L_fixtfdi, L_fixunstfdi, L_floatditf. * config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE): Define. (LIBGCC2_HAS_TF_MODE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95548 138bc75d-0d04-0410-961f-82ee72b054a4
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check forfjahanian2005-02-251-0/+1
| | | | | | | | vector types if to use base reg for misaligned non-word ld/std. OKed by David Edelsohn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95529 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/14619hp2005-02-241-2/+10
| | | | | | | | * config/cris/cris.c (cris_target_asm_function_prologue): Create dwarf2 label manually and put it after, not before the prologue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95521 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.dje2005-02-241-3/+3
| | | | | | | Fix formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95520 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/19019jakub2005-02-241-1/+1
| | | | | | | | | * mklibgcc.in: Pass -DSHARED when compiling all *_s${objext} objects. * config/rs6000/darwin-ldouble.c: Only use the .symver directives if SHARED is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95515 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/20196jakub2005-02-241-8/+8
| | | | | | | | | | * config/rs6000/rs6000.md (LTU, GTU sCC splitters): Add earlyclobber, allow splitting only if operands 0 and 3 don't overlap. * gcc.c-torture/execute/20050224-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95513 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")hp2005-02-241-7/+7
| | | | | | | | ("mulqihi3", "mulhisi3", "mulsidi3", "umulsidi3"): Mark input operands as commutative in constraints. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95505 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/m68k/m68k.c (m68k_save_reg): Also save A5 for non-leafbernie2005-02-241-3/+7
| | | | | | | functions when -mid-shared-library is being used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95487 138bc75d-0d04-0410-961f-82ee72b054a4
* * t-aix43 (SHLIB_INSTALL): Create directory for shared library.dje2005-02-232-2/+6
| | | | | | | * t-aix52 (SHLIB_INSTALL): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95460 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/20159ebotcazou2005-02-231-2/+2
| | | | | | | * config/sparc/t-elf (startup files): Assemble with CPP. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95450 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/aix.h (WINT_TYPE): Define.dje2005-02-231-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95421 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.c (rs6000_override_options): Default toshebs2005-02-221-1/+12
| | | | | | | | | | natural alignment for 64-bit Darwin. (rs6000_parse_alignment_option): Warn about uses of -malign-power on 64-bit Darwin. * doc/invoke.texi: Document this. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95420 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.scox2005-02-211-6/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95348 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-objc-common.h, c-pretty-print.c, cgraphunit.c, except.c,kazu2005-02-211-1/+1
| | | | | | | | genautomata.c, langhooks.c, langhooks.h, system.h, config/arm/lib1funcs.asm: Update copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95331 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa.c (pa_assemble_integer, get_plabel): Small cleanups.danglin2005-02-202-93/+87
| | | | | | | | (pa_asm_output_mi_thunk): Use asm_output_insn instead of fprintf. * som.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Small cleanup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95306 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 18785zack2005-02-202-95/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libcpp: * charset.c (LAST_POSSIBLY_BASIC_SOURCE_CHAR): New helper macro. (cpp_host_to_exec_charset): New function. * include/cpplib.h: Declare cpp_host_to_exec_charset. gcc: * langhooks.h (struct lang_hooks): Add to_target_charset. * langhooks.c (lhd_to_target_charset): New function. * langhooks-def.h: Declare lhd_to_target_charset. (LANG_HOOKS_TO_TARGET_CHARSET): New macro. (LANG_HOOKS_INITIALIZER): Update. * c-common.c (c_common_to_target_charset): New function. * c-common.h: Declare it. * c-objc-common.h (LANG_HOOKS_TO_TARGET_CHARSET): Set to c_common_to_target_charset. * defaults.c (TARGET_BELL, TARGET_BS, TARGET_CR, TARGET_DIGIT0) (TARGET_ESC, TARGET_FF, TARGET_NEWLINE, TARGET_TAB, TARGET_VT): Delete definitions. * system.h: Poison them. * doc/tm.texi: Don't discuss them. * builtins.c (fold_builtin_isdigit): Use lang_hooks.to_target_charset. * c-pretty-print.c (pp_c_integer_constant): Don't use pp_c_char. (pp_c_char): Do not attempt to generate letter escapes for newline, tab, etc. * config/arm/arm.c (output_ascii_pseudo_op): Likewise. * config/mips/mips.c (mips_output_ascii): Likewise. gcc/cp: * cp-objcp-common.h (LANG_HOOKS_TO_TARGET_CHARSET): Set to c_common_to_target_charset. Delete bogus comment. gcc/testsuite: * gcc.dg/charset/builtin1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95304 138bc75d-0d04-0410-961f-82ee72b054a4