OSDN Git Service

PR middle-end/27332
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 7d27747..4ecc27a 100644 (file)
@@ -1,5 +1,250 @@
+2006-05-17  Sebastian Pop  <pop@cri.ensmp.fr>
+
+       PR middle-end/27332
+       * tree-loop-linear.c (try_interchange_loops): Test for 
+       no data dependences.
+
+2006-05-17  Zdenek Dvorak <dvorakz@suse.cz>
+
+       PR tree-optimization/27548
+       * tree-scalar-evolution.c (scev_const_prop): Do not prolong life
+       range of ssa names that appear on abnormal edges.
+       * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Export.
+       * tree-flow.h (contains_abnormal_ssa_name_p): Declare.
+
+2005-05-17  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       PR middle-end/27620
+       * expr.c (safe_from_p): Handle CONSTRUCTOR again.
+
+2006-05-17  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/27415
+       * tree.h (OMP_PARALLEL_COMBINED): Define.
+       * gimplify.c (struct gimplify_omp_ctx): Add is_combined_parallel field.
+       (new_omp_context): Add is_combined_parallel argument.
+       (gimplify_scan_omp_clauses): Add in_combined_parallel argument, adjust
+       new_omp_context caller.
+       (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
+       Adjust gimplify_scan_omp_clauses callers.
+       (omp_is_private): Issue errors if iteration variable is firstprivate
+       or reduction in the current context.
+       * c-parser.c (c_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
+       on combined parallel workshare constructs.
+
+2006-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
+       (gcc-options.o): New rule.
+
+       * optc-gen.awk: Protect variables for gcc-options.o with
+       #ifdef GCC_DRIVER/#endif.
+
+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
+       * mkconfig.sh: Use operator = instead of == for test.
+
+2006-05-13  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2out.c (dbx_reg_number): Check return value from
+       LEAF_REG_REMAP and only use it if it is valid.
+       (multiple_reg_loc_descriptor): Likewise.
+
+2006-05-13  Richard Guenther  <rguenther@suse.de>
+
+       * config.host <i[34567]86-*-cygwin*>: Append i386/x-cygwin to
+       host_xmake_file.
+
+2006-05-13  Steven Bosscher  <stevenb.gcc@gmail.com>
+
+       * df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
+       information attached to non-INSNs such as NOTEs.
+       (df_bb_regno_first_def_find, df_bb_regno_last_def_find): Likewise.
+
+2006-05-12  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
+       On contraint.
+       * config/s390/s390.md: Adjust comment describing On constraint.
+
+2006-05-11  Jan Hubicka  <jh@suse.cz>
+
+       * cgraphunit.c (decide_is_function_needed): Don't force always_inline
+       to be output at -O0.
+
 2006-05-11  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
 
+       PR middle-end/27384
+       * fold-const.c (size_binop): Move sanity check for arguments to
+       the beginning of the function.
+
        PR middle-end/27488
        * fold-const.c (tree_expr_nonnegative_p): Return early on invalid
        expression.