OSDN Git Service

2011-09-27 Sriraman Tallam <tmsriram@google.com>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 19a0a28..e130ad0 100644 (file)
@@ -1,3 +1,54 @@
+2011-09-27  Sriraman Tallam  <tmsriram@google.com>
+
+       * output.h (SECTION_EXCLUDE): New macro.
+       * varasm.c (default_elf_asm_named_section): Check for
+       SECTION_EXCLUDE.        
+
+2011-09-27  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * fwprop.c (forward_propagate_and_simplify): After checking
+       reg/subreg combinations, check whether the modes are the same.
+
+2011-09-27  Bernd Schmidt  <bernds@codesourcery.com>
+           Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/mips/mips.c (mips_add_cfa_restore): New function.
+       (mips16e_save_restore_reg): Use it.
+       (mips_restore_reg): Likewise.  Split double FPRs for
+       REG_CFA_RESTORE notes.
+
+2011-09-27  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       PR middle-end/50386
+       PR middle-end/50326
+       * tree-sra.c (build_ref_for_model): Use the type of the field as
+       the type of the COMPONENT_REF.
+
+2011-09-27  Jeff Law  <law@redhat.com>
+
+       * ifcvt.c (cheap_bb_rtx_cost_p): Add SCALE argument.  Scale
+       non-jumping insns by REG_BR_PROB_BASE and the maximum cost
+       by SCALE.
+       (find_if_case_1): Use the probability of the THEN clause when
+       determining if speculation is profitable.
+       (find_if_case_2): Similarly for the ELSE clause.
+
+2011-09-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * common.opt: Add -foptimize-strlen option.
+       * Makefile.in (OBJS): Add tree-ssa-strlen.o.
+       (tree-sssa-strlen.o): Add dependencies.
+       * opts.c (default_options_table): Enable -foptimize-strlen
+       by default at -O2 if not -Os.
+       * passes.c (init_optimization_passes): Add pass_strlen
+       after pass_object_sizes.
+       * timevar.def (TV_TREE_STRLEN): New timevar.
+       * params.def (PARAM_MAX_TRACKED_STRLENS): New parameter.
+       * tree-pass.h (pass_strlen): Declare.
+       * tree-ssa-strlen.c: New file.
+       * c-decl.c (merge_decls): If compatible stpcpy prototype
+       is seen, set implicit_built_in_decls[BUILT_IN_STPCPY].
+
 2011-09-27  Tom de Vries  <tom@codesourcery.com>
 
        PR middle-end/43864