+2007-01-12 Richard Sandiford <richard@codesourcery.com>
+ Nathan Sidwell <nathan@codesourcery.com>
+
+ * config/m68k/m68k.h (ASM_CPU_SPEC, ASM_SPEC, EXTRA_SPECS)
+ (SUBTARGET_EXTRA_SPECS): New macros.
+ * config/m68k/linux.h (ASM_SPEC): Remove CPU flags;
+ use %(asm_cpu_spec) instead.
+ * config/m68k/m68k-none.h (ASM_SPEC): Likewise.
+ * config/m68k/openbsd.h (ASM_SPEC): Likewise.
+ * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
+ (EXTRA_SPECS): Rename to...
+ (SUBTARGET_EXTRA_SPECS): ...this.
+
+2007-01-12 Nathan Sidwell <nathan@codesourcery.com>
+ Richard Sandiford <richard@codesourcery.com>
+ Julian Brown <julian@codesourcery.com>
+
+ * config.gcc (m68k-*-aout*, m68k-*-coff*, m68020-*-elf*, m68k-*-elf*)
+ (m68k-*-uclinux*, m68k-*-linux*, m68k-*-rtems*): Set default_m68k_cpu
+ to the configuration's default CPU.
+ (m68010-*-netbsdelf*, m68k*-*-netbsdelf*, m68k*-*-openbsd*): Likewise.
+ Remove default masks.
+ (m680[012]0-*-*): Set the default with_cpu to the first part of
+ the target name.
+ (m68k*-*-*): Set the default with_cpu to m$default_m68k_cpu.
+ (m68k*-*-linux): Extend the --with-cpu handling to...
+ (m680[012]0-*-*, m68k*-*-*): ...these configurations. Allow m68000
+ and m68010. Don't set target_cpu_default2.
+ * doc/install.texi: Document --with-cpu for m68k.
+ * config/m68k/m68k.h (OPTION_DEFAULT_SPECS): Define.
+ * config/m68k/m68k-none.h (TARGET_CPU_DEFAULT, M68K_CPU_m68k)
+ (M68K_CPU_m68000, M68K_CPU_m68010, M68K_CPU_m68020, M68K_CPU_m68030)
+ (M68K_CPU_m68040, M68K_CPU_m68302, M68K_CPU_m68332, TARGET_DEFAULT)
+ (ASM_CPU_DEFAULT_SPEC, CC1_CPU_DEFAULT_SPEC): Delete.
+ (ASM_SPEC): Remove use of %(asm_cpu_default).
+ (EXTRA_SPECS, SUBTARGET_EXTRA_SPECS, MULTILIB_DEFAULTS): Delete.
+ * config/m68k/linux.h (TARGET_DEFAULT): Delete.
+ (CPP_SPEC): Merge definitions. Do not handle __HAVE_68881__ here.
+ * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define
+ __HAVE_FPU__ if TARGET_HARD_FLOAT.
+ (TARGET_DEFAULT): Delete.
+ (EXTRA_SPECS): Delete cpp_cpu_default_spec, cpp_cpu_spec,
+ cpp_fpu_spec, asm_default_spec and netbsd_cpp_spec.
+ (CPP_CPU_SPEC): Delete.
+ (TARGET_VERSION): Merge definitions, using TARGET_68010 to pick
+ the appropriate string.
+ (CPP_CPU_DEFAULT_SPEC, ASM_DEFAULT_SPEC, CPP_FPU_SPEC): Delete.
+ (CPP_SPEC): Define to NETBSD_CPP_SPEC.
+ (ASM_SPEC): Don't use %(asm_default_spec).
+ * config/m68k/m68k.c (TARGET_DEFAULT_TARGET_FLAGS): Remove
+ TARGET_DEFAULT and add MASK_68881.
+ * config/m68k/m68k.md: Remove mention of TARGET_DEFAULT from comments.
+
+2007-01-12 Richard Sandiford <richard@codesourcery.com>
+
+ * config.gcc (m68010-*-netbsdelf*): Add MASK_68010.
+ (m68k*-*-netbsdelf*, m68k*-*-openbsd*, m68k*-linux*): Add
+ MASK_68010 alongside MASK_68020.
+ * doc/invoke.texi: Document -m68010.
+ * config/m68k/m68k.opt (m68010): New.
+ * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define mc68010
+ if TUNE_68010.
+ (TUNE_68010): New macro.
+ * config/m68k/m68k-none.h (M68K_CPU_m68k, M68K_CPU_m68010)
+ (M68K_CPU_m68020, M68K_CPU_m68030, M68K_CPU_m68040)
+ (M68K_CPU_m68332): Add MASK_68010.
+ * config/m68k/linux.h (TARGET_DEFAULT): Add MASK_68010 to
+ fallback definition.
+ * config/m68k/netbsd-elf.h (CPP_CPU_SPEC): Remove now-redundant
+ defines.
+ * config/m68k/m68k.c (MASK_ALL_CPU_BITS): Add MASK_68010.
+ (m68k_handle_option): Handle OPT_m68010. Add MASK_68010
+ to all entries that use MASK_68020.
+ (output_move_simode_const, output_move_himode, output_move_qimode)
+ (output_move_stricthi, output_move_strictqi): Use TARGET_68010
+ instead of TARGET_68020 to select clr behavior. Remove comment
+ about there being no TARGET_68010.
+ * config/m68k/m68k.md: Likewise throughout.
+
+2007-01-12 Julian Brown <julian@codesourcery.com>
+
+ * config/m68k/m68k.h (TARGET_ISAB): New macro.
+ * config/m68k/m68k.c: Use TARGET_ISAB rather than TARGET_CFV4.
+ * config/m68k/m68k.md: Likewise.
+
+2007-01-12 Julian Brown <julian@codesourcery.com>
+
+ * config/m68k/m68k.h (LEGITIMATE_INDEX_P, LEGITIMIZE_ADDRESS): Use
+ TARGET_COLDFIRE_FPU instead of TARGET_CFV4E.
+
+2007-01-12 Julian Brown <julian@codesourcery.com>
+
+ * config/m68k/m68k.h (TUNE_68040_60): New macro.
+ * config/m68k/m68k.c (standard_68881_constant_p): Use it.
+ * config/m68k/m68k.md: Likewise.
+
+2007-01-12 Julian Brown <julian@codesourcery.com>
+ Richard Sandiford <richard@codesourcery.com>
+
+ * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Use TUNE_68030
+ instead of TARGET_68030, TUNE_68040 instead of TARGET_68040,
+ TUNE_68060 instead of TARGET_68060 and TUNE_CPU32 instead of
+ TARGET_CPU32.
+ (TARGET_CPU32): Rename to...
+ (TUNE_CPU32): ...this.
+ (TUNE_68000_10, TUNE_68030, TUNE_68040, TUNE_68060)
+ (TUNE_CFV2): New macros.
+ * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Simplify;
+ remove conditions that are implied by TARGET_68020.
+ * config/m68k/m68k.c (m68k_output_function_prologue): Use TUNE_68040
+ instead of TARGET_68040 and TUNE_CPU32 instead of TARGET_CPU32.
+ (m68k_output_function_epilogue): Likewise.
+ (m68k_rtx_costs): Likewise. Use TUNE_68060 instead of TARGET_68060
+ and TUNE_CFV2 instead of TARGET_5200. Use TUNE_68000_10 instead of
+ "!TARGET_68020 && !TARGET_COLDFIRE" to choose between 68000 and
+ non-68000 timings. Refactor multiplication and division costs.
+ (output_addsi3): Use TUNE_68040 instead of TARGET_68040 and
+ TUNE_CPU32 instead of TARGET_CPU32.
+ (standard_68881_constant_p): Use TUNE_68040 instead of TARGET_68040
+ and TUNE_68060 instead of TARGET_68060.
+ * config/m68k/m68k.md: Use TUNE_68040 instead of TARGET_68040,
+ TUNE_68060 instead of TARGET_68060, and TUNE_CPU32 instead of
+ TARGET_CPU32.
+ (movsi_const0): Use TUNE_68000_10 rather than "!TARGET_68020
+ && !TARGET_COLDFIRE" to choose between moveq and clr.
+ Likewise in the unnamed movsf pattern.
+ (ashlsi_17_24, lshrsi_17_24): Guard with TUNE_68000_10 rather than
+ "!TARGET_68020 && !TARGET_COLDFIRE". Likewise the unnamed
+ ashiftrt pattern.
+
+2007-01-12 Richard Sandiford <richard@codesourcery.com>
+
+ * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Increase amount
+ of tabbing before backslashes.
+
+2007-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * pa-linux.h (ASM_OUTPUT_INTERNAL_LABEL): Undefine.
+ * pa.h (ASM_OUTPUT_LABEL): Output colon when using GAS.
+ (ASM_OUTPUT_INTERNAL_LABEL): Define.
+
+2007-01-11 Zdenek Dvorak <dvorakz@suse.cz>
+
+ * tree-ssa-loop-ivopts.c (extract_cond_operands): Split from
+ find_interesting_uses_cond.
+ (find_interesting_uses_cond): Use extract_cond_operands.
+ (rewrite_use_compare): Use extract_cond_operands and
+ force_gimple_operand_bsi. Do not call update_stmt.
+ (determine_use_iv_cost_condition): Use extract_cond_operands.
+ Return cheaper of using original bound and changing the exit bound.
+
+2007-01-11 Zdenek Dvorak <dvorakz@suse.cz>
+
+ PR tree-optimization/29516
+ * tree-ssa-address.c (tree_mem_ref_addr, add_to_parts,
+ most_expensive_mult_to_index, addr_to_parts,
+ create_mem_ref, maybe_fold_tmr): Make the type of
+ fields of TARGET_MEM_REF sizetype.
+ (move_fixed_address_to_symbol, move_pointer_to_base):
+ New functions.
+ * tree.def (TARGET_MEM_REF): Add comment on types of
+ the operands.
+
+2007-01-11 Joseph Myers <joseph@codesourcery.com>
+
+ * c-common.c (vector_types_convertible_p): Treat opaque types as
+ always convertible if they have the same size, but not otherwise.
+
+2007-01-11 Steven Bosscher <steven@gcc.gnu.org>
+
+ * ifcvt.c (struct noce_if_info): Add comments to the fields.
+ Remove the b_unconditional field.
+ (noce_try_sign_mask): Do not look at b_unconditional.
+ (noce_process_if_block): Do not use merge_if_blocks. Update
+ the CFG here. Do not set b_unconditional.
+ (cond_move_process_if_block): Likewise.
+ (find_cond_trap): Likewise.
+ (check_cond_move_block): Require simple jump insns at the end
+ of the basic block.
+
+2007-01-11 Jan Hubicka <jh@suse.cz>
+
+ PR tree-optimization/1046
+ * tree-tailcall.c (suitable_for_tail_call_opt_p): Use TREE_ADDRESSABLE
+ when alias info is not ready.
+ (pass_tail_recursion): Do not require aliasing.
+ * tree-ssa-copyrename.c (pass_rename_ssa_cop): Likewise.
+ * tree-ssa-ccp.c (pass_ccp, pass_fold_builtins): Likewise.
+ * tree-ssa-copy.c (pass_copy_prop): Likewise.
+ * tree-ssa-forwprop.c (pass_forwprop): Likewise.
+ * tree-ssa-dce.c (pass_dce, pass_dce_loop, pass_cd_dce): Likewise.
+ * passes.c (init_optimization_passes): Execute rename_ssa_copies,
+ ccp, forwprop, copy_prop, merge_phi, copy_prop, dce and tail recursion
+ before inlining.
+ * tree-ssa-operands.c (add_virtual_operand, get_indirect_ref_operand):
+ When aliasing is not build, mark statement as volatile.
+
+2007-01-11 Tom Tromey <tromey@redhat.com>
+
+ PR preprocessor/15185, PR preprocessor/20989:
+ * doc/cppopts.texi <-MT>: Update description of algorithm for
+ computing default target.
+ <-M, -MD>: Reword "basename" text.
+
2007-01-11 Roger Sayle <roger@eyesopen.com>
* builtins.c (expand_builtin_pow, expand_builtin_powi,