OSDN Git Service

2006-05-16 Daniel Berlin <dberlin@dberlin.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index eff9113..f72e1ee 100644 (file)
@@ -1,3 +1,169 @@
+2006-05-16  Daniel Berlin <dberlin@dberlin.org>
+       
+       Fix PR tree-optimization/27373
+       * tree-ssa-forwprop.c: (forward_propagate_addr_expr_1): Add argument.
+        (forward_propagate_addr_expr): Update call.
+
+2006-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * doc/options.texi: Move the Negative option.
+
+2006-05-16  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/22303
+       * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle reads
+       from STRING_CSTs.
+       (evaluate_stmt): Fall back to fold_const_aggregate_ref, if
+       ccp_fold did not simplify the statement.
+
+2006-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR driver/26885
+       * Makefile.in (GCC_OBJS): New.
+       (OBJS-common): Add opts-common.o.
+       (xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS).
+       (cpp$(exeext)): Likewise.
+       (gcc.o): Also depend on opts.h.
+       (opts-common.o): New.
+
+       * common.opt (gcoff): Add Negative(gdwarf-2).
+       (gdwarf-2): Add Negative(gstabs).
+       (gstabs): Add Negative(gstabs+).
+       (gstabs+): Add Negative(gvms).
+       (gvms): Add Negative(gxcoff).
+       (gxcoff): Add Negative(gxcoff+).
+       (gxcoff+): Add Negative(gcoff).
+       * config/i386/i386.opt (m32): Add Negative(m64).
+       (m64): Add Negative(m32).
+
+       * doc/options.texi: Document the Negative option.
+
+       * gcc.c: Include "opts.h".
+       (main): Call prune_options after expandargv.
+
+       * optc-gen.awk: Generate common declarations for all flag
+       variables in options.c. Output the neg_index field.
+
+       * opts.c (find_opt): Moved to ...
+       * opts-common.c: Here. New file.
+
+       * opts.h (cl_option): Add a neg_index field.
+       (find_opt): New.
+       (prune_options): Likewise.
+
+2006-05-16  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/27573
+       * omp-low.c (expand_omp_parallel): Don't assert
+       .OMP_DATA_I = &.OMP_DATA_O is the first statement in the block,
+       instead search for it.
+
+       PR c/27499
+       * gimplify.c (gimplify_omp_for): Remove assertion that iteration var
+       is signed.
+
+2006-05-16  Andreas Schwab  <schwab@suse.de>
+
+       * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Add missing @end
+       defmac.
+
+2006-05-15  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/26600
+       * config/i386/i386.c (legitimate_constant_p) <CONST_DOUBLE>: TImode
+       integer constants other than zero are only legitimate on TARGET_64BIT.
+       <CONST_VECTOR> Only zero vectors are legitimate.
+       (ix86_cannot_force_const_mem): Integral and vector constants can
+       always be put in the constant pool.
+
+2006-05-16  DJ Delorie  <dj@redhat.com>
+
+       * crtstuff.c (__dso_handle): Set section from
+       TARGET_LBIGCC_SDATA_SECTION if defined.
+       * doc/tm.texi (TARGET_LIBGCC_SDATA_SECTION): Document.
+       * config/mips/mips.h (TARGET_LIBGCC_SDATA_SECTION): Define.
+
+2006-05-16  Danny Smith  <dannysmith@users.sourceforge.net>
+
+        PR target/27599
+       * config.host (i[34567]86-*-mingw*): Append i386/x-mingw32 to
+       host_xmake_file.
+
+2006-05-16  Ben Elliston  <bje@au.ibm.com>
+
+       * tree-cfg.c (split_edge_bb_loc): Remove unused variable `src'.
+
+2006-05-15  Per Bothner  <per@bothner.com>
+
+       * tree.c: (last_annotated_node): Use sources_locus typedef.
+       This permits bootstrapping with --enable-mapped-location.
+
+2006-05-15  Zdenek Dvorak <dvorakz@suse.cz>
+
+       PR tree-optimization/26830
+       * tree-into-ssa.c (struct ssa_name_info): Add age field.
+       (info_for_ssa_name, current_info_for_ssa_name_age,
+       blocks_to_update): New variables.
+       (get_ssa_name_ann): Use info_for_ssa_name instead of SSA_NAME_AUX.
+       (clear_ssa_name_info, initialize_flags_in_bb,
+       mark_block_for_update): New functions.
+       (mark_def_sites, rewrite_stmt): Assert that blocks_to_update is NULL.
+       (insert_phi_nodes_for, mark_use_interesting, prepare_block_for_update,
+       prepare_def_site_for): Use mark_block_for_update.
+       (mark_def_interesting): Assert that the processed block is marked in
+       blocks_to_update.  Do not take blocks argument.
+       (prepare_use_sites_for, prepare_names_to_update): Do not take blocks
+       argument.
+       (rewrite_update_init_block, rewrite_update_stmt): Only process
+       blocks with statements to rewrite.
+       (delete_update_ssa): Do not clear SSA_NAME_AUX.
+       (update_ssa): Initialize and free blocks_to_update.  Do not
+       clear flags on statements.  Do not use blocks bitmap.
+       * tree.h (SSA_NAME_AUX): Removed.
+       (struct tree_ssa_name): Removed aux field.
+       * print-tree.c (print_node): Do not print SSA_NAME_AUX.
+
+2006-05-15  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/27603
+       * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
+       Do computations in original type.
+
+2006-05-15  Mircea Namolaru  <namolaru@il.ibm.com>
+
+       * see.c: Code style changes such as redundant paranthesis,
+       redundant intialization of local variables etc.
+       (see_main): Declared now as static.
+       * doc/invoke.texi: Update that -fsee is not enabled by
+       default at -O3.
+
+2006-05-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * omp-low.c (check_omp_nesting_restrictions): New function.
+       (scan_omp_1): Call it.
+
+       PR middle-end/27416
+       * omp-low.c (build_outer_var_ref): If VAR is reference in orphaned
+       construct, return *VAR.
+
+2006-05-14  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR rtl-optimization/27406
+       * bt-load.c (migrate_btr_def): Skip the block having abnormal
+       edges.
+
+2006-05-14  Roger Sayle  <roger@eyesopen.com>
+
+       PR rtl-optimization/27538
+       * combine.c (expand_compound_operation): Call gen_lowpart
+       before calling simplify_shift_const.
+
+2006-05-14  Roger Sayle  <roger@eyesopen.com>
+
+       PR rtl-optimization/22563
+       * expmed.c (store_fixed_bit_field): When using AND and IOR to store
+       a fixed width bitfield, always force the intermediates into psuedos.
+
 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
 
        PR 27501