OSDN Git Service

2008-01-21 H.J. Lu <hongjiu.lu@intel.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 1700242..4263dab 100644 (file)
@@ -1,3 +1,187 @@
+2008-01-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * regmove.c (fixup_match_1): Update call crossed frequencies.
+
+2008-01-21  Richard Guenther  <rguenther@suse.de>
+
+       PR c/34885
+       * tree-inline.c (setup_one_parameter): Deal with mismatched
+       types using a VIEW_CONVERT_EXPR.
+
+2008-01-21  Alon Dayan  <alond@il.ibm.com>
+           Olga Golovanevsky  <olga@il.ibm.com>
+       
+       PR tree-optimization/34701
+       * ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation
+       when the structure size is not a power of 2.
+
+2008-01-20  Kenneth Zadeck <zadeck@naturalbridge.com>
+
+       * doc/install.texi: Add doc for --enable-checking=df.
+       
+2008-01-20  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR rtl-optimization/34808
+       * emit-rtl.c (try_split): Handle REG_RETVAL notes.
+
+2008-01-20  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per
+       input.
+
+2008-01-19  Kenneth Zadeck <zadeck@naturalbridge.com>
+
+       PR rtl-optimization/26854
+       PR rtl-optimization/34400
+       * ddg.c (create_ddg_dep_from_intra_loop_link): Do not use
+       DF_RD->gen.
+       * df.h (df_changeable_flags.DF_RD_NO_TRIM): New.
+       (df_rd_bb_info.expanded_lr_out): New.
+       * loop_invariant.c (find_defs): Added DF_RD_NO_TRIM flag.
+       * loop_iv.c (iv_analysis_loop_init): Ditto.
+       * df-problems.c (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n,
+       df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free):
+       Added code to allocate, initialize or free expanded_lr_out.
+       (df_rd_bb_local_compute_process_def): Restructured to make
+       more understandable.
+       (df_rd_confluence_n): Add code to do nothing with fake edges and
+       code to no apply invalidate_by_call sets if the sets are being trimmed.
+       (df_lr_local_finalize): Renamed to df_lr_finalize.
+       (df_live_local_finalize): Renamed to df_live_finalize.
+
+2008-01-20  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       PR target/34831
+       * config/mips/mips.md (div<mode>3): Use <recip_condition> when
+       deciding whether to use reciprocal instructions.
+
+2008-01-19  Uros Bizjak  <ubizjak@gmail.com>
+
+       * dwarf2out.c (dwarf2out_switch_text_section): Do not call
+       dwarf2out_note_section_used if cold_text_section is NULL.
+
+2008-01-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR gcov-profile/34610
+       * tree-cfg.c (make_edges): Mark both outgoing edges from
+       OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL.
+       * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits
+       from OMP_FOR and OMP_CONTINUE outgoing edges.
+
+       * tree-profile.c (tree_profiling): Return early if
+       cfun->after_tree_profile != 0.  Set cfun->after_tree_profile
+       at the end.
+       * omp-low.c (expand_omp_parallel): Copy after_tree_profile
+       from cfun to child_cfun.
+       * function.h (struct function): Add after_tree_profile bit.
+
+2008-01-19 Anatoly Sokolov <aesok@post.ru>
+
+       * config/avr/avr.S (_exit): Disable interrupt.
+
+2008-01-18  Kenneth Zadeck  <zadeck@naturalbridge.com>
+           Steven Bosscher  <stevenb.gcc@gmail.com>
+
+       PR rtl-optimization/26854
+       PR rtl-optimization/34400
+       * df-problems.c (df_live_scratch): New scratch bitmap.
+       (df_live_alloc): Allocate df_live_scratch when doing df_live.
+       (df_live_reset): Clear the proper bitmaps.
+       (df_live_bb_local_compute): Only process the artificial defs once
+       since the order is not important.
+       (df_live_init): Init the df_live sets only with the variables
+       found live by df_lr.
+       (df_live_transfer_function): Use the df_lr sets to prune the
+       df_live sets as they are being computed.  
+       (df_live_free): Free df_live_scratch.
+
+2008-01-18  Ian Lance Taylor  <iant@google.com>
+
+       * common.opt: Add fmerge-debug-strings.
+       * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test
+       flag_merge_debug_strings rather than flag_merge_constants.
+       * doc/invoke.texi (Option Summary): Mention
+       -fmerge-debug-strings.
+       (Debugging Options): Document -fmerge-debug-strings.
+
+2008-01-18  Ian Lance Taylor  <iant@google.com>
+
+       PR c++/33407
+       * tree.h (DECL_IS_OPERATOR_NEW): Define.
+       (struct tree_function_decl): Add new field operator_new_flag.
+       * tree-inline.c (expand_call_inline): When inlining a call to
+       operator new, force the return value to go into a variable, and
+       set DECL_NO_TBAA_P on that variable.
+       * c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag.
+
+2008-01-18  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR debug/34484
+       * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with
+       DWARF2_DEBUGGING_INFO.
+       (dwarf2out_note_section_used): Ditto.  Add prototype.
+       (have_multiple_function_sections, text_section_used,
+       cold_text_section_used, *cold_text_sections): Move declarations
+       before their uses.
+
+2007-01-17  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc
+       field and add signal_ra.
+       * config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove
+       assignments to frame state pc.  Move end of stack check after
+       MD_FALLBACK_FRAME_STATE_FOR.
+       (uw_update_context_1): Use frame state signal_regs if set, instead
+       of checking signal_frame flag.
+       (uw_update_context): Use frame state signal_ra if set.
+       * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define.
+       * config/xtensa/linux-unwind.h: New file.
+
+2007-01-18  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * modulo-sched.c (get_sched_window): Fix comment typo.
+
+2008-01-17  Andrew MacLeod  <amacleod@redhat.com>
+
+       PR tree-optimization/34648
+       * tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying.
+
+2008-01-17  Anatoly Sokolov <aesok@post.ru>
+
+       * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around.
+       * config/avr/avr.opt (mrelax, mpmem-wrap-around): Add.
+
+2008-01-17  Seongbae Park  <seongbae.park@gmail.com>
+
+       PR rtl-optimization/34400
+       * df-core.c (df_worklist_dataflow_overeager,
+       df_worklist_dataflow_doublequeue): New functions.
+       (df_worklist_dataflow): Two different worklist solvers.
+       * params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR):
+       New param.
+
+2008-01-16  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR testsuite/34821
+       * doc/invoke.texi: Document the dependence on pthread for fopenmp
+       and ftree-parallelize-loops.
+
+2008-01-17  Mircea Namolaru  <namolaru@il.ibm.com>
+
+       PR rtl-optimization/34826
+       * loop-doloop (doloop_modify): Update the REG_BR_PROB note.
+
+2008-01-17  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * global.c (find_reg): Mark the eh regs as used if necessary.
+       * ra-conflict.c (global_conflicts): Set no_eh_reg flag.
+       * ra.h (struct allocno): no_eh_reg field added.  Changed
+       no_stack_reg type to bitfield.
+
+2008-01-17  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree.c (substitute_in_expr): Add missing 'break'.
+
 2008-01-17  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/34825
        function always sign-extends the value.
 
 2008-01-16  Jakub Jelinek  <jakub@redhat.com>
-       Richard Guenther  <rguenther@suse.de>
+           Richard Guenther  <rguenther@suse.de>
 
        PR c/34668
        * gimplify.c (fold_indirect_ref_rhs): Rename to ...