- 14 Jun, 2011 39 commits
-
-
eraman authored
PR rtl-optimization/44194 * dse.c: Include tree-flow.h (insn_info): Add new field non_frame_wild_read. (group_info): Add new fields escaped_n and escaped_p. (kill_on_calls): New variable. (get_group_info): Initialize gi->escaped_n and gi->escaped_p. (dse_step0): Initialize kill_on_calls. (can_escape): New function. (set_usage_bits): Add additional parameter; record information about escaped locations. (record_store): Pass EXPR corresponding to MEM to set_usage_bits. (dse_step2_nospill): Set kill_on_calls based on group->escaped_n and group->escaped_n. (add_wild_read): Refactor into... (reset_active_stores): ... New method, and (free_read_records): ... New method. (add_non_frame_wild_read): New method. (scan_insn): Call add_non_frame_wild_read on non-const calls. (scan_reads_nospill): Handle instructions with non_frame_wild_read. (dse_step5_nospill): Call scan_reads_nospill for instructions marked as non_frame_wild_read. (dse_step7): Free escaped_n, escaped_p and kill_on_calls bitmaps. testsuite/ChangeLog 2011-06-14 Easwaran Raman <eraman@google.com> PR rtl-optimization/44194 * gcc.dg/pr44194-1.c: New test. * gcc.dg/pr44194-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175063 138bc75d-0d04-0410-961f-82ee72b054a4
-
redi authored
* include/bits/ptr_traits.h (pointer_traits<T*>::pointer_to): Use noexcept. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175057 138bc75d-0d04-0410-961f-82ee72b054a4
-
janis authored
* gcc.target/arm/pr45701-2.c: Likewise. * gcc.target/arm/thumb-branch1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175056 138bc75d-0d04-0410-961f-82ee72b054a4
-
sje authored
PR testsuite/48727 * g++.dg/opt/devirt2.C: Fix scan rules for ia64*-*-hpux* and hppa*-*-*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175055 138bc75d-0d04-0410-961f-82ee72b054a4
-
sje authored
* decl.c (cxx_init_decl_processing): Use ptr_mode instead of Pmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175053 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
common/common-target.h, common/config/default-common.c, common/config/pa/pa-common.c: New files. * Makefile.in (common_out_file, common_out_object_file, COMMON_TARGET_H, COMMON_TARGET_DEF_H): New. (OBJS-libcommon-target): Include $(common_out_object_file). (prefix.o): Update dependencies. ($(common_out_object_file), common/common-target-hooks-def.h, s-common-target-hooks-def-h): New. (s-tm-texi): Also check timestamp on common-target.def. (build/genhooks.o): Update dependencies. * config.gcc (common_out_file, target_has_targetm_common): Define. * config/pa/som.h (ALWAYS_STRIP_DOTDOT): Replace with TARGET_ALWAYS_STRIP_DOTDOT. * configure.ac (common_out_object_file): Define. (common_out_file, common_out_object_file): Substitute. (common): Create directory. * configure: Regenerate. * doc/tm.texi.in (targetm_common): Document. (TARGET_ALWAYS_STRIP_DOTDOT): Add @hook entry. * doc/tm.texi: Regenerate. * genhooks.c (hook_array): Also include common/common-target.def. * prefix.c (tm.h): Don't include. (common/common-target.h): Include. (ALWAYS_STRIP_DOTDOT): Don't define. (update_path): Use targetm_common.always_strip_dotdot instead of ALWAYS_STRIP_DOTDOT. * system.h (ALWAYS_STRIP_DOTDOT): Poison. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175052 138bc75d-0d04-0410-961f-82ee72b054a4
-
davidxl authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175051 138bc75d-0d04-0410-961f-82ee72b054a4
-
janis authored
* gcc.target/arm/pr45701-2.c: Likewise. * gcc.target/arm/thumb-branch1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175047 138bc75d-0d04-0410-961f-82ee72b054a4
-
janis authored
* gcc.target/arm/pr39839.c: Likewise. * gcc.target/arm/pr40657-2.c: Likewise. * gcc.target/arm/pr40956.c: Likewise. * gcc.target/arm/pr41679.c: Likewise. * gcc.target/arm/pr42235.c: Likewise. * gcc.target/arm/pr42495.c: Likewise. * gcc.target/arm/pr42505.c: Likewise. * gcc.target/arm/pr42574.c: Likewise. * gcc.target/arm/pr46883.c: Likewise. * gcc.target/arm/pr46934.c: Likewise. * gcc.target/arm/xor-and.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175046 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175045 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* call.c (perform_implicit_conversion_flags): Print source type as well as expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175044 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* typeck2.c (build_m_component_ref): Preserve rvalueness. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175043 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* class.c (build_base_path): Fix cv-quals in unevaluated context. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175042 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* semantics.c (cxx_fold_indirect_ref): Local, more permissive copy of fold_indirect_ref_1. (cxx_eval_indirect_ref): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175041 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175040 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/std/valarray (~valarray): Use noexcept. * include/bits/unique_ptr.h (~unique_ptr): Likewise. * testsuite/26_numerics/valarray/noexcept_move_construct.cc: New. * testsuite/20_util/shared_ptr/cons/noexcept_move_construct.cc: Likewise. * testsuite/20_util/unique_ptr/cons/noexcept_move_construct.cc: Likewise. * testsuite/20_util/weak_ptr/cons/noexcept_move_construct.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175039 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
2011-06-14 H.J. Lu <hongjiu.lu@intel.com> PR middle-end/47364 * builtins.c (expand_builtin_strlen): Expand strlen to Pmode and properly handle result not in Pmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175034 138bc75d-0d04-0410-961f-82ee72b054a4
-
ro authored
PRId8 instead of %hhu, %hhd. * testsuite/libffi.call/ffitest.h [__alpha__ && __osf__] (PRId8, PRIu8): Define. [__sgi__] (PRId8, PRIu8): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175032 138bc75d-0d04-0410-961f-82ee72b054a4
-
uros authored
* config/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER): Resync with `config/linux.h'. * config/i386/kfreebsd-gnu64.h: New file. * config.gcc (x86_64-*-kfreebsd*-gnu): Replace `i386/kfreebsd-gnu.h' with `i386/kfreebsd-gnu64.h'. * config/i386/linux64.h (GNU_USER_LINK_EMULATION32) (GNU_USER_LINK_EMULATION64): New macros. * config/i386/gnu-user64.h (LINK_SPEC): Rely on `GNU_USER_LINK_EMULATION32' and `GNU_USER_LINK_EMULATION64' instead of hardcoding `elf_i386' and `elf_x86_64'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175031 138bc75d-0d04-0410-961f-82ee72b054a4
-
nickc authored
* config/v850/v850.c (v850_memory_move_cost): Add reg_class_t parameter. PR target/49402 * config.gcc(v850*-*-*): Avoid duplication of v850.opt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175030 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* tree.h (DECL_NONSHAREABLE): Define. (struct tree_decl_common): Change decl_common_unused to decl_nonshareable_flag. * cfgexpand.c (expand_used_vars_for_block, clear_tree_used): Ignore vars with DECL_NONSHAREABLE bit set. * tree-cfg.c (gimple_duplicate_bb): Set DECL_NONSHAREABLE on stores to automatic aggregate vars. * gfortran.dg/pr49103.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175028 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
* include/std/functional: Use noexcept. * include/bits/stl_tempbuf.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175026 138bc75d-0d04-0410-961f-82ee72b054a4
-
vries authored
PR target/45098 * gcc.target/arm/ivopts-3.c: New test. * gcc.target/arm/ivopts-4.c: New test. * gcc.target/arm/ivopts-5.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175025 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
Revert: 2010-06-29 Bernd Schmidt <bernds@codesourcery.com> * cse.c (exp_equiv_p): For MEMs, if for_gcse, only compare MEM_ALIAS_SET. * gcc.c-torture/execute/pr49390.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175023 138bc75d-0d04-0410-961f-82ee72b054a4
-
vries authored
Tom de Vries <tom@codesourcery.com> PR target/45098 * cfgloop.h (nb_iterations_upper_bound, nb_iterations_estimate): Document changed semantics. (max_stmt_executions, max_stmt_executions_int): Declare. * tree-data-ref.c (estimated_loop_iterations) (estimated_loop_iterations_int): Move functions... * tree-ssa-loop-niter.c (estimated_loop_iterations) (estimated_loop_iterations_int): here. (record_estimate): Change nb_iterations_upper_bound and nb_iterations_estimate semantics. (max_stmt_executions, max_stmt_executions_int): New function. * tree-data-ref.c (estimated_loop_iterations_tree): Rename to ... (max_stmt_executions_tree): this. (analyze_miv_subscript): Use max_stmt_executions_tree instead of estimated_loop_iterations_tree. tree-ssa-loop-ivopts.c (avg_loop_niter): Use max_stmt_executions_int instead of estimated_loop_iterations_int. * predict.c (predict_loops): Idem. * tree-parloops.c (parallelize_loops): Idem. * tree-data-ref.c (analyze_siv_subscript_cst_affine) (compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine) (init_omega_for_ddr_1): Idem. * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse) (loop_prefetch_arrays): Idem * graphite-sese-to-poly.c (build_loop_iteration_domains): Use max_stmt_executions instead of estimated_loop_iterations. * tree-data-ref.c (estimated_loop_iterations_tree): Idem. * tree-vrp.c (adjust_range_with_scev): Use estimated_loop_iterations instead of nb_iterations_upper_bound. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175022 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175021 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
Use kindNoPointers as 6g does. * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175020 138bc75d-0d04-0410-961f-82ee72b054a4
-
ro authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175019 138bc75d-0d04-0410-961f-82ee72b054a4
-
rth authored
* dwarf2out.c (frame_pointer_fb_offset_valid): New. (based_loc_descr): Assert it's true. (compute_frame_pointer_to_fb_displacement): Set it, rather than aborting immediately. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175018 138bc75d-0d04-0410-961f-82ee72b054a4
-
rearnsha authored
Mingfeng Wu <mingfeng@faraday-tech.com> * doc/invoke.texi: Re-add missing -mcpu docs for Faraday cores. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175017 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175016 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
similarly to DECL_COMDAT. * cgraphunit.c (cgraph_analyze_function): Likewise. * ipa.c (function_and_variable_visibility): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175015 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
BINFO_VIRTUALS when streaming for ltrans unit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175014 138bc75d-0d04-0410-961f-82ee72b054a4
-
ro authored
Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * config/mips/irix6-unwind.h: New file. * config.host (mips-sgi-irix6.5*): Set md_unwind_header. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175013 138bc75d-0d04-0410-961f-82ee72b054a4
-
gjl authored
* gcc.c-torture/execute/cmpsi-2.c: Undo 172757. * gcc.c-torture/execute/cmpsi-2.x: New file. * gcc.c-torture/execute/pr45262.c: Undo 172757. * gcc.c-torture/execute/pr45262.x: New file. * gcc.c-torture/compile/pr46534.c: Skip for AVR. * gcc.c-torture/compile/pr49029.c: Add dg-require-effective-target int32plus * gcc.c-torture/compile/pr49163.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175012 138bc75d-0d04-0410-961f-82ee72b054a4
-
ebotcazou authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175011 138bc75d-0d04-0410-961f-82ee72b054a4
-
irar authored
* gcc.dg/vect/vect-16.c: Rename to... * gcc.dg/vect/no-fast-math-vect16.c: ...this. * gcc.dg/vect/vect-peel-3.c: Adjust misalignment values for double-word vectors. * gcc.dg/vect/vect-peel-4.c: Likewise. * gcc.dg/vect/bb-slp-10.c: Replace vect_hw_misalign with vect_element_align. * gcc.dg/vect/vect.exp: Run no-fast-math-* tests with -fno-fast-math. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175009 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
Use kindNoPointers as 6g does. * Make-lang.in (go/expressions.o): Depend on $(GO_RUNTIME_H). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175008 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175006 138bc75d-0d04-0410-961f-82ee72b054a4
-
- 13 Jun, 2011 1 commit
-
-
jkratoch authored
* cp-demangle.c (d_print_comp) <DEMANGLE_COMPONENT_FUNCTION_TYPE>: Suppress d_print_mod for DMGL_RET_POSTFIX. * testsuite/demangle-expected: New testcases for --ret-postfix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175001 138bc75d-0d04-0410-961f-82ee72b054a4
-