OSDN Git Service

* config/sh/sh.md (divsi_inv_m0): Remove unused variable.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index edd15d9..18fdc4d 100644 (file)
@@ -1,3 +1,439 @@
+2006-09-28  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.md (divsi_inv_m0): Remove unused variable.
+
+2006-09-27  Steven G. Kargl  <kargl@gcc.gnu.org>
+
+       * doc/install.texi: Document required versions of GMP and MPFR.
+
+2006-09-27  Paul Brook  <paul@codesourcery.com>
+
+       PR target/29230
+       * config/arm/arm.md (arith_adjacentmem): Handle large offsets.
+
+2006-09-27  Richard Sandiford  <richard@codesourcery.com>
+
+       * reload1.c (alter_reg): Require the alignment of the stack slot to
+       be at least reg_max_ref_width bytes.
+       (scan_paradoxical_subregs): Record the largest width in
+       reg_max_ref_width.
+
+2006-09-26  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/25261
+       PR middle-end/28790
+       * tree-nested.c (struct nesting_info): Added static_chain_added.
+       (convert_call_expr): Set static_chain_added when adding static
+       chain.  Handle OMP_PARALLEL and OMP_SECTION.
+
+2006-09-25  Matthias Klose  <doko@debian.org>
+
+       * doc/invoke.texi: Add missing full stop.
+
+2006-09-25  Richard Henderson  <rth@redhat.com>
+
+       * cgraph.c (dump_cgraph_varpool_node): Don't crash if called
+       before cgraph_function_flags_ready.
+
+2006-09-24  Zdenek Dvorak <dvorakz@suse.cz>
+           Adam Nemet  <anemet@caviumnetworks.com>
+
+       * tree-ssa-loop-ivopts.c (aff_combination_convert,
+       determine_common_wider_type): New functions.
+       (get_computation_aff): Use them to simplify arithmetic between
+       UBASE and CBASE if they are shortened from the same type.
+
+2006-09-24  Kazu Hirata  <kazu@codesourcery.com>
+
+       PR target/28911
+       * config/m68k/m68k.md (negsf2, negdf2, negxf2): Use
+       -2147483647 - 1 instead of 0x80000000.
+
+2006-09-23  Revital1 Eres  <ERES@il.ibm.com>
+
+       * flags.h (HONOR_NANS): Fix typo in comment.
+
+2006-09-23  Uros Bizjak <uros@kss-loka.si>
+
+       * config/i386/driver-i386.c (host_detect_local_cpu): Add prototype.
+
+2006-09-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/28706
+       PR c/28712
+       * tree.c (merge_attributes, attribute_list_contained): If both
+       TREE_VALUEs are TREE_LISTs, use simple_cst_list_equal instead of
+       simple_cst_equal.
+       * c-typeck.c (comptypes_internal): Don't consider aggregates
+       in different TUs as compatible if there one set of attributes is
+       not a subset of the other type's attributes.
+       (composite_type): Try harder not to create a new aggregate type.
+
+2006-09-22  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/i386/driver-i386.c: Always define host_detect_local_cpu.
+       * config/i386/i386.h: Define EXTRA_SPEC_FUNCTIONS on any i386
+       or x86_64 host.  Define HAVE_LOCAL_CPU_DETECT.
+       (CC1_CPU_SPEC): Make conditional on HAVE_LOCAL_CPU_DETECT rather
+       than replicating condition above.
+       * config.host (i[34567]86-*-*): Always use driver-i386.o.
+
+       * config/darwin.h (LINK_SYSROOT_SPEC): New.
+       (LINK_SPEC): If TARGET_SYSTEM_ROOT is defined, pass it to
+       the linker by default.
+
+2006-09-22  Mike Stump  <mrs@apple.com>
+
+       * config/rs6000/darwin.h (PROFILE_HOOK): Reassociate comment with
+       code.
+
+2006-09-22  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/28964
+       * cfgexpand.c (stack_var_size_cmp): Use DECL_UID to make
+       sort of stack variables stable.
+
+2006-09-22  Peter Bergner <bergner@vnet.ibm.com>
+
+       PR middle-end/28690
+       * explow.c (force_reg): Set REG_POINTER flag according to
+       MEM_POINTER flag.
+
+2006-09-22  Zdenek Dvorak <dvorakz@suse.cz>
+
+       PR tree-optimization/28888
+       * tree-if-conv.c (combine_blocks): Rewritten.
+       * tree-cfg.c (tree_verify_flow_info): Check that edges with
+       EDGE_TRUE/FALSE_VALUE follow COND_EXPR.
+
+2006-09-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree-ssa-propagate.c (set_rhs): Copy EXPR_LOCATION if
+       needed.
+
+2006-09-21  Richard Sandiford  <richard@codesourcery.com>
+
+       * varasm.c (copy_constant): Fix reversed gcc_assert check.
+
+2006-09-21  Janis Johnson  <janis187@us.ibm.com>
+
+       * ginclude/decfloat.h (DEC*_DEN): Define using the correct builtins.
+
+2006-09-21  Roger Sayle  <roger@eyesopen.com>
+
+       PR debug/29132
+       * dwarf2out.c (dwarf2out_begin_prologue): Initialise the current label,
+       dw_fde_current_label, to be the start of the function, i.e. the same
+       value as dw_fde_begin.
+
+2006-09-20  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/mips/mips.c (CODE_FOR_mips_abs_ps): Delete.
+       * config/mips/mips.md (UNSPEC_ABS_PS): New constant.
+       (UNSPEC_RSQRT1, UNSPEC_RSQRT2, UNSPEC_RECIP1, UNSPEC_RECIP2)
+       (UNSPEC_SINGLE_CC, UNSPEC_SCC): Bump values by 1.
+       (*nmadd<mode>, *nmadd<mode>_fastmath): Require !HONOR_NANS.
+       (*nmsub<mode>, *nmsub<mode>_fastmath): Likewise.
+       (abs<mode>2, neg<mode>2): Likewise.
+       * config/mips/mips-ps-3d.md (mips_abs_ps): New define_expand.
+       (*mips_abs_ps): New define_insn.
+
+2006-09-20  Josh Conner  <jconner@apple.com>
+
+       PR middle-end/25505
+       * calls.c (expand_call): Allow reuse of structure return stack
+       temp.
+
+2006-09-20  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/unwind-arm.c (selfrel_offset31): Clear top bit for
+       positive offsets.
+
+2006-09-20  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/extend.texi (Decimal Float): Update for latest draft TR,
+       clean up terminology.
+
+2006-09-20  Steve Ellcey  <sje@cup.hp.com>
+
+       PR target/28574
+       * ifcvt.c (dead_or_predicable): Don't predicate then blocks
+       with tablejumps in them.
+
+2006-09-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/28046
+       * c-omp.c (c_finish_omp_atomic): If ADDR is not simple enough,
+       wrap it into TARGET_EXPR.
+
+2006-09-20  Eric Christopher  <echristo@apple.com>
+
+       * config/i386/i386.c (x86_fisttp): Remove.
+       * config/i386/i386.h (x86_fisttp): Ditto.
+       (TARGET_FISTTP): Ditto.
+
+2006-09-19  Eric Christopher  <echristo@apple.com>
+
+       * doc/tm.texi (OBJC_JBLEN): Describe.
+       * config/i386/darwin.h (OBJC_JBLEN): Define.
+       * config/rs6000/darwin.h: Ditto.
+
+2006-09-19  Steven Bosscher  <steven@gcc.gnu.org>
+
+       PR rtl-optimization/21299
+       * reload1.c (reload): Purge invalid ASMs in the final pass.
+
+2006-09-19  Steve Ellcey  <sje@cup.hp.com>
+
+       PR  28490
+       * config/ia64/ia64.c (ia64_legitimate_constant_p): Allow function
+       pointers as legitimate constants.
+
+2006-09-19  Paul Brook  <paul@codesourcery.com>
+
+       PR target/28516
+       * config/arm/arm.c (arm_unwind_emit_set): Handle reg = sp + const.
+
+2006-09-17  Zdenek Dvorak <dvorakz@suse.cz>
+
+       PR tree-optimization/28887
+       * tree-ssa-loop-prefetch.c (analyze_ref): Strip nonaddressable
+       component parts from the reference.
+       (gather_memory_references_ref): Record the reference without the
+       nonaddressable component parts.
+
+2006-09-17  Steven Bosscher  <steven@gcc.gnu.org>
+
+       PR c/25993
+       * c-opts.c (c_common_handle_option): Ignore the -std options
+       if the input language is assembly.
+
+2006-09-17  Ira Rosen  <irar@il.ibm.com>
+
+       PR tree-opt/21591
+       * tree-data-ref.c (ptr_decl_may_alias_p): Look for the name memory
+       tag first.
+       (ptr_ptr_may_alias_p): Likewise.
+       (record_record_differ_p): New function.
+       (base_object_differ_p): Call record_record_differ_p.
+
+2006-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/29059
+       * tree-ssa-propagate.c (set_rhs): Reject MODIFY_EXPR right
+       away for the expr argument.
+
+2006-09-16  Steven Bosscher  <steven@gcc.gnu.org>
+
+       PR tree-opt/27742
+       * tree-vectorizer.c (vectorize_loops): Clear vect_loop_location
+       before using it for dumping after vectorizing loops.
+
+2006-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
+           Jack Howarth  <howarth@bromo.med.uc.edu>
+
+       PR target/29030
+       * config/rs6000/rs6000.c (rs6000_darwin64_record_arg_advance_recurse)
+       skip on error_mark_node.
+       (rs6000_darwin64_record_arg_recurse): Likewise.
+
+2006-09-16  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * rtl.h (LABEL_OUTSIDE_LOOP_P): Remove.
+       * doc/rtl.texi: Remove related documentation.
+
+2006-09-16  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * loop-doloop.c (doloop_optimize): Remove bogus arg from debugging
+       printf.
+
+2006-09-15  Jim Wilson  <wilson@specifix.com>
+
+       * config/ia64/ia64.c (ia64_legitimate_constant_p, cast CONST):
+       Handle symbol offsets same as they are handled in ia64_expand_move
+       and move_operand.
+
+2006-09-16  Andreas Tobler  <a.tobler@schweiz.org>
+
+       * loop-doloop.c (doloop_optimize): Change type of max_cost to int.
+       Add forgotten parameter to the fprintf call.
+
+2006-09-15  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/hpux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Add define.
+
+2006-09-15  Uros Bizjak <uros@kss-loka.si>
+
+       * doc/contrib.texi: Add my entry.
+
+2006-09-15  Nick Clifton  <nickc@redhat.com>
+
+       * doc/md.texi (Processor pipeline description): Fix typo in
+       example of how to use the absence_set directive and reword the
+       description to make it slightly easier to read.
+
+2006-09-15  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * params.def (PARAM_MAX_ITERATIONS_COMPUTATION_COST): New.
+       * loop-doloop.c (doloop_optimize): Use it to limit costs of
+       expanding the number of iterations.
+       * config/bfin/bfin.c (bfin_rtx_costs): Handle UDIV, UMOD.
+
+       * cfgrtl.c (emit_insn_at_entry): New function.
+       * rtl.h (emit_insn_at_entry): Declare it.
+       * integrate.c (emit_initial_value_sets): Use it.
+
+       * cfgrtl.c (emit_insn_at_entry): Use gcc_assert, not abort.
+
+       * config/bfin/bfin.c (struct loop_info): New members block_bitmap and
+       bad.
+       (struct loop_work and related VEC declarations): Delete.
+       (bfin_dump_loops): Print out new member bad.
+       (bfin_bb_in_loop): Use plain bitmap test.  Don't recurse.
+       (bfin_scan_loop): Don't recurse.
+       (bfin_optimize_loop): Don't use a loop depth of -1 to indicate bad
+       loops.  No longer need to update outer loops if the current one is
+       found bad.  Move some validitiy checks to bfin_discover_loop.
+       (bfin_discover_loop): New function, mostly split from bfin_reorg_loops,
+       but changed not to check for nesting.  Also changed to use the new bad
+       flag.
+       (bfin_reorg_loops): Use bfin_discover_loop to find single loops one at a
+       time.  Use bitmap based test to discover loop nesting.
+
+2006-09-15  Kazu Hirata  <kazu@codesourcery.com>
+
+       * doc/tm.texi (TARGET_FUNCTION_VALUE): Put @deftypefn all in
+       one line.
+
+2006-09-14  Richard Guenther  <rguenther@suse.de>
+           Kazu Hirata  <kazu@codesourcery.com>
+
+       PR middle-end/28884.
+       * doc/tm.texi (TARGET_FUNCTION_VALUE): Document.
+       (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE): Deprecate.
+       Replace mentions of FUNCTION_VALUE and FUNCTION_OUTGOING_VALUE
+       with TARGET_FUNCTION_VALUE.
+
+2006-09-14  Anatoly Sokolov <aesok@post.ru>
+
+       PR target/26504
+       * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.
+
+2006-09-13  Aldy Hernandez  <aldyh@redhat.com>
+
+       * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand
+       of a RETURN_EXPR
+
+2006-09-13  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR debug/28980
+       * dwarf2out.c (loc_descriptor_from_tree_1): Handle
+       FUNCTION_DECL.
+
+2006-09-13  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * basic_block.h (bb_has_eh_pred): Fix comment.
+
+2006-09-13  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * flow.c (calculate_global_regs_live): Invalidate eh registers
+       on eh edges. Renamed invalidated_by_call to invalidated_by_eh_edge.
+       (propagate_block): Handle eh registers as if they were set at basic
+       block start.
+       * except.c (dw2_build_landing_pads): Don't emit clobbers for eh
+       registers.
+       * global.c (global_conflicts): Make eh registers to conflict with
+       pseudos live at basic block begin.
+       * basic_block.h (bb_has_eh_pred): New function.
+
+2006-09-13  Richard Sandiford  <richard@codesourcery.com>
+
+       PR rtl-optimization/28982
+       * reload.c (find_reloads_address_1): Use RELOAD_OTHER for the
+       index of a PRE_MODIFY or POST_MODIFY address.
+       * reload1.c (inc_for_reload): Use find_replacement on the original
+       base and index registers.
+
+2006-09-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * doc/invoke.texi (mpreferred-stack-boundary): Remove exception
+       for -Os. Update __m128 alignment requirement.
+
+2006-09-13  Jan Hubicka  <jh@suse.cz>
+
+       * cfganal.c (compute_dominance_frontiers_1): Don't be quadratic.
+
+2006-09-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR rtl-optimization/28243
+       * combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past
+       the insn to which the note was originally attached.
+
+2006-09-12  Andrew Pinski  <pinskia@physics.uc.edu>
+           Roger Sayle  <roger@eyesopen.com>
+
+       * dwarf2out.c (file_table_last_lookup): Move this GC'd declaration
+       outside of #ifdef DWARF2_DEBUGGING_INFO to fix bootstrap failure
+       on platforms that don't use dwarf for debug info.
+
+2006-09-12  Jason Merrill  <jason@redhat.com>
+
+       PR middle-end/28493
+       * builtins.c (expand_builtin_setjmp_receiver): Clobber
+       hard_frame_pointer_rtx after using it to update the frame pointer.
+
+2006-09-12  Roger Sayle  <roger@eyesopen.com>
+
+       * target-def.h (TARGET_ASM_OPEN_PAREN): Guard with an #ifndef.
+       (TARGET_ASM_CLOSE_PAREN): Likewise.
+       * config/alpha/osf5.h (TARGET_ASM_OPEN_PAREN): Define.
+       (TARGET_ASM_CLOSE_PAREN): Likewise.
+
+2006-09-12  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/22223
+       * config/alpha/alpha.c (alpha_start_function): Don't emit stack
+       frame information for frames larger than 512 Kbytes on Tru64 when
+       using the native assembler.
+
+2006-09-12  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/4520
+       PR bootstrap/28784
+       * cselib.c (cselib_hash_rtx): Avoid hashing on the address of labels
+       and symbols.  Instead use the implementation from cse.c's hash_rtx.
+
+2006-09-12  Jan Hubicka  <jh@suse.cz>
+
+       PR rtl-optimization/28071
+       * tree-vect-transform.c (vect_create_data_ref_ptr): Kill cast.
+       (vect_transform_loop): Likewise.
+       * tree-vectorizer.c (new_loop_vec_info): Likewise.
+       (new_loop_vec_info): Likewise.
+       (destroy_loop_vec_info): Likewise.
+       * tree-dfa.c (create_var_ann): Use GCC_CNEW.
+       (create_stmt_ann): Likewise.
+       (create_tree_ann): Rename to ...
+       (create_tree_common_ann): ... this one; allocate only the common part
+       of annotations.
+       * tree-vn.c (set_value_handle): Use get_tree_common_ann.
+       (get_value_handle): Likewise.
+       * tree-ssa-pre.c (phi_translate): Delay annotation allocation for
+       get_tree_common_ann.
+       * tree-vectorizer.h (set_stmt_info): Take stmt annotation.
+       (vinfo_for_stmt): Use stmt annotations.
+       * tree-flow.h (tree_ann_common_t): New type.
+       (tree_common_ann, get_tree_common_ann, create_tree_common_ann): New.
+       (tree_ann, get_tree_ann, create_tree_ann): New.
+       * tree-flow-inline.h (get_function_ann): Do more type checking.
+       (stmt_ann): Likewise.
+       (tree_ann): Rename to ...
+       (tree_common_ann): ... this one; return ony common_ann
+       (get_tree_ann): Rename to ...
+       (tree_common_ann): This one; return only common_ann.
+       * tree-vect-patterns.c (vect_pattern_recog_1): Update call
+       of set_stmt_info.
+
 2006-09-11  Geoffrey Keating  <geoffk@apple.com>
 
        * config.gcc (i[34567]86-*-darwin*): Set with_arch and