OSDN Git Service

2005-10-05 Andrew Pinski <pinskia@physics.uc.edu>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 6ff4c0f..930e25b 100644 (file)
@@ -1,3 +1,307 @@
+2005-10-05  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR middle-end/20606
+       PR middle-end/24069
+       * reload.c (subst_reloads): When adding a REG_LABEL to a
+       jump instruction, also update JUMP_LABEL.
+
+2005-10-05  David Edelsohn  <edelsohn@gnu.org>
+
+       * params.def (PARAM_MAX_GROW_COPY_BB_INSNS): New.
+       * bb-reorder.c (copy_bb_p): Use it.
+       * doc/invoke.texi (param table): Add max-grow-copy-bb-insn.
+
+2005-10-05  Richard Henderson  <rth@redhat.com>
+
+       PR target/23602
+       * toplev.c (process_options): Warn about unsupported combinations
+       of unwind tables and omit-frame-pointer.
+       * config/i386/i386.c (override_options): Similarly.  Enable
+       accumulate-outgoing-args if not explicitly disabled.
+
+2005-10-05  Steve Ellcey  <sje@cup.hp.com>
+
+       * vect.md (vec_initv2si): Fix typo of V2SF to V2SI.
+       Handle big endian vs. small endian.
+       (vec_initv2sf): Handle big endian vs. small endian.
+       (*vec_extractv2sf_1): Ditto.
+
+2005-10-05  Dale Johannesen  <dalej@apple.com>
+
+       * convert.c (convert_to_real):  Don't convert
+       (float)floor(double d) to floorf((float)d).
+
+2005-10-05  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * config/arm/arm.md (insv): Use gen_int_mode in more places.
+
+2005-10-05  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR tree-optimization/18587
+       * tree-ssa-operands.c (struct opbuild_list_d, OPBUILD_LAST): Delete.
+       (build_defs, build_uses, build_v_may_defs, build_v_must_defs,
+       build_vuses): Change to VEC type.
+       (opbuild_initialize_virtual, opbuild_initialize_real, opbuild_free,
+       opbuild_num_elems, opbuild_append_real, opbuild_append_virtual,
+       opbuild_first, opbuild_next, opbuild_elem_real, opbuild_elem_virtual,
+       opbuild_elem_uid, opbuild_clear, opbuild_remove_elem): Delete.
+       (get_name_decl): New.  Return DECL_UID of base variable. 
+       (operand_build_cmp): New.  qsort comparison routine.
+       (operand_build_sort_virtual): New.  Sort virtual build vector.
+       (init_ssa_operands, fini_ssa_operands): Use VEC routines.
+       (FINALIZE_OPBUILD_BASE, FINALIZE_OPBUILD_ELEM): Use VEC_Index.
+       (FINALIZE_BASE): Use get_name_decl.
+       (finalize_ssa_defs, finalize_ssa_uses, cleanup_v_may_defs,
+       finalize_ssa_v_may_defs, finalize_ssa_vuses, finalize_ssa_v_must_defs,
+       (start_ssa_stmt_operands, append_def, append_use, append_vuse, 
+       append_v_may_def, append_v_must_def): Replace opbuild_* routines with 
+       direct VEC_* manipulations.
+       (build_ssa_operands): Call operand_build_sort_virtual.
+       (copy_virtual_operand, create_ssa_artficial_load_stmt,
+       add_call_clobber_ops, add_call_read_ops): Replace opbuild_* routines 
+       with direct VEC_* manipulations.
+       * tree-ssa-opfinalize.h (FINALIZE_FUNC): Replace opbuild_* routines
+       with direct VEC manipulations.
+
+2005-10-05  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR tree-optimization/21419
+       PR tree-optimization/24146
+       PR tree-optimization/24151
+
+       * c-typeck.c (readonly_error): Handle USE being lv_asm.
+       (build_asm_expr): Call it if outputs are read-only.
+       * gimplify.c (gimplify_asm_expr): Remove former fix to PR 21419.
+
+2005-10-05  Billy Biggs  <billy.biggs@gmail.com>
+           Paolo Bonzini  <bonzini@gnu.org>
+
+       PR target/23809
+
+       * doc/extend.texi (x86 Built-ins): Document that -msse and friends
+       enable the instructions and not just the built-ins.
+       * doc/invoke.texi (x86 Options): Likewise.
+
+2005-10-04  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/i386/t-darwin (SHLIB_VERPFX): Fix typo.
+
+       * doc/invoke.texi (Option Summary): Correct spelling
+       of -mmacosx-version-min.
+
+2005-10-04  Devang Patel  <dpatel@apple.com>
+
+       * c-common.c (vector_types_convertible_p): Check TYPE_PRECISION for
+       real types.
+       
+2005-10-04  Steve Ellcey  <sje@cup.hp.com>
+
+       * tree-vect-transform.c (vect_create_epilog_for_reduction):
+       Use BYTES_BIG_ENDIAN instead of BITS_BIG_ENDIAN.
+
+2005-10-04  Adrian Straetling  <straetling@de.ibm.com>
+
+       * config/s390/s390.md ("TDSI","DP"): New mode macros.
+       ("TE","tg"): New mode attributes.
+       ("sync_compare_and_swap<mode>"): Replace with a define_expand.
+       ("sync_compare_and_swap<mode>_cc"): Replace GPR with TDSI.
+       ("*sync_compare_and_swap<mode>_cc"): Replace with one pattern for
+       dword_mode and one for GPRmode.
+
+2005-10-04  Ian Lance Taylor  <ian@airs.com>
+
+       PR preprocessor/13726
+       * c-ppoutput.c (cb_include): Add comments parameter, and print out
+       any comments passed in.
+
+2005-10-04  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * tree.c (annotate_with_file_line): Fix typo.
+
+2005-10-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       PR ada/19382
+       * builtins.c (fold_builtin_memcmp): When constructing the pointer
+       type used to access data in the inlined length == 1 case, use
+       build_pointer_type_for_mode with CAN_ALIAS_ALL set to true.
+       (fold_builtin_strcmp, fold_builtin_strncmp): Likewise.
+
+2005-10-04  Uros Bizjak  <uros@kss-loka.si>
+
+       * config/i386/i386.h (TARGET_FISTTP): Enable also for
+       TARGET_SSE3 and only for TARGET_80387.
+       * config/i386/i386.md (fix_trunc<mode>_fisttp_i387_1,
+       (fix_trunc<mode>_i387_fisttp, fix_trunc<mode>_i387_fisttp_with_temp):
+       Do not depend on TARGET_80387.
+
+2005-10-04  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       * tree.c (last_annotated_node): Change type to location_t*.
+       (annotate_with_file_line): Reflect the change of
+       last_annotated_node type.
+
+2005-10-04  Richard Guenther  <rguenther@suse.de>
+
+       PR c/23576
+       * c-decl.c (grokdeclarator): Don't write to fields
+       of error_mark_node.
+
+2005-10-04  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR middle-end/23125
+       * c-decl.c (finish_decl): Use set_user_assembler_name even for
+       register variables.
+       * varasm.c (make_decl_rtl): If a register variable does not
+       have a set user assmbler name, error out.
+       Decode the asmspec is now name+1 bypassing '*'.
+
+2005-10-04  Steven Bosscher  <stevenb@suse.de>
+
+       PR tree-optimization/23049
+       * tree-ssa-dom.c (thread_across_edge): Make sure that the condition
+       of a COND_EXPR is folded before calling fold on the whole rhs of a
+       conditional assignment.
+       * doc/tree-ssa.texi: Update the GIMPLE grammar for a valid rhs to
+       document that a COND_EXPR may appear there.
+
+2005-10-03  Diego Novillo  <dnovillo@redhat.com>
+
+       PR 23445
+       * tree-vrp.c (extract_range_from_assert): If the new numeric
+       range created out of the assertion contradicts the existing
+       numeric range of the ASSERT_EXPR variable, make the new range
+       varying.
+
+2005-10-03  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.c (sh_register_move_cost): Add case for moving
+       from T_REGS to FP register class.
+
+2005-10-03  Richard Henderson  <rth@redhat.com>
+
+       PR 24135
+       * tree-nested.c (convert_nl_goto_reference): Lookup a translation
+       before creating a new one.
+
+2005-10-03  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/t-aix43 (LDFLAGS): New.
+       * config/rs6000/t-aix52 (LDFLAGS): New.
+
+2005-10-03  Ian Lance Taylor  <ian@airs.com>
+
+       * gimplify.c (find_single_pointer_decl_1): New static function.
+       (find_single_pointer_decl): New static function.
+       (internal_get_tmp_var): For a formal variable, set restrict base
+       information if appropriate.
+       * alias.c (find_base_decl): If a VAR_DECL has a restrict base,
+       return it.
+       * tree.h (DECL_BASED_ON_RESTRICT_P): Define.
+       (DECL_GET_RESTRICT_BASE): Define.
+       (SET_DECL_RESTRICT_BASE): Define.
+       (decl_restrict_base_lookup): Declare.
+       (decl_restrict_base_insert): Declare.
+       (struct tree_decl_with_vis): Add based_on_restrict_p field.
+       * tree.c (restrict_base_for_decl): New static variable.
+       (init_ttree): Initialize restrict_base_for_decl.
+       (copy_node_stat): Copy restrict base information.
+       (decl_restrict_base_lookup): New function.
+       (decl_restrict_base_insert): New function.
+       (print_restrict_base_statistics): New static function.
+       (dump_tree_statistics): Call print_restrict_base_statistics.
+
+2005-10-02  Diego Novillo  <dnovillo@redhat.com>
+
+       PR 24142
+       * tree-vrp.c (vrp_meet): Fix call to range_includes_zero_p in
+       case of anti-ranges.
+
+2005-10-02  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR c/18851
+       * c-typeck.c (tagged_tu_seen): Rename to ...
+       (tagged_tu_seen_cache): this and add val field.
+       (comptypes): Move functional to comptypes_internal
+       and free tagged_tu_seen.
+       (comptypes_internal): New function and call comptypes_internal
+       instead of comptypes. Speed up by sibcalling
+       tagged_types_tu_compatible_p.
+       (alloc_tagged_tu_seen): New function
+       (free_all_tagged_tu_seen_up_to): New function.
+       (tagged_types_tu_compatible_p): Return the val of the seen two
+       types.
+       Add that the two types are the same to tagged_tu_seen_base
+       if they are and call comptypes_internal instead of comptypes.
+       <case UNION_TYPE>: Speed up common type where the fields are
+       in the same order.
+       (function_types_compatible_p): Call comptypes_internal instead of
+       comptypes.
+       (type_lists_compatible_p): Likewise.
+       (all functions): s/tagged_tu_seen/tagged_tu_seen_cache/.
+
+2005-10-02  Matthias Klose  <doko@debian.org>
+
+       * doc/invoke.texi: Fix typo and speling error.
+
+2005-10-01  Richard Henderson  <rth@redhat.com>
+
+       * tree-stdarg.c (execute_optimize_stdarg): Process PHI nodes too.
+
+2005-10-01  Mark Mitchell  <mark@codesourcery.com>
+
+       * config/arm/unknown-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define
+       using --start-group and --end-group.
+
+2005-10-01  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-vrp.c (value_inside_range, range_includes_zero_p): Add
+       FIXME note regarding quirky semantics.
+
+2005-10-01  Diego Novillo  <dnovillo@redhat.com>
+
+       PR 24141
+       * tree-vrp.c (vrp_meet): Clear VR0->EQUIV when building a
+       non-null range as a last resort.
+
+2005-10-01  James A. Morrison  <phython@gcc.gnu.org>
+           Diego Novillo  <dnovillo@redhat.com>
+
+       PR 23604
+       * tree-vrp.c (extract_range_from_assert): For !=
+       assertions, only build an anti-range if LIMIT is a
+       single-valued range.
+
+2005-09-30  Richard Earnshaw  <richard.earnshaw@arm.com>
+
+       * arm.md (movqi): On thumb when optimizing, handle loading from 
+       memory by describing this as taking a subreg of a zero-extended load
+       into an SImode register.
+       (movhi): Likewise.
+
+2005-09-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * reload1.c (merge_assigned_reloads): Do not change any
+       RELOAD_FOR_OUTPUT_ADDRESS reloads.
+
+2005-09-30  Geoffrey Keating  <geoffk@apple.com>
+
+       * Makefile.in (LIPO_FOR_TARGET): Define.
+       (STRIP_FOR_TARGET): Define.
+
+       * config/t-slibgcc-darwin (libgcc_s_%.dylib): Remove old symlinks
+       before creating new ones.  Do symlinks before creating the actual
+       targets.
+
+       * config/t-slibgcc-darwin (libgcc_s_%.dylib): Use --print-multi-lib
+       to work out which multilibs are actually being built.
+
+2005-09-30  Kazu Hirata  <kazu@codesourcery.com>
+
+       * tree-vect-transform.c, config/ms1/ms1.md,
+       config/s390/s390.c, config/v850/v850.md: Fix comment typos.
+       Follow spelling conventions.
+       * doc/invoke.texi, doc/md.texi: Fix typos.
+
 2005-09-30  Andrew Macleod  <amacleod@redat.com>
 
        PR tree-optimization/21430