+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
* 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,