OSDN Git Service

PR rtl-optimization/41862
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 81f5e2b..203039f 100644 (file)
@@ -1,8 +1,177 @@
+2009-01-03  Steven Bosscher  <steven@gcc.gnu.org>
+
+       PR rtl-optimization/41862
+       * store-motion.c (store_killed_in_insn, compute_store_table,
+       remove_reachable_equiv_notes, replace_store_insn,
+       build_store_vectors): Ignore all DEBUG_INSNs.
+
+2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR lto/41564
+       * common.opt: Add dumpdir.
+
+       * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
+       isn't specified.
+       (option_map): Add --dumpdir.
+
+       * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.
+
+       * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.
+
+       * opts.c (decode_options): Try dump_dir_name first if
+       dump_base_name isn't an absolute path.
+       (common_handle_option): Handle OPT_dumpdir.
+
+       * toplev.c (dump_dir_name): New.
+       (print_switch_values): Also ignore -dumpdir.
+
+       * toplev.h (dump_dir_name): New.
+
+2010-01-03  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/42589
+       * tree-ssa-math-opts.c (execute_optimize_bswap): Allow
+       double-word expansion of bswap32.
+
+2010-01-03  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
+       with BLOCK_FOR_INSN.
+       * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
+       * ifcvt.c (noce_get_alt_condition, noce_try_abs,
+       noce_process_if_block): Likewise.
+       * gcse.c (compute_local_properties, insert_expr_in_table,
+       insert_set_in_table, canon_list_insert, find_avail_set,
+       pre_insert_copy_insn): Likewise.
+
+       * basic-block.h (BLOCK_NUM): Move from here...
+       * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.
+
+2010-01-03  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/42438
+       * tree-ssa-pre.c (struct bb_bitmap_sets): Add
+       contains_may_not_return_call flag.
+       (BB_MAY_NOTRETURN): New.
+       (valid_in_sets): Trapping nary operations are not valid
+       in blocks that may not return.
+       (insert_into_preds_of_block): Remove check for trapping
+       expressions.
+       (compute_avail): Compute also BB_MAY_NOTRETURN.
+
+2010-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/invoke.texi: Add 2010 to copyright years.
+
+2010-01-03  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/sparc/sparc.c: Fix formatting nits.
+
+2010-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
+            Alexander Monakov  <amonakov@ispras.ru>
+
+       * doc/invoke.texi (Optimize Options): Reword introduction a bit.
+
+2010-01-02  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/42577
+       * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
+       (simplify_switch_using_ranges): Mark to be removed edges
+       as non-executable.
+
+2010-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
+
+       * collect2.c (scan_libraries): Add missing argument in call to
+       scan_prog_file.
+
+2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/42448
+       * config/alpha/predicates.md (aligned_memory_operand): Return false
+       for CQImode.
+       (unaligned_memory_operand): Return true for CQImode.
+       * config/alpha/alpha.c (get_aligned_mem): Assert that location
+       doesn not cross aligned SImode word boundary.
+
+2010-01-02  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
+       Remove.
+       * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
+       avr_change_section, avr_reg_class_from_letter) : Remove declaration.
+
+2010-01-02  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/41597
+       * toplev.c (compile_file): Emit LTO marker properly.  Change
+       it to __gnu_lto_v1.
+       * collect2.c (scan_prog_file): Adjust for changed LTO marker.
+
+2010-01-01  Richard Guenther  <rguenther@suse.de>
+
+       PR debug/42455
+       * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
+
+2010-01-01  Richard Guenther  <rguenther@suse.de>
+
+       PR c/42570
+       * c-decl.c (grokdeclarator): For zero-size arrays force
+       structural equality checks as layout_type does.
+
+2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * builtins.c: Update copyright to 2010.
+
+2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR lto/42531
+       * lto-streamer-out.c (produce_asm): Revert the last change.
+       (copy_function): Likewise.
+
+       * lto-streamer.c (lto_get_section_name): Skip any leading
+       asterisk in name.
+
+2010-01-01  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/42559
+       * builtins.c (get_object_alignment): Do not use DECL_ALIGN
+       for LABEL_DECLs.
+
+\f
+Copyright (C) 2010 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+2010-01-02  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/42448
+       * config/alpha/predicates.md (aligned_memory_operand): Return false
+       for CQImode.
+       (unaligned_memory_operand): Return true for CQImode.
+       * config/alpha/alpha.c (get_aligned_mem): Assert that location
+       doesn not cross aligned SImode word boundary.
+
+2010-01-02  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_):
+       Remove.
+       * config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
+       avr_change_section, avr_reg_class_from_letter) : Remove declaration.
+
+2010-01-02  Richard Guenther  <rguenther@suse.de>
+
+       PR lto/41597
+       * toplev.c (compile_file): Emit LTO marker properly.  Change
+       it to __gnu_lto_v1.
+       * collect2.c (scan_prog_file): Adjust for changed LTO marker.
+
 2010-01-01  Richard Guenther  <rguenther@suse.de>
 
        PR debug/42455
-       * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID
-       order.
+       * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order.
 
 2010-01-01  Richard Guenther  <rguenther@suse.de>