OSDN Git Service

* c-gimplify.c (c_genericize): Don't refer to DECL_ASSEMBLER_NAME
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5582866..e539356 100644 (file)
@@ -1,3 +1,174 @@
+2008-10-10  Alexandre Oliva  <aoliva@redhat.com>
+
+       * c-gimplify.c (c_genericize): Don't refer to DECL_ASSEMBLER_NAME
+       before ensuring it's already computed.
+
+2008-10-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * rtl.h (locator_eq): New decl.
+       * cfglayout.c (locator_scope): New function.
+       (insn_scope): Use it.
+       (locator_eq): New function.
+       (fixup_reorder_chain): Search for last insn in src bb
+       that has locator set or first insn in dest bb.  Use
+       locator_eq instead of == to compare locators.
+       * cfgrtl.c (cfg_layout_merge_blocks): Likewise.
+       * cfgcleanup.c (try_forward_edges): Use locator_eq instead of
+       == to compare locators.
+
+       * tree-ssa-live.c (remove_unused_locals): Mark all edge's goto_block
+       as used.
+       * gimple-low.c (lower_function_body, lower_gimple_return,
+       lower_builtin_setjmp): Set gimple_block on the newly created stmts.
+       * tree-cfg.c (make_cond_expr_edges, make_goto_expr_edges): Only set
+       goto_block on edges if goto_locus is known.
+
+       PR middle-end/37774
+       * tree.h (get_object_alignment): Declare.
+       * emit-rtl.c (set_mem_attributes_minus_bitpos): Call
+       get_object_alignment if needed.
+       * builtins.c (get_pointer_alignment): Move ADDR_EXPR operand handling
+       to ...
+       (get_object_alignment): ... here.  New function.  Try harder to
+       determine alignment from get_inner_reference returned offset.
+
+2008-10-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * graphite.c (gloog): Don't call find_unreachable_blocks
+       before delte_unreachable_blocks.
+
+       * cfgexpand.c (expand_gimple_cond): Convert also goto_block and
+       goto_locus of true_edge into RTL locator.
+
+2008-10-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*jcc_btdi_rex64): Clobber FLAGS_REG.
+       (*jcc_btdi_mask_rex64): Ditto.
+       (*jcc_btsi): Ditto.
+       (*jcc_btsi_mask): Ditto.
+       (*jcc_btsi_1): Ditto.
+       (*jcc_btsi_mask_1): Ditto.
+
+2008-10-08  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/bpabi.h (ARM_FUNCTION_PROFILER): Define new EABI
+       compatible profiler (__gnu_mcount_nc).
+       (SUBTARGET_FRAME_POINTER_REQUIRED): Define.
+
+2008-10-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.c (initial_ix86_tune_features): Add
+       X86_TUNE_USE_VECTOR_FP_CONVERTS.
+       * config/i386/i386.h (ix86_tune_indices): Likewise.
+       (TARGET_USE_VECTOR_FP_CONVERTS): New.
+
+       * config/i386/i386.md: Check TARGET_USE_VECTOR_FP_CONVERTS
+       instead of (TARGET_USE_VECTOR_CONVERTS || TARGET_GENERIC)
+       for FP to FP splitters.
+
+2008-10-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.md: Add missing gen_sse2_cvtdq2p to convert
+       splitter.
+
+2008-10-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/36635
+       PR target/37290
+       PR rtl-optimization/37341
+       * cse.c (cse_cc_succs): Add ORIG_BB argument, don't follow edges
+       to ORIG_BB, pass through ORIG_BB recursively.
+       (cse_condition_code_reg): Adjust caller.
+
+2008-10-08  Kai Tietz  <kai.tietz@onevision.com>
+
+       * sdbout.c (sdbout_one_type): Treat the value type
+       CONST_DECL for enumerals.
+
+2008-10-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.md: Remove trailing white spaces.
+
+2008-10-07  Kenneth Zadeck <zadeck@naturalbridge.com>
+
+       PR rtl-optimization/37448
+       * alloc-pool.c (struct alloc_pool_descriptor) [elt_size]: New field.
+       (stuct alloc_pool_descriptor) [created, allocated, current, peak]:
+       Make unsigned long.
+       (struct output_info) [count]: Renamed total_created and made
+       unsigned long.
+       (struct output_info) [size]: Renamed total_allocated and made
+       unsigned long.
+       (create_alloc_pool, empty_alloc_pool, pool_alloc, pool_free):
+       Properly keep track of desc->size.
+       (print_statistics, dump_alloc_pool_statistics): Enhance the
+       printing of statistics to print the number of elements and to use
+       unsigned longs.
+       
+2008-10-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/37576
+       * opts.h (CL_SAVE): Move up to flags range.
+       (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_TARGET,
+       CL_COMMON): Renumber.
+       (CL_MIN_OPTION_CLASS): Set to CL_PARAMS.
+       * opts.c (common_handle_option): Revert last change.
+
+2008-10-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386-protos.h (ix86_schedule): New.
+
+       * config/i386/i386.c (ix86_schedule): New.
+       (override_options): Add schedule to processor_alias_table.  Set
+       ix86_schedule from the schedule field in processor_alias_table.
+       (ix86_function_specific_save): Save ix86_schedule.
+       (ix86_function_specific_restore): Restore ix86_schedule.
+
+       * config/i386/i386.md (cpu): Map to ix86_schedule instead of
+       ix86_tune.  Add none and remove i386, i486, pentium4, nocona
+       and generic32.
+
+       * config/i386/i386.opt: Add schedule.
+
+       * config/i386/ppro.md: Remove generic32.
+
+2008-10-07  Simon Martin  <simartin@users.sourceforge.net>
+
+       PR c/35437
+       * expr.c (count_type_elements): Handle ERROR_MARK.
+
+2008-10-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/29609
+       PR debug/36690
+       PR debug/37616
+       * basic-block.h (struct edge_def): Add goto_block field.
+       * cfglayout.c (fixup_reorder_chain): Ensure that there is at least
+       one insn with locus corresponding to edge's goto_locus if !optimize.
+       * profile.c (branch_prob): Copy edge's goto_block.
+       * cfgrtl.c (force_nonfallthru_and_redirect): Use goto_locus for
+       emitted jumps.
+       (cfg_layout_merge_blocks): Emit a nop with edge's goto_locus
+       locator in between the merged basic blocks if !optimize and needed.
+       * cfgexpand.c (expand_gimple_cond): Convert goto_block and
+       goto_locus into RTL locator.  For unconditional jump use that
+       locator for the jump insn.
+       (expand_gimple_cond): Convert goto_block and goto_locus into
+       RTL locator for all remaining edges.  For unconditional jump
+       use that locator for the jump insn.
+       * cfgcleanup.c (try_forward_edges): Avoid the optimization if
+       there is more than one edge or insn locator along the forwarding
+       edges and !optimize.  If there is just one, set e->goto_locus.
+       * tree-cfg.c (make_cond_expr_edges, make_goto_expr_edges): Set also
+       edge's goto_block.
+       (move_block_to_fn): Adjust edge's goto_block.
+
+2008-10-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR middle-end/37731
+       * expmed.c (expand_mult): Properly check DImode constant in
+       CONST_DOUBLE.
+
 2008-10-07  Jakub Jelinek  <jakub@redhat.com>
 
        PR debug/37738
        (print_operand_address): Always use output_addr_const for
        constant pool addresses.
        (rs6000_output_addr_const_extra): New function.
-       (create_TOC_reference): Create an UNSPEC_TOCREL instead of
-       a MINUS.
+       (create_TOC_reference): Create an UNSPEC_TOCREL instead of a MINUS.
 
 2008-10-06  Vladimir Makarov  <vmakarov@redhat.com>
 
        * config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Revert
        TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT.
        (function_arg_advance): Condition on TARGET_DOUBLE_FLOAT,
-       TARGET_SINGLE_FLOAT.
-       Revert SCALAR_FLOAT_MODE_P condition.
-       (function_arg): Condition on TARGET_DOUBLE_FLOAT,
-       TARGET_SINGLE_FLOAT.
+       TARGET_SINGLE_FLOAT.  Revert SCALAR_FLOAT_MODE_P condition.
+       (function_arg): Condition on TARGET_DOUBLE_FLOAT, TARGET_SINGLE_FLOAT.
        (rs6000_function_value): Revert TARGET_DOUBLE_FLOAT,
        TARGET_SINGLE_FLOAT.
 
        (vec_promote): Define.
 
 2008-10-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
-            Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
-            Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
+           Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
+           Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
 
        * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add Cell
        Altivec intrinsics.
 2008-09-22  Adam Nemet  <anemet@caviumnetworks.com>
 
        * config/mips/mips.h (ISA_HAS_BADDU): New macro.
-       * config/mips/mips.md (*baddu_si_eb, *baddu_si_el,
-       *baddu_di<mode>): New patterns.
+       * config/mips/mips.md (*baddu_si_eb, *baddu_si_el, *baddu_di<mode>):
+       New patterns.
 
 2008-09-22  Richard Guenther  <rguenther@suse.de>
 
        PR target/37528 
        * config/i386/t-cygming (SHLIB_LC): Remove.
        (SHLIB_LINK): Don't add static objects to SHLIB_IMPLIB
-       * config/i386/t-cygwin (SHLIB_LC): Specify all required
-       libraries.
+       * config/i386/t-cygwin (SHLIB_LC): Specify all required libraries.
 
 2008-09-22  Hans-Peter Nilsson  <hp@axis.com>
 
        (SSA Operands): Rename from 'Statement Operands'.
        * doc/generic.texi: New.
        * doc/gimple.texi: New.
-       * Makefile.in (TEXI_GCCINT_FILES): Add generic.texi and
-       gimple.texi.
+       * Makefile.in (TEXI_GCCINT_FILES): Add generic.texi and gimple.texi.
        * Makefile.in (TEXI_GCCINT_FILES):
        * gimple.c (gimple_copy_call_skip_args): Rename from
        giple_copy_call_skip_args.  Update all users.
 2008-09-18  Alexander Monakov  <amonakov@ispras.ru>
 
        PR middle-end/37499
-       * sched-int.h (struct _haifa_insn_data): Remove unused field
-       ref_count.
+       * sched-int.h (struct _haifa_insn_data): Remove unused field ref_count.
 
        * sched-rgn.c (ref_counts): Remove.
        (insn_referenced): New static variable.
        * haifa-sched.c (dep_cost_1): Recognize the producer even if the
        consumer is an asm.  Add comment why this is important.
        (choose_ready): Add comment to the "INSN_CODE (insn) >= 0 ||
-       recog_memoized (insn) < 0" assert.  Put ENABLE_CHECKING around
-       it.
+       recog_memoized (insn) < 0" assert.  Put ENABLE_CHECKING around it.
 
 2008-09-17  Joseph Myers  <joseph@codesourcery.com>
 
 
        * ira-emit.c (change_loop): Use all_allocnos.
 
-       * ira-build.c (create_loop_tree_nodes, finish_loop_tree_node):
-       Ditto.
-       (ira_create_allocno): Set up all_allocnos bit for the created
-       allocno.
+       * ira-build.c (create_loop_tree_nodes, finish_loop_tree_node): Ditto.
+       (ira_create_allocno): Set up all_allocnos bit for the created allocno.
        (create_cap_allocno): Remove setting mentioned_allocnos.
        (create_insn_allocnos): Ditto.
        (remove_unnecessary_allocnos): Use all_allocnos.