OSDN Git Service

* fixed-value.h: New file.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 508b27d..73bf46a 100644 (file)
@@ -1,3 +1,206 @@
+2007-08-06  Chao-ying Fu  <fu@mips.com>
+
+       * fixed-value.h: New file.
+       * fixed-value.c: New file.
+       * Makefile.in (OBJS-common): Add fixed-value.o.
+       (fixed-value.o): New rule.
+       (GTFILES): Add fixed-value.h.
+       * double-int.c (double_int_scmp): We should use unsigned HOST_WIDE_INT
+       to compare a.low and b.low.
+       * gengtype.c (main): Handle FIXED_VALUE_TYPE type as scalar typedef.
+
+2007-08-06  H.J. Lu  <hongjiu.lu@intel.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       PR target/31868
+       * config.gcc (x86_64-*-freebsd*): Add i386/t-crtstuff to
+       tmake_file.
+       (x86_64-*-netbsd*): Likewise.
+       (x86_64-*-linux*): Likewise.
+       (x86_64-*-kfreebsd*-gnu): Likewise.
+       (x86_64-*-knetbsd*-gnu): Likewise.
+       (i[34567]86-*-solaris2.1[0-9]*): Likewise.
+
+       * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Removed.
+
+       * config/i386/t-crtstuff (CRTSTUFF_T_CFLAGS): Update comments.
+       Add -fno-asynchronous-unwind-tables.
+
+       * config/t-freebsd (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS).
+       * config/t-libc-ok (CRTSTUFF_T_CFLAGS_S): Likewise.
+       * config/t-lynx (CRTSTUFF_T_CFLAGS_S): Likewise.
+       * config/t-netbsd (CRTSTUFF_T_CFLAGS_S): Likewise.
+       * config/t-svr4 (CRTSTUFF_T_CFLAGS_S): Likewise.
+
+2007-08-06  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.c (ia64_c_mode_for_suffix): New.
+       (TARGET_C_MODE_FOR_SUFFIX): New.
+
+2007-08-06  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/div.md (m2subrf4_cond): Change 'g' to 'G'.
+
+2007-08-06  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/ia64.h (MODES_TIEABLE_P): Fix typo.
+
+2007-08-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.md: Check TARGET_ macros and optimize_size
+       before checking function returns in conditional expressions.
+
+2007-08-06  Alfred Minarik  <a.minarik@aon.at>
+
+       PR pch/13676
+       * doc/invoke.texi: Add .hp, .hxx, .hpp, .h, .HPP, .tcc as c++ header.
+
+2008-08-05  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR middle-end/32988
+       * tree.c (build2_stat): Instead of checking for INTEGER_TYPE, check
+       for INTEGRAL_TYPE_P.
+
+2008-08-05  Paolo Bonzini  <bonzini@gnu.org>
+
+       * configure.ac: Remove --enable-checking=df from default settings.
+       * tree-pass.h (TODO_df_verify): New.  Shift TODO_mark_first_instance.
+       * df-core.c (df_finish_pass) [ENABLE_CHECKING]: Schedule verification
+       if the parameter is true.
+       (df_analyze) [!ENABLE_DF_CHECKING]: Also do verification if the
+       DF_VERIFY_SCHEDULED flag is true.
+       * df.h (enum df_changeable_flags): Add DF_VERIFY_SCHEDULED.
+       (df_finish_pass): Adjust prototype.
+       * passes.c (execute_todo): Schedule verification if TODO_df_verify is
+       true.
+
+       * see.c (pass_see): Add TODO_df_verify.
+       * loop-init.c (pass_rtl_move_loop_invariants): Add TODO_df_verify.
+       * global.c (rest_of_handle_global_alloc): Schedule verification
+       after the pass.
+       * local-alloc.c (rest_of_handle_local_alloc): Schedule verification
+       before the pass.
+       * function.c (pass_thread_prologue_and_epilogue): Add TODO_df_verify.
+       * gcse.c (rest_of_handle_gcse): Adjust call to df_finish_pass.
+       * loop-iv.c (iv_analysis_done): Schedule verification after the pass.
+
+       * config/sh/sh.c (sh_output_mi_thunk): Remove dead code.
+       * config/ia64/ia64.c (ia64_reorg): Adjust call to df_finish_pass.
+       * config/bfin/bfin.c (bfin_reorg): Adjust call to df_finish_pass.
+
+2007-08-05  Vladimir Yanovsky  <yanov@il.ibm.com>
+           Revital Eres <eres@il.ibm.com>
+
+       * doc/invoke.texi (-fmodulo-sched-allow-regmoves): Document new
+       flag.
+       * ddg.c (create_ddg_dependence): Rename to...
+       (create_ddg_dep_from_intra_loop_link): This.  Do not check
+       for interloop edges.  Do not create anti dependence edge when
+       a true dependence edge exists in the opposite direction and
+       -fmodulo-sched-allow-regmoves is set.
+       (build_intra_loop_deps): Call create_ddg_dep_from_intra_loop_link.
+       (add_cross_iteration_register_deps): Create anti dependence edge
+       when -fno-modulo-sched-allow-regmoves is set.
+       * common.opt (-fmodulo-sched-allow-regmoves): New flag.
+
+2007-08-04  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/arm/arm.md (movsi): Add braces.
+
+2007-08-04  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR middle-end/32780
+       * fold-const.c (fold_binary <case MINUS_EXPR>): Fix the type of operands
+       for the folding of "A - (A & B)" into "~B & A"; cast them to type.
+
+2007-08-03  Zdenek Dvorak  <ook@ucw.cz>
+
+       * tree-ssa-threadupdate.c (thread_through_all_blocks): Use loops' state
+       accessor functions.
+       * cfgloopmanip.c (remove_path, create_preheaders,
+       force_single_succ_latches, fix_loop_structure): Ditto.
+       * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa,
+       tree_duplicate_loop_to_header_edge): Ditto.
+       * cfgloopanal.c (mark_irreducible_loops): Ditto.
+       * loop-init.c (loop_optimizer_init, loop_optimizer_finalize):
+       Ditto.
+       * tree-cfgcleanup.c (cleanup_tree_cfg_noloop, repair_loop_structures,
+       cleanup_tree_cfg): Ditto.
+       * tree-cfg.c (tree_merge_blocks): Ditto.
+       * cfgloop.c (rescan_loop_exit, record_loop_exits,
+       release_recorded_exits, get_loop_exit_edges, verify_loop_structure,
+       loop_preheader_edge, single_exit): Ditto.
+       (flow_loops_find): Do not clear loops->state.
+       * cfgloop.h (loops_state_satisfies_p, loops_state_set,
+       loops_state_clear): New functions.
+
+2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR middle-end/32399
+       * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR
+       when adding to the base and convert ELT to sizetype instead of type.
+
+2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR middle-end/32304
+       * ipa-reference.c (has_proper_scope_for_analysis): Return false when
+       the decl's type has TYPE_NEEDS_CONSTRUCTING set.
+
+2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR middle-end/32935
+       * fold-convert.c (fold_negate_expr <NOP_EXPR>): Convert back to the
+        correct type the negate expression.
+
+2007-08-03  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (setup_incoming_varargs_64): Tolerate 64bit preferred
+       stack boundary.
+
+2007-08-03  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (struct processor_cost): Change
+       l1_cache_lines to l1_cache_size.  Add l2_cache_size.
+       (*_cost): Convert l1 cache information to kilobytes.  Add l2 cache
+       information.
+       (rios1_costs, rios2_cost): Correct cache line size.
+       (rs6000_override_options): Set l2-cache-size parameter.
+
+2007-08-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+           Diego Novillo  <dnovillo@google.com>
+
+       PR 31521
+       * tree-vrp.c (simplify_div_or_mod_using_ranges): Also simplify
+       if the range includes 0.
+
+2007-08-03  Ben Elliston  <bje@au.ibm.com>
+
+       * config/spu/spu.md (dftsv, dftsv_celledp): Attach the appropriate
+       mode to unspec expressions to silence a warning from the generator
+       programs.
+       
+2007-08-02  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/ia64/constraints.md ("U"): Make constraint vector only.
+
+2007-08-02  Nathan Froyd  <froydnj@codesourcery.com>
+
+       PR middle-end/25446
+       * c-objc-common.c (c_cannot_inline_tree_fn): Check for an
+       always_inline attribute on the function decl.
+
+2007-08-02  Nathan Froyd  <froydnj@codesourcery.com>
+
+       PR middle-end/25445
+       * varasm.c (default_binds_local_p_1): Consult flag_whole_program
+       if we are compiling with -fPIC.
+
+2007-08-02  Sandra Loosemore  <sandra@codesourcery.com>
+           Nigel Stephens  <nigel@mips.com>
+
+       * longlong.h [__mips__] (count_leading_zeros, COUNT_LEADING_ZEROS_0):
+       Define for MIPS32 and MIPS64.
+
 2007-08-02  Nick Clifton  <nickc@redhat.com>
 
        * config/host-hpux.c: Change copyright header to refer to version
        * doc/invoke.texi: Follow spelling conventions.
 
 2007-07-29  Vladimir Yanovsky  <yanov@il.ibm.com>
-            Revital Eres  <eres@il.ibm.com>
+           Revital Eres  <eres@il.ibm.com>
 
        * modulo-sched.c (sms_schedule): Avoid loops which includes
        auto-increment instructions.
 2007-07-16  Sandra Loosemore  <sandra@codesourcery.com>
            David Ung  <davidu@mips.com>
 
-        * config/mips/mips.h (TUNE_24K): Define.
+       * config/mips/mips.h (TUNE_24K): Define.
        (TUNE_MACC_CHAINS): Add TUNE_24K.
-        * config/mips/mips.md: (*mul_acc_si, *mul_sub_si): Change type to
-        imadd.
-        * config/mips/74k.md (r74k_int_mult): Split madd/msub to ..
-        (r74k_int_madd): .. this new reservation.
-        (define_bypass): Fixed bypasses for r74k_int_madd to use
+       * config/mips/mips.md: (*mul_acc_si, *mul_sub_si): Change type to
+       imadd.
+       * config/mips/74k.md (r74k_int_mult): Split madd/msub to ..
+       (r74k_int_madd): .. this new reservation.
+       (define_bypass): Fixed bypasses for r74k_int_madd to use
        mips_linked_madd_p.
-        * config/mips/24k.md (define_bypass): Define new
-        r24k_int_mul3->r24k_int_madd bypass using mips_linked_madd_p.
+       * config/mips/24k.md (define_bypass): Define new
+       r24k_int_mul3->r24k_int_madd bypass using mips_linked_madd_p.
 
 2007-07-16  Sandra Loosemore  <sandra@codesourcery.com>
            Nigel Stephens  <nigel@mips.com>
        * doc/tm.texi (DOLLARS_IN_IDENTIFIERS): Update.
 
 2007-07-06  Ian Lance Taylor  <iant@google.com>
-            Zack Weinberg  <zackw@panix.com>
+           Zack Weinberg  <zackw@panix.com>
 
        PR middle-end/32441
        * builtins.c (std_expand_builtin_va_start): Don't use make_tree.
        after \.
 
 2007-07-04  David Ung  <davidu@mips.com>
-            Joseph Myers  <joseph@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
 
        * config/mips/mips.md (type): Add logical, signext and move.
        (one_cmpl<mode>2, *and<mode>3, *and<mode>3_mips16, *ior<mode>3,
 
 2007-06-26  Kenneth Zadeck <zadeck@naturalbridge.com>
 
-        * tree.def (VEC_WIDEN_MULT_LO_EXPR): Corrected string name.
+       * tree.def (VEC_WIDEN_MULT_LO_EXPR): Corrected string name.
        
 2007-06-26  Steve Ellcey  <sje@cup.hp.com>
 
 
 2007-06-21  Kenneth Zadeck <zadeck@naturalbridge.com>
 
-        * df-problems.c (df_note_bb_compute): Made computation of live
+       * df-problems.c (df_note_bb_compute): Made computation of live
        info consistent with df_lr.
 
 2007-06-21  Richard Guenther  <rguenther@suse.de>
        (epilogue_reit): Rename to epilogue_reit_24.
 
 2007-06-20  Seongbae Park  <seongbae.park@gmail.com>
-            Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>
+           Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>
 
        * dbgcnt.def (global_alloc_at_func, global_alloc_at_reg):
        New counters.
        (Intel 386 and AMD x86_64 Options): Document -mrecip.
 
 2007-06-15  Andrew Pinski <andrew_pinski@playstation.sony.com>
-            Zdenek Dvorak <dvorakz@suse.cz>
-            Richard Guenther  <rguenther@suse.de>
-            Kaz Kojima  <kkojima@gcc.gnu.org>
+           Zdenek Dvorak <dvorakz@suse.cz>
+           Richard Guenther  <rguenther@suse.de>
+           Kaz Kojima  <kkojima@gcc.gnu.org>
 
        * tree-vrp.c (compare_values_warnv): Convert val2 to
        the type of val1.
        (vect_estimate_min_profitable_iterations): New function to estimate
        mimimimum iterartions required for vector version of loop to be
        profitable over scalar version.
-        (vect_model_reduction_cost): New function.
+       (vect_model_reduction_cost): New function.
        (vect_model_induction_cost): New function.
        (vect_model_simple_cost): New function.
        (vect_cost_strided_group_size): New function.
        * langhooks.h (struct lang_hooks): Removed field
        'can_use_bit_fields_p'.
 
-2007-01-10  Ralf CorsÃ\83©pius <ralf.corsepius@rtems.org>
+2007-01-10  Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * config/bfin/t-bfin, config/bfin/t-bfin-elf: Remove GCC_CFLAGS.
 
        * config/frv/predicates.md (reg_or_0_operand): Accept
        CONST_DOUBLEs.
 
-2007-01-08  Ralf CorsÃ\83©pius <ralf.corsepius@rtems.org>
+2007-01-08  Ralf Corsépius <ralf.corsepius@rtems.org>
 
        * config/bfin/rtems.h, config/bfin/t-rtems: New.
        * config.gcc: Add bfin*-rtems*.