+2005-03-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/18380
+ * config/ia64/unwind-ia64.c (_Unwind_FindTableEntry): Removed.
+
+2005-03-17 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.c (h8300_init_once): Use MASK_H8300S_1
+ instead of MASK_H8300S.
+ * config/h8300/h8300.h (target_flags, MASK_H8300S, MASK_MAC,
+ MASK_INT32, MASK_ADDRESSES, MASK_QUICKCALL, MASK_SLOWBYTE,
+ MASK_NORMAL_MODE, MASK_RELAX, MASK_H8300H, MASK_ALIGN_300,
+ MASK_H8300SX, TARGET_INT32, TARGET_ADDRESSES,
+ TARGET_QUICKCALL, TARGET_SLOWBYTE, TARGET_H8300H,
+ TARGET_H8300XS, TARGET_NORMAL_MODE, TARGET_ALIGN_300,
+ TARGET_SWITCHES): Remove.
+ (TARGET_H8300S): Redefine interms of TARGET_H8300S_1 and
+ TARGET_H8300SX.
+ * config/h8300/h8300.opt: New.
+
+ * config/alpha/alpha.opt, config/arc/arc.opt,
+ config/h8300/h8300.opt, config/mips/mips.opt: Add copyright
+ notices.
+
+2005-03-17 Ian Lance Taylor <ian@airs.com>
+
+ * gmon.c: Remove.
+
+2005-03-17 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/arc/arc.c (arc_cpu_string): Make static. Default to "base"
+ (arc_text_string, arc_data_string, arc_rodata_string): Make static.
+ (TARGET_HANDLE_OPTION): Override default.
+ (arc_handle_option): New function.
+ (arc_init): Remove code to set arch_cpu_string.
+ * config/arc/arc.h (target_flags, TARGET_MASK_MANGLE_CPU)
+ (TARGET_MANGLE_CPU, TARGET_MASK_MANGLE_CPU_LIBGCC)
+ (TARGET_MANGLE_CPU_LIBGCC, TARGET_MASK_ALIGN_LOOPS, TARGET_ALIGN_LOOPS)
+ (TARGET_MASK_BIG_ENDIAN, TARGET_BIG_ENDIAN, TARGET_MASK_NO_COND_EXEC)
+ (TARGET_NO_COND_EXEC, TARGET_SWITCHES, TARGET_DEFAULT)
+ (SUBTARGET_SWITCHES, arc_cpu_string, arc_text_string, arc_data_string)
+ (arc_rodata_string, TARGET_OPTIONS): Delete.
+ * config/arc/arc.opt: New file.
+
+2005-03-17 Richard Henderson <rth@redhat.com>
+
+ * doc/extend.texi (Weak Pragmas): New section.
+ (attribute alias): Clarify that target must be in the same
+ translation unit.
+
+2005-03-17 Richard Henderson <rth@redhat.com>
+
+ * config/alpha/alpha.opt: New file.
+ * config/alpha/alpha.c (alpha_tune): New. Rename all existing uses
+ of alpha_cpu.
+ (alpha_cpu_string, alpha_tune_string, alpha_tp_string,
+ alpha_fprm_string, alpha_fptm_string): Make static.
+ (alpha_tls_size_string): Remove.
+ (alpha_handle_option): New.
+ (override_options): Update for alpha_cpu/alpha_tune split.
+ (alpha_file_start): Likewise.
+ (TARGET_DEFAULT_TARGET_FLAGS): New.
+ (TARGET_HANDLE_OPTION): New.
+ * config/alpha/alpha.h (alpha_tune): Declare.
+ (MASK_FP, MASK_FPREGS, TARGET_FPREGS, MASK_GAS, TARGET_GAS,
+ MASK_IEEE_CONFORMANT, TARGET_IEEE_CONFORMANT, MASK_IEEE, TARGET_IEEE,
+ MASK_IEEE_WITH_INEXACT, TARGET_IEEE_WITH_INEXACT, MASK_BUILD_CONSTANTS,
+ TARGET_BUILD_CONSTANTS, MASK_FLOAT_VAX, TARGET_FLOAT_VAX, MASK_BWX,
+ TARGET_BWX, MASK_MAX, TARGET_MAX, MASK_FIX, TARGET_FIX, MASK_CIX,
+ TARGET_CIX, MASK_EXPLICIT_RELOCS, TARGET_EXPLICIT_RELOCS,
+ MASK_SMALL_DATA, TARGET_SMALL_DATA, MASK_TLS_KERNEL, TARGET_TLS_KERNEL,
+ MASK_SMALL_TEXT, TARGET_SMALL_TEXT, MASK_LONG_DOUBLE_128,
+ TARGET_LONG_DOUBLE_128, MASK_CPU_EV5, TARGET_CPU_EV5, MASK_CPU_EV6,
+ TARGET_CPU_EV6, MASK_SUPPORT_ARCH): Remove.
+ (TARGET_SWITCHES, TARGET_OPTIONS): Remove.
+ (TARGET_DEFAULT): Remove MASK_FP.
+ (TARGET_FP): Redefined based on TARGET_SOFT_FP.
+ (TARGET_SUPPORT_ARCH): Default on if HAVE_AS_EXPLICIT_RELOCS.
+ (alpha_cpu_string, alpha_tune_string, alpha_fprm_string,
+ alpha_fptm_string, alpha_tp_string, alpha_mlat_string,
+ alpha_tls_size_string): Remove.
+ * config/alpha/alpha.md (prefetch): Use alpha_cpu.
+ (attribute tune): Rename from attribute cpu.
+ * config/alpha/ev4.md: Update to match.
+ * config/alpha/ev5.md, config/alpha/ev6.md: Likewise.
+ * config/alpha/freebsd.h (TARGET_DEFAULT): Remove MASK_FP.
+ * config/alpha/linux.h (TARGET_DEFAULT): Likewise.
+ * config/alpha/netbsd.h (TARGET_DEFAULT): Likewise.
+ * config/alpha/osf5.h (TARGET_DEFAULT): Likewise.
+ * config/alpha/vms.h (TARGET_DEFAULT): Likewise.
+
+2005-03-16 James E. Wilson <wilson@specifixinc.com>
+
+ * config/ia64/ia64.c (issue_nops_and_insn): Check first_insn attribute,
+ and return without creating new state if before_nops_num is nonzero.
+ * config/ia64/ia64.md (first_insn): New attribute.
+ (alloc): Set it to yes.
+
+2005-03-16 Daniel Berlin <dberlin@dberlin.org>
+
+ * tree-vectorizer.c (new_vec_stmt_info): Initialize
+ STMT_VINFO_SUBVARS to NULL.
+ * tree-vect-analyze.c (vect_analyze_data_refs): Ditto.
+
+2005-03-16 Dale Johannesen <dalej@apple.com>
+
+ * rtlanal.c (find_first_parameter_load): Rewrite to
+ return actual first param load or the call if none,
+ instead of first in block, when not all loads exist.
+
+2005-03-16 Roger Sayle <roger@eyesopen.com>
+
+ * optabs.c (expand_copysign_absneg): Make static.
+ * optabs.h (expand_copysign_absneg): Delete prototype.
+ * config/rs6000/rs6000.md (copysigntf3): Delete pattern.
+
+2005-03-16 Richard Henderson <rth@redhat.com>
+
+ PR middle-end/15700
+ * varasm.c (struct alias_pair): Rename from struct output_def_pair.
+ (alias_pairs): Rename from output_defs.
+ (find_decl_and_mark_needed): Split out from assemble_alias.
+ (do_assemble_alias): New.
+ (assemble_output_def): Remove.
+ (finish_aliases_1, finish_aliases_2): New.
+ (process_pending_assemble_output_defs): Remove.
+ (assemble_alias): Defer aliases for which we don't yet have a
+ non-external decl for the target symbol.
+ * passes.c (rest_of_decl_compilation): Register variables with cgraph.
+ * cgraphunit.c (cgraph_finalize_compilation_unit): Use finish_aliases_1.
+ * toplev.c (compile_file): Use finish_aliases_2 instead of
+ process_pending_assemble_output_defs.
+ * tree.h (finish_aliases_1, finish_aliases_2): Declare.
+ (process_pending_assemble_output_defs): Remove.
+
+2005-03-16 Daniel Berlin <dberlin@dberlin.org>
+
+ Fix PR tree-optimization/20489
+
+ * tree-ssa-alias.c (push_fields_onto_fieldstack): DTRT
+ for empty structures.
+
+2005-03-16 Daniel Berlin <dberlin@dberlin.org>
+
+ Fix PR tree-optimization/20490
+
+ * tree-ssa-pre.c (create_expression_by_pieces): Use
+ force_gimple_operand on result of fold.
+
+2005-03-16 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * config/i386/emmintrin.h (_mm_extract_epi16): Correct the number
+ of closing parenthesis.
+
+2005-03-16 Kazu Hirata <kazu@cs.umass.edu>
+
+ * builtins.c (expand_movstr): Update a call to
+ fold_builtin_strcpy.
+ (expand_builtin_strncpy): Update a call to
+ fold_builtin_strncpy.
+ (fold_builtin_strcpy, fold_builtin_strncpy): Take decomosed
+ arguments of CALL_EXPR.
+ (fold_builtin_1): Update calls to fold_builtin_strcpy and
+ fold_builtin_strncpy.
+ * tree-ssa-ccp.c (ccp_fold_builtin): Likewise.
+ * tree.h: Update the prototypes of fold_builtin_strcpy and
+ fold_builtin_strncpy.
+
+2005-03-16 Steven Bosscher <stevenb@suse.de>
+ Dorit Naishlos <dorit@il.ibm.com>
+
+ * tree-vect-analyze.c (vect_enhance_data_refs_alignment): Copy
+ UNITS_PER_SIMD_WORD to a local variable to avoid a "division by zero"
+ error.
+
+2005-03-16 Steven Bosscher <stevenb@suse.de>
+
+ * tree-inline.c (walk_type_fields, walk_tree,
+ walk_tree_without_duplicates): Move from here...
+ * tree.c: ...to here.
+
+2005-03-15 Zack Weinberg <zack@codesourcery.com>
+
+ * BASE-VER, DATESTAMP, DEV-PHASE: New files.
+ * Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
+ (BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
+ (BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
+ (version): Define using $(BASEVER_c).
+ (Makefile, config.status, build/gcov-iov.o): No longer depends on
+ version.c.
+ (version.o): Depend on version files; add custom generation command.
+ (prefix.o): Define BASEVER on command line.
+ (s-iov): Depend on version files; adjust command.
+ (TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
+ Add gcc-vers.texi.
+ (gcc-vers.texi): New rule.
+ (doc/%.info, doc/%.dvi): Add -I . to command line.
+ (doc/gccinstall.dvi): Likewise.
+ (PACKAGE): Delete. All uses replaced with "gcc".
+ * aclocal.m4: Do not include gcc-version.m4.
+ * configure.ac: Do not invoke TL_AC_GCC_VERSION.
+ Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
+ Set is_release based on contents of DEV-PHASE.
+ Set gcc_version based on contents of BASE-VER.
+ Define WIN32_REGISTRY_KEY only if the user overrode the default.
+ * config.in, configure: Regenerate.
+ * gccbug.in: Determine version of GCC in use at runtime.
+ * gcov-iov.c: Get version number and development phase from
+ command line, not by including version.c.
+ * intl.c: Replace all uses of PACKAGE with "gcc".
+ * libada-mk.in: Delete unused "gcc_version" variable.
+ * prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
+ * version.c: (VERSUFFIX): New hook for redistributors; adjust
+ commentary to match.
+ (version_string): Put together from pieces.
+ * config/alpha/x-vms: Do not use $(gcc_version).
+ * config/i386/t-nwld: Likewise.
+ * doc/include/gcc-common.texi: Include gcc-vers.texi for
+ version-GCC and DEVELOPMENT.
+
+2005-03-15 Roger Sayle <roger@eyesopen.com>
+
+ PR tree-optimization/17454
+ * tree.c (tree_size): Add case for TREE_BINFO.
+ * fold-const.c (fold_checksum_tree): Only clear the overloaded
+ field TYPE_CACHED_VALUES if TYPE_CACHED_VALUES_P is set.
+
+2005-03-15 Roger Sayle <roger@eyesopen.com>
+
+ * optabs.c (expand_doubleword_mult): Avoid clobbering op0 and
+ op1 whilst expanding the signed widenening multiply variant.
+
+2005-03-15 Richard Sandiford <rsandifo@redhat.com>
+
+ * toplev.c (display_target_options): Avoid unused variable warning if
+ TARGET_SWITCHES and TARGET_OPTIONS are both undefined.
+ * config/mips/mips.c (mips_arch_string, mips_tune_string): Make static.
+ (mips_isa_string, mips_abi_string, mips_fix_vr4130_string): Delete.
+ (mips_isa): Initialize to MIPS_ABI_DEFAULT.
+ (mips_isa_info): New variable.
+ (mips_parse_cpu): Remove the first argument and leave the caller
+ to report errors.
+ (TARGET_HANDLE_OPTION): Override default.
+ (mips_handle_option): New function. Move option validation code from...
+ (override_options): ...here. Update calls to mips_parse_cpu.
+ * config/mips/mips.h (mips_arch_string, mips_tune_string)
+ (mips_isa_string, mips_abi_string, TARGET_OPTIONS)
+ (SUBTARGET_TARGET_OPTIONS): Delete.
+ * config/mips/mips.opt (mabi=, march=, mflush-func=, mips)
+ (mno-flush-func, mtune=): New options.
+
+2005-03-15 Roger Sayle <roger@eyesopen.com>
+ Richard Henderson <rth@redhat.com>
+
+ * real.c (c4x_single_format, c4x_extended_format): Provide values
+ for signbit_ro for c4x's single and extended floating point formats.
+ * optabs.c (expand_copysign): Use the floating point format's
+ signbit_ro for expanding via expand_copysign_absneg, and it's
+ signbit_rw field for expanding via expand_copysign_bit.
+
2005-03-15 Dorit Naishlos <dorit@il.ibm.com>
* tree-vectorizer.h (unknown_alignment_for_access_p): Replaced by
* config/mips/mips.h (DWARF_CIE_DATA_ALIGNMENT): Change for
STACK_GROWS_DOWNWARD.
-
+
2005-03-14 Roger Sayle <roger@eyesopen.com>
* real.h (struct real_format): Split the signbit field into two
subvars.
* tree-tailcall.c (suitable_for_tail_opt_p): Look at STRUCT_FIELD
tags too.
-
+
2005-03-14 Geoffrey Keating <geoffk@apple.com>
* doc/cppopts.texi (-fexec-charset): Add concept index entry.
2005-03-14 Devang Patel <dpatel@apple.com>
* doc/invoke.texi: Add reference to Visibility document.
-
+
2005-03-14 Richard Sandiford <rsandifo@redhat.com>
* config.gcc (mips*-*-*): Rename MASK_SPLIT_ADDRS to
* opth-gen.awk: Declare target_flags. Declare MASK_* and TARGET_*
macros for the "Mask" and "InverseMask" options.
* opts.h (cl_var_cond): New enum.
- (cl_option): Replace the "has_set_value" and "set_value" fields with
+ (cl_option): Replace the "has_set_value" and "set_value" fields with
"var_cond" and "var_value".
(CL_TARGET): New macro.
(option_enabled, print_filtered_help): Declare.
(TARGET_USE_HIMODE_FIOP): New.
(x86_use_simode_fiop): Rename from x86_use_fiop.
(TARGET_USE_SIMODE_FIOP): Rename from TARGET_USE_FIOP.
-
+
* config/i386/i386.md (X87MODEI12): New mode macro define.
(*cmpfp_<mode>): Rename from *cmpfp_si. Use X87MODEI12 mode macro
to implement x87 FP compare with HImode input operands.
* expmed.c (expand_mult): Use synthetic multiplication sequences for
more classes of DImode multiplication by constant. Allow both
- multiplication by small negative constants (by performing a
+ multiplication by small negative constants (by performing a
multiplication by a positive constant and negating the result) and
multiplications by large powers of two, by using a left shift.
Don't mark variables non-addressable if they still have
addressable subvars.
Also mark subvars addressable when the real variable is marked
- addressable.
+ addressable.
(add_pointed_to_var): Try to prune the pointed-to set by only
pointing to subvars when possible.
Otherwise, make sure we set addresses_needed and pt_vars to
(STMT_VINFO_SUBVARS): New macro.
* common.opts: add flag_tree_salias.
-
+
* opts.c (decode_options): flag_tree_salias defaults to on.
-
+
* doc/invoke.texi: Document fdump-tree-svars and -ftree-salias.
* doc/tree-ssa.texi: Document structural alias analysis.
-
+
2005-03-12 Steven Bosscher <stevenb@suse.de>
* tree-cfg.c (make_goto_expr_edges): Don't use error_mark_node.
2005-03-12 Geoffrey Keating <geoffk@apple.com>
- * c-lex.c (c_lex_with_flags): Add parameter to call to
+ * c-lex.c (c_lex_with_flags): Add parameter to call to
cpp_spell_token.
2005-03-11 Per Bothner <per@bothner.com>
ATTR_NOTHROW_NONNULL_1_4, ATTR_CONST_NOTHROW_NONNULL_1,
ATTR_PURE_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1_2,
ATTR_MALLOC_NOTHROW_NONNULL_1): Delete.
-
+
* builtins.def: Use the non-specific "nonnull" attibute lists.
2005-03-11 Zdenek Dvorak <dvorakz@suse.cz>
2005-03-08 Fariborz Jahanian <fjahanian@apple.com>
- * config/rs6000/rs6000.c (invalid_arg_for_unprototyped_fn):
+ * config/rs6000/rs6000.c (invalid_arg_for_unprototyped_fn):
Define the real function for ppc-darwin.
* c-typeck.c (convert_arguments): Check for target-specific
invalid argument call to unprototyped function.
- * target-def.h (TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN):
+ * target-def.h (TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN):
New Macro.
- * target.h (invalid_arg_for_unprototyped_fn): New field
+ * target.h (invalid_arg_for_unprototyped_fn): New field
in struct calls.
- * targhooks.c (hook_invalid_arg_for_unprototyped_fn): New
+ * targhooks.c (hook_invalid_arg_for_unprototyped_fn): New
default target hook.
- * targhooks.h (hook_invalid_arg_for_unprototyped_fn):
+ * targhooks.h (hook_invalid_arg_for_unprototyped_fn):
Declare.
2005-03-08 Kazu Hirata <kazu@cs.umass.edu>
(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_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,
* tree.h (DECL_IS_BUILTIN): Reverted my patch from earlier today.
2005-03-06 Andrew Pinski <pinskia@physics.uc.edu>
-
+
PR tree-opt/17671
* tree-ssa-phiopt.c (tree_ssa_phiopt): Rewrite so we base the
bbs on the COND_EXPR instead of the PHI_NODEs.
* tree-cfg.c (remove_bb): If USE_MAPPED_LOCATION, change type of
local variable loc. Change logic appropriately.
* tree-vect-transform.c (vect_finish_stmt_generation): Use
- EXPR_LOCATION rather than EXPR_LOCUS if USE_MAPPED_LOCATION.
+ EXPR_LOCATION rather than EXPR_LOCUS if USE_MAPPED_LOCATION.
* c-parser.c (c_parser_for_statement): Initialize loc variable.
* tree.h (DECL_IS_BUILTIN): Temporarily revert definition of
DECL_IS_BUILTIN in the USE_MAPPED_LOCATION because of jc1 issues.
(ASM_SPEC): Pass down -msym32 and -mno-sym32.
2005-03-04 Devang Patel <dpatel@apple.com>
-
+
PR tree-optimization/18815
* tree-if-conv.c (combine_blocks): Adjust loop header edges for
loops with zero exit edges.
2005-03-04 Devang Patel <dpatel@apple.com>
* doc/invoke.texi: Remove reference to webpage that does not exist.
-
+
2005-03-04 John David Anglin <dave.danglin@nrc-cnrc.gc.ca>
Joseph S. Myers <joseph@codesourcery.com>
2005-03-04 Kazu Hirata <kazu@cs.umass.edu>
* fold-const.c (fold_ternary): Unroll the "for" loop to
- extract operands.
+ extract operands.
2005-03-04 Andrew Haley <aph@redhat.com>
2005-03-03 Daniel Berlin <dberlin@dbrelin.org>
Fix PR debug/20253
-
+
* c-opts.c (c_common_parse_file): Call start_source_file
and end_source_file at the approriate times.
* dwarf2out.c (dwarf2out_finish): Don't auto-end
the main file, it will be done for us now.
-
+
2005-03-04 Kazu Hirata <kazu@cs.umass.edu>
* fold-const.c (fold_ternary): New.
* config/darwin8.h (LIB_SPEC): Switch -lmx and -lSystem.
2005-03-02 Devang Patel <dpatel@apple.com>
-
+
Undo PR tree-optimization/18815 fix.
-
+
2005-03-02 Devang Patel <dpatel@apple.com>
PR tree-optimization/18815
* tree-if-conv.c (combine_blocks): Adjust loop header edges for
loops with zero exit edges.
-
+
2005-03-02 Kazu Hirata <kazu@cs.umass.edu>
* cfg.c (connect_src, connect_dest, disconnect_src,