X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2FChangeLog;h=8d5962d2500053f13335f2dc19460b9fca61fa68;hb=69b18a8b03bc8cb57e9489f77da45dcab39c415c;hp=832cf30a5db63674a28c5c513d7e090daa75d910;hpb=103aa1240a2527d0fd5a3b215d12decd9697168b;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 832cf30a5db..8d5962d2500 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,352 @@ +2010-07-08 Jan Hubicka + + * cgraph.c (cgraph_will_be_removed_from_program_if_no_direct_calls): + New function. + * cgraph.h (cgraph_will_be_removed_from_program_if_no_direct_calls): + Declare. + * ipa-cp.c (ipcp_estimate_growth): Use it. + * ipa-inline.c (cgraph_estimate_growth, cgraph_decide_inlining): + Likewise. + +2010-07-08 Jan Hubicka + + * tree-inline.c (declare_return_variable): Allocate annotation for new + temporary. + +2010-07-08 Sebastian Pop + + PR tree-optimization/44710 + * tree-if-conv.c (parse_predicate): New. + (add_to_predicate_list): Call it, call maybe_fold_or_comparisons. + Make sure that the predicates are either SSA_NAMEs or gimple_condexpr. + +2010-07-08 Sebastian Pop + + * common.opt (ftree-loop-if-convert): New flag. + * doc/invoke.texi (ftree-loop-if-convert): Documented. + * tree-if-conv.c (gate_tree_if_conversion): Enable if-conversion + when flag_tree_loop_if_convert is set. + +2010-07-08 Uros Bizjak + + * config/i386/i386.c: Use short syntax for function calls + through function pointers. + * config/i386/i386.md: Ditto. + +2010-07-08 Eric Botcazou + + * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix formatting issues. + +2010-07-08 Richard Guenther + + * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): Fix + stmt check for POINTER_PLUS_EXPRs, fix the pointer assignment. + +2010-07-08 Jakub Jelinek + + * dwarf2out.c (mem_loc_descriptor): Use DW_OP_const[48]u + instead of DW_OP_addr for DW_OP_GNU_push_tls_address operand. + (loc_list_from_tree): Likewise. + (output_loc_operands): Handle outputting DW_OP_const[48]u + with loc->dtprel set. + (resolve_addr_in_expr): Handle loc->dtprel like DW_OP_addr. + +2010-07-08 Jan Hubicka + + * ipa.c: Include pointer-set.h + (cgraph_externally_visible_p): New attribute ALIASED; + when in LTO, hidden symbols are local unless they are aliased. + (function_and_variable_visibility): Compute aliased nodes; + handle LTO and hidden symbol on functions and vars. + * cgraph.c (cgraph_make_decl_local): Clear NAMED_SECTION + for COMDAT symbols; handle COMDAT_GROUPS also at vars. + +2010-07-08 Eric Botcazou + + * config/i386/cygming.h (STACK_CHECK_STATIC_BUILTIN): Define to 1. + * config/i386/freebsd.h (STACK_CHECK_STATIC_BUILTIN): Likewise. + * config/i386/linux.h (STACK_CHECK_STATIC_BUILTIN): Likewise. + * config/i386/linux64.h (STACK_CHECK_STATIC_BUILTIN): Likewise. + * config/i386/sol2.h (STACK_CHECK_STATIC_BUILTIN): Likewise. + * config/i386/i386.c (ix86_gen_adjust_stack_and_probe): New variable. + (ix86_gen_probe_stack_range): Likewise. + (override_options): Set them. + (ix86_target_stack_probe): New function. + (ix86_compute_frame_layout): Force use of push instructions to + save registers if stack checking with probes is enabled. + (get_scratch_register_on_entry): New function. + (release_scratch_register_on_entry): Likewise. + (ix86_adjust_stack_and_probe): Likewise. + (output_adjust_stack_and_probe): Likewise. + (ix86_emit_probe_stack_range): Likewise. + (output_probe_stack_range): Likewise. + (ix86_expand_prologue): Emit stack checking code if static built-in + stack checking is enabled. + Test ix86_target_stack_probe instead of TARGET_STACK_PROBE. + * config/i386/i386-protos.h (ix86_target_stack_probe): Declare. + (output_adjust_stack_and_probe): Likewise. + (output_probe_stack_range): Likewise. + * config/i386/i386.md (UNSPECV_PROBE_STACK_RANGE): New constant. + (allocate_stack_worker_32): Test ix86_target_stack_probe instead of + TARGET_STACK_PROBE. + (allocate_stack_worker_64): Likewise. + (allocate_stack): Likewise. + (adjust_stack_and_probe): New insn. + (probe_stack_range): Likewise. + +2010-07-08 Richard Guenther + + PR tree-optimization/44831 + * tree-ssa-phiprop.c (phiprop_insert_phi): Properly build + a MEM_REF preserving TBAA info of the original dereference. + Dereference the original pointer if the address is not + invariant. + (propagate_with_phi): Fixup type checks wrt MEM_REFs. Require + at least one invariant address that we are going to dereference. + +2010-07-08 Richard Guenther + + PR tree-optimization/44861 + * tree-vect-stmts.c (vectorizable_store): Preserve TBAA + information when building MEM_REFs. + (vectorizable_load): Likewise. + * tree-vect-data-refs.c (vect_setup_realignment): Likewise. + +2010-07-08 Eric Botcazou + + * config/sol2-c.c: Do not include diagnostic-core.h. + +2010-07-08 Ramana Radhakrishnan + + PR bootstrap/44768 + * cfgexpand.c (estimated_stack_frame_size): Make self-contained + with respect to current_function_decl. Pass decl of the function. + * tree-inline.h (estimated_stack_frame_size): Adjust prototype. + * ipa-inline.c (compute_inline_parameters): Pass decl to + estimated_stack_frame_size. + +2010-07-08 Richard Guenther + + * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): + New function. + (valueize_refs): Call it. + +2010-07-08 Richard Guenther + + PR rtl-optimization/44838 + * tree-ssa-alias.c (indirect_refs_may_alias_p): When not in + SSA form do not use pointer equivalence. + +2010-07-08 Eric Botcazou + + * dwarf2out.c (AT_linkage_name): Delete. + (add_linkage_attr): New function. + (add_linkage_name): Call it to emit the linkage attribute. + (dwarf2out_finish): Likewise. + (move_linkage_attr): Explicitly accept both attribute variants. + +2010-07-08 Manuel López-Ibáñez + + * toplev.h: Do not include diagnostic-core.h. + Include diagnostic-core.h in every file that includes toplev.h. + * c-tree.h: Do not include toplev.h. + * pretty-print.h: Update comment. + * Makefile.in: Update dependencies. + * alias.c: Include diagnostic-core.h in every file that includes + toplev.h. + * attribs.c: Likewise. + * auto-inc-dec.c: Likewise. + * bb-reorder.c: Likewise. + * bt-load.c: Likewise. + * caller-save.c: Likewise. + * calls.c: Likewise. + * cfg.c: Likewise. + * cfganal.c: Likewise. + * cfgbuild.c: Likewise. + * cfgcleanup.c: Likewise. + * cfghooks.c: Likewise. + * cfgloop.c: Likewise. + * combine.c: Likewise. + * config/alpha/alpha.c: Likewise. + * config/arc/arc.c: Likewise. + * config/arm/arm.c: Likewise. + * config/arm/pe.c: Likewise. + * config/avr/avr.c: Likewise. + * config/bfin/bfin.c: Likewise. + * config/cris/cris.c: Likewise. + * config/crx/crx.c: Likewise. + * config/darwin-c.c: Likewise. + * config/darwin.c: Likewise. + * config/fr30/fr30.c: Likewise. + * config/frv/frv.c: Likewise. + * config/h8300/h8300.c: Likewise. + * config/host-darwin.c: Likewise. + * config/i386/i386.c: Likewise. + * config/i386/netware.c: Likewise. + * config/i386/nwld.c: Likewise. + * config/i386/winnt-cxx.c: Likewise. + * config/i386/winnt-stubs.c: Likewise. + * config/i386/winnt.c: Likewise. + * config/ia64/ia64-c.c: Likewise. + * config/ia64/ia64.c: Likewise. + * config/iq2000/iq2000.c: Likewise. + * config/lm32/lm32.c: Likewise. + * config/m32c/m32c-pragma.c: Likewise. + * config/m32c/m32c.c: Likewise. + * config/m32r/m32r.c: Likewise. + * config/m68hc11/m68hc11.c: Likewise. + * config/m68k/m68k.c: Likewise. + * config/mcore/mcore.c: Likewise. + * config/mep/mep-pragma.c: Likewise. + * config/mep/mep.c: Likewise. + * config/mmix/mmix.c: Likewise. + * config/mn10300/mn10300.c: Likewise. + * config/moxie/moxie.c: Likewise. + * config/pa/pa.c: Likewise. + * config/pdp11/pdp11.c: Likewise. + * config/picochip/picochip.c: Likewise. + * config/rs6000/rs6000-c.c: Likewise. + * config/rs6000/rs6000.c: Likewise. + * config/rx/rx.c: Likewise. + * config/s390/s390.c: Likewise. + * config/score/score.c: Likewise. + * config/score/score3.c: Likewise. + * config/score/score7.c: Likewise. + * config/sh/sh.c: Likewise. + * config/sh/symbian-base.c: Likewise. + * config/sh/symbian-c.c: Likewise. + * config/sh/symbian-cxx.c: Likewise. + * config/sol2-c.c: Likewise. + * config/sol2.c: Likewise. + * config/sparc/sparc.c: Likewise. + * config/spu/spu.c: Likewise. + * config/stormy16/stormy16.c: Likewise. + * config/v850/v850-c.c: Likewise. + * config/v850/v850.c: Likewise. + * config/vax/vax.c: Likewise. + * config/vxworks.c: Likewise. + * config/xtensa/xtensa.c: Likewise. + * convert.c: Likewise. + * cse.c: Likewise. + * cselib.c: Likewise. + * dbgcnt.c: Likewise. + * dbxout.c: Likewise. + * ddg.c: Likewise. + * dominance.c: Likewise. + * emit-rtl.c: Likewise. + * explow.c: Likewise. + * expmed.c: Likewise. + * fixed-value.c: Likewise. + * fold-const.c: Likewise. + * fwprop.c: Likewise. + * gcse.c: Likewise. + * ggc-common.c: Likewise. + * ggc-page.c: Likewise. + * ggc-zone.c: Likewise. + * gimple-low.c: Likewise. + * gimplify.c: Likewise. + * graph.c: Likewise. + * haifa-sched.c: Likewise. + * ifcvt.c: Likewise. + * implicit-zee.c: Likewise. + * integrate.c: Likewise. + * ira-build.c: Likewise. + * ira-color.c: Likewise. + * ira-conflicts.c: Likewise. + * ira-costs.c: Likewise. + * ira-lives.c: Likewise. + * ira.c: Likewise. + * lists.c: Likewise. + * loop-doloop.c: Likewise. + * loop-iv.c: Likewise. + * lto-opts.c: Likewise. + * lto-symtab.c: Likewise. + * main.c: Likewise. + * modulo-sched.c: Likewise. + * optabs.c: Likewise. + * params.c: Likewise. + * plugin.c: Likewise. + * postreload-gcse.c: Likewise. + * postreload.c: Likewise. + * predict.c: Likewise. + * profile.c: Likewise. + * real.c: Likewise. + * regcprop.c: Likewise. + * reginfo.c: Likewise. + * regmove.c: Likewise. + * reorg.c: Likewise. + * resource.c: Likewise. + * rtl.c: Likewise. + * rtlanal.c: Likewise. + * sched-deps.c: Likewise. + * sched-ebb.c: Likewise. + * sched-rgn.c: Likewise. + * sdbout.c: Likewise. + * sel-sched-dump.c: Likewise. + * sel-sched-ir.c: Likewise. + * simplify-rtx.c: Likewise. + * stmt.c: Likewise. + * stor-layout.c: Likewise. + * store-motion.c: Likewise. + * targhooks.c: Likewise. + * tree-cfg.c: Likewise. + * tree-cfgcleanup.c: Likewise. + * tree-dump.c: Likewise. + * tree-eh.c: Likewise. + * tree-inline.c: Likewise. + * tree-nomudflap.c: Likewise. + * tree-object-size.c: Likewise. + * tree-optimize.c: Likewise. + * tree-outof-ssa.c: Likewise. + * tree-phinodes.c: Likewise. + * tree-profile.c: Likewise. + * tree-ssa-ccp.c: Likewise. + * tree-ssa-coalesce.c: Likewise. + * tree-ssa-live.c: Likewise. + * tree-ssa-loop-niter.c: Likewise. + * tree-ssa-loop-prefetch.c: Likewise. + * tree-ssa-loop.c: Likewise. + * tree-ssa-structalias.c: Likewise. + * tree-ssa-uninit.c: Likewise. + * tree-ssa.c: Likewise. + * tree-vect-data-refs.c: Likewise. + * tree-vect-loop-manip.c: Likewise. + * tree-vect-loop.c: Likewise. + * tree-vect-patterns.c: Likewise. + * tree-vect-stmts.c: Likewise. + * tree-vrp.c: Likewise. + * varasm.c: Likewise. + * vec.c: Likewise. + * web.c: Likewise. + * xcoffout.c: Likewise. + +2010-07-07 Richard Sandiford + + * gengtype.c (write_field_root): New function. + (write_root): Use it. + +2010-07-07 Wei Guozhi + + * config/arm/thumb2.md (peephole2 to convert zero_extract/compare + of lowest bits to lshift/compare): Add a missing line. + +2010-07-07 Wei Guozhi + + * config/arm/thumb2.md (peephole2 to convert zero_extract/compare + of lowest bits to lshift/compare): New. + +2010-07-07 Tom Tromey + + * doc/tm.texi: Update. + * doc/tm.texi.in (SDB and DWARF) : + Add @hook. + * target.def (want_debug_pub_sections): New hook. + * config/darwin.h (TARGET_WANT_DEBUG_PUB_SECTIONS): Define. + * dwarf2out.c (add_pubname_string): Check + targetm.want_debug_pub_sections. + (add_pubname): Likewise. + (add_pubtype): Likewise. + 2010-07-07 Jie Zhang * genautomata.c (output_automata_list_min_issue_delay_code): @@ -127,7 +476,7 @@ 2010-07-06 Uros Bizjak * config/i386/i386.md (immediate_operand): New mode attribute. - + (pro_epilogue_adjust_stack__1): Macroize insn from pro_epilogue_adjust_stack and pro_epilogue_adjust_stack_rex64 using P mode iterator.