aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m68k
AgeCommit message (Collapse)AuthorFilesLines
2005-06-01system.h (TARGET_OPTIONS, [...]): Poison.Richard Sandiford1-2/+2
* system.h (TARGET_OPTIONS, TARGET_SWITCHES): Poison. * opts.h (print_filtered_help): Delete. * opts.c (handle_option, decode_options): Remove calls to set_target_switch. (print_target_help): New function. (common_option, print_help): Call print_target_help instead of display_target_options. (print_filtered_help): Make static. * toplev.h (display_target_options, set_target_switch): Delete. * toplev.c (target_switches, target_options, display_target_options) (set_target_switch): Delete. (print_switch_values): Remove handling of TARGET_SWITCHES and TARGET_OPTIONS. (default_get_pch_validity): Likewise. Only treat target_flags specially if targetm.check_pch_target_flags is nonnull. (pch_option_mismatch): New function. (default_pch_valid_p): Use it. Remove handling of TARGET_SWITCHES and TARGET_OPTIONS. Only treat target_flags specially if targetm.check_pch_target_flags is nonnull. * config/ia64/ia64.c (ia64_override_options): Don't mention TARGET_OPTIONS in comment. * config/m68k/m68k-none.h (CC1_SPEC): Likewise. * doc/invoke.texi: Remove a reference to TARGET_SWITCHES. * doc/tm.texi (TARGET_DEFAULT_TARGET_FLAGS): Don't mention the interaction with TARGET_SWITCHES. (TARGET_@var{featurename}, TARGET_SWITCHES, TARGET_OPTIONS): Delete. From-SVN: r100432
2005-05-25common.opt (-Wattributes): New.DJ Delorie1-1/+1
* common.opt (-Wattributes): New. Default true. * doc/invoke.texi (-Wno-attributes): Document. * attribs.c (decl_attributes): Move warning control from if() to warning(OPT_*). * c-common.c (handle_packed_attribute): Likewise. (handle_nocommon_attribute): Likewise. (handle_common_attribute): Likewise. (handle_noreturn_attribute): Likewise. (handle_noinline_attribute): Likewise. (handle_always_inline_attribute): Likewise. (handle_used_attribute): Likewise. (handle_unused_attribute): Likewise. (handle_const_attribute): Likewise. (handle_transparent_union_attribute): Likewise. (handle_constructor_attribute): Likewise. (handle_destructor_attribute): Likewise. (handle_mode_attribute): Likewise. (handle_alias_attribute): Likewise. (handle_visibility_attribute): Likewise. (handle_tls_model_attribute): Likewise. (handle_malloc_attribute): Likewise. (handle_returns_twice_attribute): Likewise. (handle_pure_attribute): Likewise. (handle_deprecated_attribute): Likewise. (handle_vector_size_attribute): Likewise. (handle_nothrow_attribute): Likewise. (handle_cleanup_attribute): Likewise. (handle_warn_unused_result_attribute): Likewise. (handle_sentinel_attribute): Likewise. * c-decl.c (diagnose_mismatched_decls): Likewise. (start_decl): Likewise. (grokdeclarator): Likewise. (start_function): Likewise. * c-format.c (check_function_format): Likewise. * stor-layout.c (place_field): Likewise. (finalize_record_size): Likewise. * tree.c (handle_dll_attribute)): Likewise. * varasm.c (default_assemble_visibility): Likewise. * config/darwin.c (darwin_handle_weak_import_attribute): Likewise. (darwin_assemble_visibility): Likewise. * config/arc/arc.c (arc_handle_interrupt_attribute): Likewise. * config/arm/arm.c (arm_handle_fndecl_attribute): Likewise. (arm_handle_isr_attribute): Likewise. * config/avr/avr.c (avr_handle_progmem_attribute): Likewise. (avr_handle_fndecl_attribute): Likewise. * config/bfin/bfin.c (handle_int_attribute): Likewise. * config/c4x/c4x.c (c4x_handle_fntype_attribute): Likewise. * config/h8300/h8300.c (h8300_handle_fndecl_attribute): Likewise. (h8300_handle_eightbit_data_attribute): Likewise. (h8300_handle_tiny_data_attribute): Likewise. * config/i386/i386.c (ix86_handle_cdecl_attribute): Likewise. (ix86_handle_regparm_attribute): Likewise. (ix86_handle_struct_attribute): Likewise. * config/i386/winnt.c (ix86_handle_shared_attribute): Likewise. (i386_pe_encode_section_info): Likewise. * config/ia64/ia64.c (ia64_handle_model_attribute): Likewise. * config/ip2k/ip2k.c (ip2k_handle_progmem_attribute): Likewise. (ip2k_handle_fndecl_attribute): Likewise. * config/m32r/m32r.c (m32r_handle_model_attribute): Likewise. * config/m68hc11/m68hc11 (m68hc11_handle_page0_attribute): Likewise. (m68hc11_handle_fntype_attribute): Likewise. (m68hc11_encode_section_info): Likewise. * config/m68k/m68k.c (m68k_handle_fndecl_attribute): Likewise. * config/mcore/mcore.c (mcore_handle_naked_attribute): Likewise. * config/ns32k/ns32k.c (ns32k_handle_fntype_attribute): Likewise. * config/rs6000/rs6000.c (rs6000_handle_longcall_attribute): Likewise. * config/sh/sh.c (sh_handle_interrupt_handler_attribute): Likewise. (sh_handle_sp_switch_attribute): Likewise. (sh_handle_trap_exit_attribute): Likewise. * config/sh/symbian.c (sh_symbian_dllimport_p): Likewise. (sh_symbian_handle_dll_attribute): Likewise. * config/stormy16/stormy16.c (xstormy16_handle_interrupt_attribute): Likewise. (xstormy16_handle_below100_attribute): Likewise. * config/v850/v850.c (v850_handle_interrupt_attribute): Likewise. [testsuite] * gcc.dg/Wattributes-1.c: New. * gcc.dg/Wattributes-2.c: New. * gcc.dg/Wattributes-3.c: New. [cp] * decl.c (duplicate_decls): Move warning control from if() to warning(OPT_*). * name-lookup.c (parse_using_directive): Likewise. * parser.c (cp_parser_elaborated_type_specifier): Likewise. (cp_parser_init_declarator): Likewise. * tree.c (handle_com_interface_attribute): Likewise. [java] * class.c (set_constant_value): Move warning control from if() to warning(OPT_*). From-SVN: r100136
2005-04-29m68k.c (m68k_initial_elimination_offset): Use gcc_assert and gcc_unreachable ↵Nathan Sidwell3-134/+87
as appropriate. * config/m68k/m68k.c (m68k_initial_elimination_offset): Use gcc_assert and gcc_unreachable as appropriate. (output_dbcc_and_branch, output_scc_di, legitimize_pic_address, const_int_cost, output_move_const_into_data_reg, output_move_qimode, output_move_double, find_addr_reg, print_operand, print_operand_address): Likewise. * config/m68k/m68k.md (adddi3, subdi3, negsf2, negdf2, abssf2, absdf2, sordered, sunordered, suneq, sunge, sungt, sunle, sunlt, sltgt, bordered, bunordered, buneq, bunge, bungt, bunle, bunlt, bltgt, *bordered_rev, *bunordered_rev, *buneq_rev, *bunge_rev, *bunle_rev, *bunlt_rev, *bltgt_rev, negxf2, absxf2, conditional_trap): Likewise. * config/m68k/m68kelf.h (ASM_OUTPUT_ALIGN): Remove unreachable code. From-SVN: r98981
2005-04-28attribs.c, [...]: Update copyright.Kazu Hirata3-3/+3
* attribs.c, c-pragma.c, caller-save.c, cfghooks.h, coverage.c, cselib.h, domwalk.c, domwalk.h, errors.c, errors.h, gcov-dump.c, gcov-io.c, gcov-io.h, gen-protos.c, genattrtab.h, genextract.c, gthr-win32.h, insn-notes.def, integrate.c, lambda-mat.c, lambda.h, libgcov.c, local-alloc.c, machmode.def, mips-tfile.c, params.c, pretty-print.c, print-rtl.c, protoize.c, regmove.c, sched-vis.c, tree-chrec.h, tree-data-ref.h, vec.h, config/darwin-c.c, config/sol2-c.c, config/sol2.c, config/arm/arm-cores.def, config/arm/cirrus.md, config/arm/symbian.h, config/c4x/c4x.c, config/c4x/c4x.h, config/i386/cygming.h, config/i386/djgpp.h, config/i386/lynx.h, config/i386/netware.c, config/i386/winnt.c, config/ia64/ia64-c.c, config/iq2000/iq2000.c, config/m32r/little.h, config/m68k/m68k-protos.h, config/m68k/m68k.h, config/m68k/m68k.md, config/mcore/mcore.c, config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.md, config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c, config/mn10300/mn10300.h, config/ns32k/netbsd.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-hpux11.h, config/pdp11/pdp11.c, config/pdp11/pdp11.h, config/rs6000/darwin.h, config/rs6000/default64.h, config/rs6000/rs6000-c.c, config/s390/2064.md, config/s390/2084.md, config/s390/s390-modes.def, config/s390/s390-protos.h, config/s390/tpf.h, config/sh/sh.h, config/sh/symbian.c, config/stormy16/stormy16.c, config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h, config/xtensa/lib1funcs.asm, config/xtensa/xtensa.md: Update copyright. From-SVN: r98914
2005-04-23diagnostic.c (warning): Accept parameter to classify warning option.DJ Delorie1-2/+2
* diagnostic.c (warning): Accept parameter to classify warning option. (warning0): New, for when a pointer to an error() like function is needed. * errors.c (warning): Likewise. * errors.h (warning, warning0): Adjust prototypes. * toplev.h (warning, warning0): Likewise. * attribs.c, builtins.c, c-common.c, c-decl.c, c-format.c, c-gimplify.c, c-lex.c, c-objc-common.c, c-opts.c, c-parser.c, c-pragma.c, c-typeck.c, calls.c, cgraph.c, coverage.c, emit-rtl.c, fold-const.c, fortran/trans-decl.c, function.c, gcse.c, genautomata.c, haifa-sched.c, opts.c, passes.c, regclass.c, reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c, tree-dump.c, tree-inline.c, tree-mudflap.c, tree-optimize.c, tree-ssa.c, tree.c, varasm.c: Adjust warning() callers. * config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/bfin/bfin.c, config/c4x/c4x-c.c, config/c4x/c4x.c, config/cris/cris.c, config/darwin-c.c, config/darwin.c, config/darwin.h, config/h8300/h8300.c, config/i386/cygming.h, config/i386/djgpp.h, config/i386/i386.c, config/i386/winnt.c, config/ia64/ia64-c.c, config/ia64/ia64.c, config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.c, config/pa/pa-hpux11.h, config/pa/pa.c, config/rs6000/aix43.h, config/rs6000/aix51.h, config/rs6000/aix52.h, config/rs6000/darwin.h, config/rs6000/rs6000-c.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, config/sh/sh.h, config/sh/symbian.c, config/sol2-c.c, config/sol2.c, config/stormy16/stormy16.c, config/v850/v850-c.c, config/v850/v850.c, config/xtensa/xtensa.c: Adjust warning() callers. * ada/misc.c: Adjust warning() callers. * cp/call.c, cp/class.c, cp/cvt.c, cp/decl.c, cp/decl2.c, cp/except.c, cp/friend.c, cp/init.c, cp/lex.c, cp/mangle.c, cp/method.c, cp/name-lookup.c, cp/parser.c, cp/repo.c, cp/rtti.c, cp/tree.c, cp/typeck.c, cp/typeck2.c: Adjust warning() callers. * fortran/trans-decl.c: Adjust warning() callers. * java/class.c, java/decl.c, java/expr.c, java/jcf-io.c, java/jcf-parse.c, java/jv-scan.c, java/parse.y: Adjust warning() callers. * objc/objc-act.c: Adjust warning() callers. * treelang/parse.y: Adjust warning() callers. From-SVN: r98633
2005-04-12config.gcc (m68k-*-linux*): Add m68k/ieee.opt to $extra_options.Richard Sandiford5-252/+284
* config.gcc (m68k-*-linux*): Add m68k/ieee.opt to $extra_options. * config/m68k/m68k.h (target_flags, MASK_68020, TARGET_68020) (MASK_68030, TARGET_68030, MASK_68040, TARGET_68040, MASK_68040_ONLY) (TARGET_68040_ONLY, MASK_68060, TARGET_68060, MASK_5200, TARGET_5200) (MASK_CFV3, TARGET_CFV3, MASK_CFV4, TARGET_CFV4, MASK_528x) (TARGET_528x, MASK_CF_HWDIV, TARGET_CF_HWDIV, MASK_68881, TARGET_68881) (MASK_BITFIELD, TARGET_BITFIELD, MASK_SHORT, TARGET_SHORT) (MASK_ALIGN_INT, TARGET_ALIGN_INT, MASK_PCREL, TARGET_PCREL) (MASK_NO_STRICT_ALIGNMENT, TARGET_STRICT_ALIGNMENT, MASK_RTD) (TARGET_RTD, MASK_SEP_DATA, TARGET_SEP_DATA, MASK_ID_SHARED_LIBRARY) (TARGET_ID_SHARED_LIBRARY, MASK_ALL_CF_BITS, TARGET_SWITCHES) (TARGET_OPTIONS, SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Delete. (MASK_COLDFIRE): Formatting fixes. (TARGET_COLDFIRE): Turn into a boolean value for consistency. * config/m68k/linux.h (SUBTARGET_SWITCHES): Delete. * config/m68k/m68k.c (m68k_library_id_string): Initialize to "_current_shared_library_a5_offset_". (TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults. (MASK_ALL_CPU_BITS): New macro. (m68k_handle_option): New function. (override_options): Remove handling of m68k_library_id_string. * config/m68k/m68k.opt: New file. * config/m68k/ieee.opt: New file. From-SVN: r98017
2005-04-05m68k-protos.h: Add a prototype for valid_dbcc_comparison_p_2.Kazu Hirata5-183/+200
* 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. From-SVN: r97595
2005-03-02cfgloop.h, [...]: Update copyright.Kazu Hirata1-1/+1
* cfgloop.h, cfgloopanal.c, cfgloopmanip.c, conflict.c, 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. From-SVN: r95781
2005-02-24m68k.c (m68k_save_reg): Also save A5 for non-leaf functions when ↵Andrea Tarani1-3/+7
-mid-shared-library is being used. * config/m68k/m68k.c (m68k_save_reg): Also save A5 for non-leaf functions when -mid-shared-library is being used. From-SVN: r95487
2005-02-07t-rtems (MULTILIB_MATCHES): Let m528x match m5200.Ralf Corsepius1-0/+1
2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org> * config/m68k/t-rtems (MULTILIB_MATCHES): Let m528x match m5200. From-SVN: r94690
2004-12-29target.h (targetm.calls.arg_partial_bytes): New.Richard Henderson1-1/+0
* target.h (targetm.calls.arg_partial_bytes): New. * target-def.h (TARGET_ARG_PARTIAL_BYTES): New. * calls.c (store_unaligned_arguments_into_pseudos): Update for partial in bytes. (load_register_parameters): Likewise. (store_one_arg): Likewise. (initialize_argument_information): Use targetm.calls.arg_partial_bytes. (emit_library_call_value_1): Likewise. * expr.c (block_move_libcall_safe_for_call_parm): Likewise. (emit_push_insn): Update for partial in bytes. * expr.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * function.c (assign_parm_find_entry_rtl): Use targetm.calls.arg_partial_bytes. Update for result in bytes. (locate_and_pad_parm): Update for partial in bytes. * system.h (FUNCTION_ARG_PARTIAL_NREGS): Poison. * targhooks.c (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): New. * targhooks.h (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): Declare. * doc/tm.texi (TARGET_ARG_PARTIAL_BYTES): Rename and update from FUNCTION_ARG_PARTIAL_NREGS. * config/arc/arc.h, config/c4x/c4x.h, config/i386/i386.h, config/i860/i860.h, config/m68hc11/m68hc11.h, config/m68k/m68k.h, config/pdp11/pdp11.h, config/s390/s390.h, config/stormy16/stormy16.h, config/xtensa/xtensa.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/alpha/alpha.c (alpha_arg_partial_bytes): New. (TARGET_ARG_PARTIAL_BYTES): New. * config/alpha/alpha.h, config/alpha/unicosmk.h, config/alpha/vms.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/arm/arm.h (FUNCTION_ARG_PARTIAL_NREGS): Move ... * config/arm/arm.c (arm_arg_partial_bytes): ... here. (TARGET_ARG_PARTIAL_BYTES): New. * config/cris/cris.h (FUNCTION_ARG_PARTIAL_NREGS): Move ... * config/cris/cris.c (cris_arg_partial_bytes): ... here. (TARGET_ARG_PARTIAL_BYTES): New. * config/fr30/fr30.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/fr30/fr30.c (fr30_arg_partial_bytes): Rename from fr30_function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/fr30/fr30-protos.h: Update. * config/frv/frv.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/frv/frv.c (frv_arg_partial_bytes): Rename from frv_function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/frv/frv-protos.h: Update. * config/ia64/ia64.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/ia64/ia64.c (ia64_arg_partial_bytes): Rename from ia64_function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/ia64/ia64-protos.h: Update. * config/iq2000/iq2000.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/iq2000/iq2000.c (iq2000_arg_partial_bytes): Rename from function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/iq2000/iq2000-protos.h: Update. * config/m32r/m32r.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/m32r/m32r.c (m32r_arg_partial_bytes): Rename from function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/m32r/m32r-protos.h: Update. * config/mcore/mcore.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/mcore/mcore.c (mcore_arg_partial_bytes): Rename from mcore_function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/mcore/mcore-protos.h: Update. * config/mips/mips.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/mips/mips.c (mips_arg_partial_bytes): Rename from function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/mips/mips-protos.h: Update. * config/mn10300/mn10300.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/mn10300/mn10300.c (mn10300_arg_partial_bytes): Rename from function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/mn10300/mn10300-protos.h: Update. * config/ns32k/ns32k.h (FUNCTION_ARG_PARTIAL_NREGS): Move ... * config/ns32k/ns32k.c (ns32k_arg_partial_bytes): ... here. (TARGET_ARG_PARTIAL_BYTES): New. * config/pa/pa.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/pa/pa.c (pa_arg_partial_bytes): Rename from function_arg_partial_nregs. Handle 32-bit. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/pa/pa-protos.h: Update. * config/rs6000/rs6000.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/rs6000/rs6000.c (rs6000_arg_partial_bytes): Rename from function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/rs6000/rs6000-protos.h: Update. * config/sh/sh.h (FUNCTION_ARG_PARTIAL_NREGS): Move ... * config/sh/sh.c (sh_arg_partial_bytes): ... here. (TARGET_ARG_PARTIAL_BYTES): New. * config/sparc/sparc.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/sparc/sparc.c (sparc_arg_partial_bytes): Rename from function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/sparc/sparc-protos.h: Update. * config/v850/v850.h (FUNCTION_ARG_PARTIAL_NREGS): Remove. * config/v850/v850.c (v850_arg_partial_bytes): Rename from function_arg_partial_nregs. Adjust to return bytes. (TARGET_ARG_PARTIAL_BYTES): New. * config/v850/v850-protos.h: Update. From-SVN: r92726
2004-12-19m68kemb.h (TARGET_OS_CPP_BUILTINS): Remove redundant definition of mc68000, ↵Bernardo Innocenti1-4/+3
already present in TARGET_CPU_CPP_BUILTINS. * config/m68k/m68kemb.h (TARGET_OS_CPP_BUILTINS): Remove redundant definition of mc68000, already present in TARGET_CPU_CPP_BUILTINS. From-SVN: r92384
2004-11-09builtins.c, [...]: Avoid "`" as left quote, using "'" or %q, %< and %> as ↵Joseph Myers2-3/+3
appropriate. * builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h, c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c, gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c, tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, config/avr/avr.c, config/c4x/c4x.c, config/darwin.c, config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c, config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c, config/iq2000/iq2000.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h, config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.c, config/rs6000/host-darwin.c, config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, config/sh/symbian.c, config/stormy16/stormy16.c, config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %< and %> as appropriate. Use %' as apostrophe in diagnostics where applicable. Use %< and %> in place of '' quotes where applicable. Use %qs in place of %<%s%>. Consistently quote __builtin function names. ada: * misc.c (gnat_handle_option): Use %< and %> for quoting in warning message. cp: * call.c, class.c, decl.c, decl2.c, error.c, mangle.c, parser.c, pt.c, search.c, semantics.c, typeck.c: Use %q, %< and %> for quoting in diagnostics. * parser.c (cp_parser_sizeof_operand): Use '' instead of `' for quoting in printf format. * decl.c (duplicate_decls, start_decl): Use %qD instead of unquoted %D. objc: * objc-act.c: Use %q, %< and %> for quoting in diagnostics. testsuite: * gcc.dg/builtin-prefetch-1.c: Adjust expected messages. From-SVN: r90337
2004-10-22m68k.h (HARD_REGNO_RENAME_OK): New macro.Peter Barada3-0/+25
* config/m68k/m68k.h (HARD_REGNO_RENAME_OK): New macro. * config/m68k/m68k.c (m68k_hard regno_rename_ok): Disallow renaming of non-live registers in interrupt functions. * config/m68k/m68k-protos.h (m68k_hard_regno_rename_ok): Add prototype. From-SVN: r89441
2004-10-17elfos.h, [...]: Update copyright.Kazu Hirata1-1/+1
* config/elfos.h, config/gofast.h, config/interix.h, config/netbsd.h, config/svr3.h, config/vxworks.h, config/alpha/alpha-modes.def, config/alpha/alpha-protos.h, config/alpha/ev4.md, config/alpha/ev5.md, config/alpha/ev6.md, config/alpha/netbsd.h, config/arm/arm-modes.def, config/arm/unknown-elf.h, config/c4x/c4x-modes.def, config/cris/aout.h, config/frv/frv-modes.def, config/i386/beos-elf.h, config/i386/gas.h, config/i386/i386-coff.h, config/i386/i386-modes.def, config/i386/linux.h, config/i386/linux64.h, config/i386/mingw32.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h, config/i386/sco5.h, config/i386/sol2.h, config/i386/uwin.h, config/i860/i860.md, config/ia64/ia64-modes.def, config/ia64/itanium1.md, config/ia64/itanium2.md, config/m68k/m68k-modes.def, config/mips/mips-modes.def, config/mips/sdb.h, config/mips/vr.h, config/mips/vxworks.h, config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa32-linux.h, config/rs6000/40x.md, config/rs6000/7450.md, config/rs6000/8540.md, config/rs6000/linuxspe.h, config/rs6000/power4.md, config/rs6000/rs6000-modes.def, config/rs6000/rtems.h, config/rs6000/spe.h, config/s390/2064.md, config/s390/linux.h, config/s390/s390-modes.def, config/sh/elf.h, config/sh/sh-modes.def, config/sh/sh64.h, config/sparc/ultra1_2.md, config/sparc/ultra3.md, config/stormy16/stormy16.md, config/v850/v850-protos.h, config/vax/vax.md: Update copyright. From-SVN: r89179
2004-09-18darwin-c.c, [...]: Fix comment typos.Kazu Hirata1-2/+2
* config/darwin-c.c, config/arc/arc.c, config/arc/arc.md, config/arm/README-interworking, config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h, config/arm/pe.c, config/arm/vfp.md, config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h, config/fr30/fr30.c, config/fr30/fr30.h, config/fr30/fr30.md, config/frv/frv.c, config/frv/frv.md, config/i386/winnt.c, config/ia64/unwind-ia64.c, config/iq2000/iq2000.c, config/iq2000/iq2000.h, config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.md, config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.h, config/mn10300/mn10300.md, config/pa/pa.c, config/pa/pa64-regs.h, config/pdp11/pdp11.c, config/rs6000/rs6000.c, config/sh/symbian.c, config/sparc/sparc.h: Fix comment typos. Follow spelling conventions. From-SVN: r87706
2004-09-15configure.ac: Check for COMDAT support.Mark Mitchell1-2/+3
* configure.ac: Check for COMDAT support. Robustify check for SHF_MERGE support. * configure: Regenerated. * config.in: Likewise. * langhooks-def.h (lhd_comdat_group): New function. (LANG_HOOKS_COMDAT_GROUP): New macro. (LANG_HOOKS_DECLS): Use it. * langhooks.c (lhd_comdat_group): Define. * langhooks.h (lang_hooks_for_decls): Add comdat_group. * output.h (named_section_flags): Make it a macro. (named_section_real): New function. (default_no_named_section): Add decl parameter. (default_elf_asm_named_section): Likewise. (default_coff_asm_named_section): Likewise. (default_pe_asm_named_section): Likewise. * target.h (gcc_target): Adjust type of named_section. * varasm.c (named_section_flags): Rename to named_section_real. Add decl parameter. (default_no_named_section): Add decl parameter. (default_elf_asm_named_section): Use COMDAT, if available. Deal with the case that ASM_COMMENT_START is "@". (default_coff_asm_named_section): Add decl parameter. (default_pe_asm_named_section): Likewise. * config/alpha/alpha.c (vms_asm_named_section): Add decl parameter. (unicosmk_asm_named_section): Likewise. * config/arm/arm.c (arm_elf_asm_named_section): Remove. * config/arm/elf.h (TARGET_ASM_NAMED_SECTION): Likewise. * config/c4x/c4x.c (c4x_asm_named_section): Add decl parameter. * config/cris/cris-protos.h (cris_target_asm_named_section): Likewise. * config/cris/cris.c (cris_target_asm_named_section): Likewise. * config/h8300/h8300.c (h8300_asm_named_section): Likewise. * config/i386/i386-protos.h (i386_pe_asm_named_section): Likewise. * config/i386/winnt.c (i386_pe_asm_named_section): Likewise. * config/m68k/m68k.c (m68k_coff_asm_named_section): Likewise. * config/mcore/mcore.c (mcore_asm_named_section): Likewise. * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Likewise. * config/sparc/sparc.c (sparce_elf_asm_named_section): Likewise. * cp-objcp-common.h (LANG_HOOKS_COMDAT_GROUP): Define. * cp-tree.h (cxx_comdat_group): Declare. * decl.c (cxx_comdat_group): New function. From-SVN: r87557
2004-09-14m32r.md, [...]: Fix comment typos.Kazu Hirata1-1/+1
* config/m32r/m32r.md, config/m68k/m68kelf.h, config/mcore/mcore.md, config/rs6000/linux64.h, config/rs6000/rs6000.c, config/sparc/sparc.c: Fix comment typos. From-SVN: r87481
2004-09-03m68k.c (output_andsi3): Use -1 instead of (HOST_WIDE_INT)0xffffffff since ↵Andreas Schwab1-1/+1
CONST_INT value are always... * config/m68k/m68k.c (output_andsi3): Use -1 instead of (HOST_WIDE_INT)0xffffffff since CONST_INT value are always sign extended. From-SVN: r87031
2004-08-18rtl.h (MEM_READONLY_P): Replace RTX_UNCHANGING_P.Richard Henderson1-1/+1
* rtl.h (MEM_READONLY_P): Replace RTX_UNCHANGING_P. * alias.c (true_dependence): Update to match new semantics. (canon_true_dependence, write_dependence_p): Likewise. (anti_dependence, output_dependence): Update write_dependence_p args. (unchanging_anti_dependence): Remove. * calls.c (purge_mem_unchanging_flag): Remove. (fixup_tail_calls): Don't call it. (expand_call): Don't add unchanging memory to function usage. * expr.c (emit_block_move_via_libcall): Likewise. (clear_storage_via_libcall): Don't clobber RTX_UNCHANGING_P mems. (get_subtarget): Don't use RTX_UNCHANGING_P. (expand_assignment, store_constructor, expand_expr_real_1): Likewise. (do_tablejump): Set MEM_READONLY_P, not RTX_UNCHANGING_P. * combine.c (get_last_value_validate): Use MEM_READONLY_P. * cse.c (insert): Don't use RTX_UNCHANGING_P. (cse_insn, canon_hash): Use MEM_READONLY_P. * emit-rtl.c (set_mem_attributes_minus_bitpos): Use MEM_READONLY_P instead of RTX_UNCHANGING_P. * explow.c (maybe_set_unchanging): Remove. * expr.h (maybe_set_unchanging): Remove. * flow.c (insn_dead_p, mark_used_regs): Use anti_dependence. * function.c (assign_stack_temp_for_type): Don't use RTX_UNCHANGING_P. (assign_parm_setup_reg, expand_function_start): Likewise. * integrate.c (copy_rtx_and_substitute): Likewise. * ra-rewrite.c (emit_colors): Likewise. * regmove.c (copy_src_to_dest, regmove_optimize): Likewise. (fixup_match_1): Likewise. * reload1.c (reload, alter_reg): Likewise. * local-alloc.c (validate_equiv_mem): Check MEM_READONLY_P, not RTX_UNCHANGING_P. (equiv_init_varies_p): Likewise. * loop-invariant.c (check_maybe_invariant): Likewise. * resource.c (mark_referenced_resources, mark_set_resources): Likewise. * loop.c (note_addr_stored): Likewise. (prescan_loop): Likewise. Don't check function usage for clobbered unchanging memory. * rtlanal.c (rtx_unstable_p): Check MEM_READONLY_P, not RTX_UNCHANGING_P. (rtx_varies_p, modified_between_p, modified_in_p): Likewise. * varasm.c (force_const_mem): Likewise. * stmt.c (expand_decl): Don't set RTX_UNCHANGING_P. * web.c (entry_register): Likewise. * tree-gimple.h (get_base_address): Move decl ... * tree.h: ... here. * doc/rtl.texi (MEM_READONLY_P): Replace RTX_UNCHANGING_P. * config/alpha/alpha.c (alpha_set_memflags_1): Rewrite to be called via for_each_rtx. Copy MEM_SCALAR_P, MEM_NOTRAP_P too. (alpha_set_memflags): Update to match. * config/darwin.c (machopic_indirect_data_reference): Set MEM_READONLY_P instead of RTX_UNCHANGING_P. (machopic_indirect_call_target): Likewise. (machopic_legitimize_pic_address): Likewise. * config/arm/arm.c (legitimize_pic_address, arm_gen_load_multiple, arm_gen_store_multiple, arm_gen_movmemqi): Likewise. * config/arm/arm.md (load_multiple, store_multiple): Likewise. * config/frv/frv.md (symGOT2reg): Likewise. * config/i386/i386.c (legitimize_pic_address, legitimize_tls_address, ix86_split_to_parts): Likewise. * config/ia64/ia64.c (ia64_expand_tls_address): Likewise. * config/ia64/ia64.md (load_fptr): Likewise. * config/m32r/m32r.c (m32r_legitimize_pic_address): Likewise. * config/m68k/m68k.c (legitimize_pic_address): Likewise. * config/mcore/mcore.c (block_move_sequence): Likewise. * config/mn10300/mn10300.md (symGOT2reg): Likewise. * config/pa/pa.c (legitimize_pic_address): Likewise. * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Likewise. (rs6000_emit_move): Likewise. * config/s390/s390.c (legitimize_pic_address): Likewise. (legitimize_tls_address): Likewise. * config/s390/s390.md (casesi): Likewise. * config/sh/sh.c (prepare_move_operands, sh_reorg): Likewise. * config/sh/sh.md (symGOT2reg): Likewise. * config/sparc/sparc.c (legitimize_pic_address): Likewise. * config/v850/v850.md (casesi): Likewise. * config/ia64/ia64.c (gen_thread_pointer): Don't set RTX_UNCHANGING_P. * config/iq2000/iq2000.c (save_restore_insns): Likewise. * config/mips/mips.c (mips_restore_gp): Likewise. (mips_save_restore_reg, mips16_gp_pseudo_reg): Likewise. * config/sh/sh.c (sh_reorg): Likewise. From-SVN: r86178
2004-08-06m68k.c (post_inc_operand,pre_dec_operand): New.Roman Zippel3-203/+144
* config/m68k/m68k.c (post_inc_operand,pre_dec_operand): New. * config/m68k/m68k.h (PREDICATE_CODES): add post_inc_operand, pre_dec_operand. * config/m68k/m68k.md (zero_extend*2): delay the splitting of the pattern until reload is finished to allow better code generation and split them completely into separate instrunctions. (*andsi3_split): New pattern. From-SVN: r85631
2004-07-27libgcc2.c: Change all conditionals testing LIBGCC2_LONG_DOUBLE_TYPE_SIZE == ↵Zack Weinberg3-4/+4
96 to == 80. * libgcc2.c: Change all conditionals testing LIBGCC2_LONG_DOUBLE_TYPE_SIZE == 96 to == 80. * libgcc2.h: Likewise. * config/i386/i386.c (ix86_init_mmx_sse_builtins): Set TYPE_PRECISION of float80_type to 80. * config/ia64/ia64.c (ia64_init_builtins): Set TYPE_PRECISION of fpreg_type and float80_type to 80. * config/i386/i386.h, config/ia64/ia64.h, config/m68k/m68k.h * config/m68k/netbsd-elf.h: Change LONG_DOUBLE_TYPE_SIZE and possibly LIBGCC2_LONG_DOUBLE_TYPE_SIZE to evaluate to 80 whenever they would formerly have evaluated to 96. * config/i386/sco5.h: Remove unnecessary redefinition of LONG_DOUBLE_TYPE_SIZE. * doc/rtl.texi: Clarify uses of XFmode and TFmode. * config/i386/i386-modes.def: Use FRACTIONAL_FLOAT_MODE for XFmode, with a bitsize of 80. Update commentary. * config/ia64/ia64-modes.def: Likewise. * config/m68k/m68k-modes.def: Likewise. From-SVN: r85232
2004-07-24m68k.c (output_scc_di): Fix coding style.Roman Zippel4-85/+54
2004-07-24 Roman Zippel <zippel@linux-m68k.org> * config/m68k/m68k.c (output_scc_di): Fix coding style. (symbolic_operand): Fix prototype. * config/m68k/m68k.h (PREDICATE_CODES): Add symbolic_operand. * config/m68k/m68k.md: Add constants for registers a0 and sp and use them, change from the "{...}" syntax to the simpler {...} syntax. (*cfv4_extendqisi2): Fix destination predicate. * config/m68k/m68k-protos.h: Remove various declarations also generated via PREDICATE_CODES. From-SVN: r85115
2004-07-15m68k.c (output_move_qimode): Abort on an attempt to generate code which is ↵Roman Zippel2-25/+2
generated by pushqi1 now 2004-07-15 Roman Zippel <zippel@linux-m68k.org> * config/m68k/m68k.c (output_move_qimode): Abort on an attempt to generate code which is generated by pushqi1 now * config/m68k/m68k.h (MOVE_BY_PIECES_P): Remove. From-SVN: r84780
2004-06-25m68k.h: Restore valid comment removed by mistake with the recent m68k ↵Bernardo Innocenti1-0/+4
comments cleanup. * config/m68k/m68k.h: Restore valid comment removed by mistake with the recent m68k comments cleanup. From-SVN: r83637
2004-06-17re PR target/13292 (-msoft-float seems to corrupt builtin defines)Bernardo Innocenti2-3/+3
PR target/13292 * config/m68k/m68k.h (TARGET_SWITCHES): Don't remove MASK_68040_ONLY on -msoft-float. (TARGET_FLT_EVAL_METHOD): Don't advertise extended precision for 68040 and soft-float. * config/m68k/m68k.md (truncdfsf2): Explicitly require TARGET_68881 in the TARGET_68040_ONLY case. From-SVN: r83268
2004-06-16m68k.md (movsi_cfv4): New pattern to allow mov3q.Peter Barada3-25/+126
* config/m68k/m68k.md (movsi_cfv4): New pattern to allow mov3q. (movsi_cf): Make named, don't match TARGET_CFV4. (pushexthisi_const): Use mov3q if possible. (extendhisi2, cvf4_extendhisi2): Split extendhisi2 pattern to special case mvz.w for ColdFire V4. (extendqisi2, cvf4_extendqisi2): Split extendhisi2 pattern to special case mvz.b for ColdFire V4. (udivmodhi4, divmodhi4): Use mvz to zero extend arg for divide. (iorsi3, xorsi3, andsi3): Use bitfield instructions if possible. * config/m68k/m68k.c(valid_mov3q_const): New function. (const_method): SWAP is valid for ColdFire. (MULL_COST, MULW_COST): Fix costs for ColdFire V3/V4. * config/m68k/m68k-protos.h (valid_mov3q_const): Prototype here. From-SVN: r83266
2004-06-05m68k.h: Remove comments copied over from tm.texi.Bernardo Innocenti1-539/+99
* config/m68k/m68k.h: Remove comments copied over from tm.texi. Rename 68000 and 68k to m68k for consistency in comments. Remove trailing whitespace before EOLs and before TABs. (MAX_CODE_ALIGN): Remove unused macro. (CALL_USED_REGISTERS): Reformat and add comments. From-SVN: r82642
2004-06-01m68k.c (m68k_output_mi_thunk): For ColdFire, use %d0 as a scratch to perform ↵Peter Barada1-0/+17
an add to memory. * config/m68k/m68k.c(m68k_output_mi_thunk): For ColdFire, use %d0 as a scratch to perform an add to memory. From-SVN: r82547
2004-06-01re PR target/14018 (m68k backend: -malign-loops/-malign-jumps broken)Bernardo Innocenti2-74/+4
PR target/14018 * config/m68k/m68k.c (m68k_align_loops_string, m68k_align_jumps_string, m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps, m68k_align_funcs): Remove. (override_options): Remove code to handle -malign-* options. * config/m68k/m68k.h (TARGET_OPTIONS): Remove -malign-* options. (FUNCTION_BOUNDARY, LOOP_ALIGN, LOOP_ALIGN_AFTER_BARRIER): Remove. (m68k_align_loops_string, m68k_align_jumps_string, m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps, m68k_align_funcs): Remove definitions. From-SVN: r82546
2004-05-29Fix typo in previous patch.Bernardo Innocenti1-1/+1
From-SVN: r82422
2004-05-29m68k.c (CONST_METHOD): Add MVZ, MVS.Peter Barada1-1/+17
* config/m68k/m68k.c (CONST_METHOD): Add MVZ, MVS. * config/m68k/m68k.c (const_method): Likewise. * config/m68k/m68k.c (const_int_cost): Likewise. * config/m68k/m68k.c (const_int_cost): Likewise. * config/m68k/m68k.c (output_move_const_into_data_reg): Likewise. From-SVN: r82421
2004-05-29m68k.h (EXTRA_CONSTRAINT): add 'U' for register offset addressing.Peter Barada2-8/+15
* config/m68k/m68k.h(EXTRA_CONSTRAINT): add 'U' for register offset addressing. * config/m68k/m68k.md: Add 'U,U' alternative to ColdFire variants of movsi,movhi,movqi insn patterns. From-SVN: r82420
2004-05-21system.h: Poison NO_RECURSIVE_FUNCTION_CSE.Ian Lance Taylor1-3/+0
* system.h: Poison NO_RECURSIVE_FUNCTION_CSE. * calls.c (prepare_call_address): Don't test NO_RECURSIVE_FUNCTION_CSE. * config/arc/arc.h (NO_RECURSIVE_FUNCTION_CSE): Don't define. * config/arm/arm.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/avr/avr.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/frv/frv.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/i386/i386.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/ip2k/ip2k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/iq2000/iq2000.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/m32r/m32r.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/m68k/m68k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/mcore/mcore.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/mips/mips.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/stormy16/stormy16.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/xtensa/xtensa.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/sh/sh.h: Remove NO_RECURSIVE_FUNCTION_CSE comment. * doc/tm.texi (Costs): Remove documentation for NO_RECURSIVE_FUNCTION_CSE. From-SVN: r82084
2004-03-16config.gcc, linux.h: Implement with-cpu for m68k-linux.Richard Zidlicky1-1/+7
* config.gcc, config/m68k/linux.h: Implement with-cpu for m68k-linux. * longlong.h: Make code 68060 clean when compiling for m68060. From-SVN: r79524
2004-03-16m68k.md: Fix constraints for bitfield instructions.Richard Zidlicky1-24/+24
2004-03-16 Richard Zidlicky <rz@linux-m68k.org> * config/m68k/m68k.md: Fix constraints for bitfield instructions. * doc/md.texi: Clarify description of "i" constraint. From-SVN: r79523
2004-03-09re PR bootstrap/12371 ([m68k-linux] bootstrap error in make compare)Roman Zippel2-7/+34
2004-03-10 Roman Zippel <zippel@linux-m68k.org> PR bootstrap/12371 * config/m68k/m68k.h (FIXED_REGISTERS): Add arg pointer. (CALL_USED_REGISTERS): Likewise. (REG_CLASS_CONTENTS): Likewise. (REG_ALLOC_ORDER): New. (REGNO_REG_CLASS): Use regno_reg_class. * config/m68k/m68k.c: Add regno_reg_class array. From-SVN: r79221
2004-02-17* config/m68k/m68k.c: Remove obsolete support for HPUX_ASM.Gunther Nikl1-36/+2
From-SVN: r77977
2004-02-16t-slibgcc-elf-ver: Define SHLIB_NAME and SHLIB_SONAME in terms of ↵Matthias Klose1-0/+3
SHLIB_SOVERSION. * config/t-slibgcc-elf-ver: Define SHLIB_NAME and SHLIB_SONAME in terms of SHLIB_SOVERSION. * config/m68k/t-slibgcc-elf-ver: New file. * config/pa/t-slibgcc-elf-ver: New file. * config.gcc (m68k-linux, parisc-linux): Use them when not sjlj exceptions are not configured. From-SVN: r77920
2004-02-15m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for '%#'.Bernardo Innocenti1-2/+5
* config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for '%#'. From-SVN: r77860
2004-02-09m68k.c, m68k.md (SGS, [...]): Remove code to support SGS assembler.Bernardo Innocenti6-460/+176
* config/m68k/m68k.c, config/m68k/m68k.md (SGS, SGS_CMP_ORDER): Remove code to support SGS assembler. Reformat adjacent code where possible. * config/m68k/m68k.c (switch_table_difference_label_flag): Remove definition. * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Remove support for '%#'. * config/m68k/linux.h, config/m68k/m68k.c, * config/m68k/math-68881.h: Replace `%#' with `#' in inline asm macros and asm_printf() format strings. * config/m68k/m68kelf.h (ASM_OUTPUT_CASE_END): Remove macro definition. * config/m68k/linux.h: Update copyright. * config/m68k/linux.h, config/m68k/m68k.c: Remove traling whitespace. From-SVN: r77518
2004-02-09m68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX.Bernardo Innocenti1-3/+20
* config/m68k/m68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX. * (M68K_FP_REG_NAME): New macro to specify an alternate name for the frame pointer register, overridable by OS targets. * (M68K_REGNAME): Macro to obtain register name for asm output, eventually replacing %a6 with M68K_FP_REG_NAME. * config/m68k/coff.h (REGISTER_NAMES): Don't redefine. * config/m68k/linux.h (REGISTER_NAMES): Likewise. * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise. * config/m68k/netbsd-elf.h (REGISTER_NAMES): Likewise. * config/m68k/m68k.c: Use M68K_REGNAME(x) in place of reg_names[x]. From-SVN: r77511
2004-02-09m68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX.Andreas Schwab6-106/+60
* config/m68k/m68k.h (REGISTER_NAMES): Prefix each name with REGISTER_PREFIX. * (M68K_FP_REG_NAME): New macro to specify an alternate name for the frame pointer register, overridable by OS targets. * (M68K_REGNAME): Macro to obtain register name for asm output, eventually replacing %a6 with M68K_FP_REG_NAME. * config/m68k/coff.h (REGISTER_NAMES): Don't redefine. * config/m68k/linux.h (REGISTER_NAMES): Likewise. * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise. * config/m68k/netbsd-elf.h (REGISTER_NAMES): Likewise. * config/m68k/m68k.c: Use M68K_REGNAME(x) in place of reg_names[x]. Co-Authored-By: Bernardo Innocenti <bernie@develer.com> From-SVN: r77510
2004-02-06tm.texi (INIT_CUMULATIVE_ARGS): Update doco.Alan Modra1-1/+1
* doc/tm.texi (INIT_CUMULATIVE_ARGS): Update doco. * calls.c (expand_call): Pass n_named_args to INIT_CUMULATIVE_ARGS. (emit_library_call_value_1): Likewise pass nargs. * expr.c (block_move_libcall_safe_for_call_parm): Pass 3 here. * function.c (assign_parms): Pass -1 to INIT_CUMULATIVE_ARGS. * config/rs6000/rs6000.c (init_cumulative_args): Use n_named_args parameter instead of scanning TYPE_ARGS_TYPES to count args. * config/rs6000/rs6000-protos.h (init_cumulative_args): Update prototype. * config/rs6000/rs6000.h (INIT_CUMULATIVE_ARGS): Pass extra arg. (INIT_CUMULATIVE_INCOMING_ARGS): Set extra arg to 1000. (INIT_CUMULATIVE_LIBCALL_ARGS): Set extra arg to 0. * config/sh/sh.c (sh_output_mi_thunk): Pass 1 as n_named_args to INIT_CUMULATIVE_ARGS. * config/alpha/alpha.h (INIT_CUMULATIVE_ARGS): Update. * config/alpha/unicosmk.h, config/alpha/vms.h, config/arc/arc.h, config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, config/ia64/ia64.h, config/ip2k/ip2k.h, config/iq2000/iq2000.h, config/iq2000/iq2000.c, config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/m68k.h, config/mcore/mcore.h, config/mips/mips.h, config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h, config/pdp11/pdp11.h config/s390/s390.h, config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h, config/xtensa/xtensa.h: Likewise. From-SVN: r77380
2004-02-04darwin.c, [...]: Fix comment formatting.Kazu Hirata2-5/+5
* config/darwin.c, config/darwin.h, config/freebsd-spec.h, config/arm/arm.c, config/arm/arm.md, config/cris/cris-protos.h, config/fr30/fr30.c, config/fr30/fr30.h, config/h8300/h8300.c, config/i386/i386.h, config/i860/i860.c, config/i860/i860.h, config/ia64/ia64-c.c, config/ia64/ia64.c, config/ia64/ia64.h, config/ip2k/ip2k.h, config/ip2k/ip2k.md, config/ip2k/libgcc.S, config/m32r/linux.h, config/m32r/m32r.c, config/m32r/m32r.h, config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.md, config/ns32k/netbsd.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pdp11/pdp11.h, config/rs6000/darwin-ldouble.c, config/s390/s390.h, config/s390/s390.md, config/sparc/netbsd-elf.h, config/sparc/openbsd.h, config/sparc/sparc.c, config/xtensa/lib2funcs.S: Fix comment formatting. From-SVN: r77268
2004-02-04config.gcc: Remove obsolete ports and configurations.Kazu Hirata7-1328/+0
gcc/ * config.gcc: Remove obsolete ports and configurations. * config/linux-aout.h, config/netware.h, config/t-linux-gnulibc1, config/d30v/abi, config/d30v/d30v-protos.h, config/d30v/d30v.c, config/d30v/d30v.h, config/d30v/d30v.md, config/d30v/libgcc1.asm, config/d30v/t-d30v, config/dsp16xx/dsp16xx-modes.def, config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md, config/i370/README, config/i370/i370-c.c, config/i370/i370-protos.h, config/i370/i370.c, config/i370/i370.h, config/i370/i370.md, config/i370/linux.h, config/i370/mvs.h, config/i370/oe.h, config/i370/t-i370, config/i386/freebsd-aout.h, config/i386/linux-aout.h, config/i386/moss.h, config/i386/netware.h, config/i386/svr3.ifile, config/i386/svr3dbx.h, config/i386/svr3gas.h, config/i386/svr3z.ifile, config/i386/t-udk, config/i386/udk.h, config/i386/vsta.h, config/i960/i960-c.c, config/i960/i960-coff.h, config/i960/i960-modes.def, config/i960/i960-protos.h, config/i960/i960.c, config/i960/i960.h, config/i960/i960.md, config/i960/rtems.h, config/i960/t-960bare, config/m68k/hp310.h, config/m68k/hp320.h, config/m68k/hp320base.h, config/m68k/m68kv4.h, config/m68k/netbsd.h, config/m68k/sgs.h, config/m68k/t-hp320: Remove. * doc/extend.texi, doc/install.texi, doc/invoke.texi, doc/md.texi: Remove mentions of obsolete ports. testsuite/ * gcc.dg/20020312-2.c, gcc.dg/builtin-inf-1.c, gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c, gcc.dg/cpp/assert4.c: Remove mentions of obsolete ports. From-SVN: r77216
2004-02-01arm.c, [...]: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (".Kazu Hirata1-2/+2
* config/arm/arm.c, config/arm/arm.h, config/arm/arm.md, config/arm/linux-gas.h, config/arm/netbsd-elf.h, config/arm/netbsd.h, config/arm/pe.c, config/avr/avr.c, config/avr/avr.h, config/avr/avr.md, config/c4x/c4x.h, config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c, config/frv/frv.h, config/ip2k/ip2k.c, config/iq2000/iq2000.c, config/iq2000/iq2000.h, config/m32r/m32r.c, config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md, config/m68k/m68k.md, config/mcore/mcore.c, config/mcore/mcore.h, config/mcore/mcore.md, config/mips/mips.c, config/ns32k/ns32k.h, config/ns32k/ns32k.md, config/rs6000/rs6000.c, config/s390/s390.c, config/s390/s390.md, config/sparc/sparc.c, config/v850/v850.c, config/xtensa/xtensa.h, config/xtensa/xtensa.md: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". From-SVN: r77080
2004-01-31alloc-pool.c, c-lex.c, c-pragma.h, c-semantics.c, cfghooks.c,Kazu Hirata1-1/+2
cfghooks.h, cfglayout.c, cfgloopmanip.c, debug.c, debug.h, flow.c, genextract.c, ggc-common.c, ggc-page.c, ggc.h, ifcvt.c, jump.c, loop-unswitch.c, timevar.c, timevar.def, tree-optimize.c, vmsdbgout.c, config/fp-bit.c, config/alpha/alpha.c, config/alpha/alpha.h, config/alpha/alpha.md, config/alpha/unicosmk.h, config/alpha/vms.h, config/arm/linux-elf.h, config/avr/avr.c, config/c4x/c4x-protos.h, config/c4x/c4x.md, config/d30v/d30v.h, config/frv/frv.md, config/frv/frvbegin.c, config/frv/frvend.c, config/i386/cygming.h, config/i386/djgpp.h, config/i386/emmintrin.h, config/i386/gthr-win32.c, config/i386/i386-interix.h, config/i386/i386-protos.h, config/i386/openbsd.h, config/i386/winnt.c, config/i386/xm-mingw32.h, config/i386/xmmintrin.h, config/ia64/ia64.md, config/iq2000/iq2000.md, config/m32r/m32r.md, config/m68k/m68k.md, config/mcore/mcore-elf.h, config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h, config/mips/iris5gas.h, config/mips/iris6.h, config/mips/iris6gas.h, config/mips/linux.h, config/mips/mips.md, config/mips/netbsd.h, config/mips/openbsd.h, config/mips/windiss.h, config/pa/fptr.c, config/rs6000/aix.h, config/rs6000/altivec.h, config/rs6000/darwin.h, config/rs6000/xcoff.h, config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h, config/s390/s390.md, config/sh/netbsd-elf.h, config/sh/sh.h, config/sh/vxworks.h, config/sparc/sol2.h: Update copyright. From-SVN: r77018
2004-01-29m68k.c (TARGET_PROMOTE_PROTOTYPES): New.Kazu Hirata5-15/+30
* config/m68k/m68k.c (TARGET_PROMOTE_PROTOTYPES): New. (TARGET_STRUCT_VALUE_RTX): Likewise. (m68k_struct_value_rtx): Likewise. * config/m68k/m68k.h (STRUCT_VALUE_REGNUM): Rename to STRUCT_VALUE_REGNUM. (PROMOTE_PROTOTYPES): Remove. * config/m68k/m68kelf.h (STRUCT_VALUE_REGNUM): Rename to STRUCT_VALUE_REGNUM. * config/m68k/m68kv4.h (STRUCT_VALUE_REGNUM): Likewise. * config/m68k/netbsd-elf.h (STRUCT_VALUE_REGNUM): Likewise. From-SVN: r76833
2004-01-15re PR bootstrap/13562 (bootstrap failure on m68k-linux)Andreas Schwab1-1/+4
PR bootstrap/13562 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc status for NOTB/NOTW/NEGW methods. From-SVN: r75909