- 10 Apr, 2013 12 commits
-
-
* config/aarch64/aarch64.c (aarch64_print_extension): New function. (aarch64_start_file): Use the new function. From-SVN: r197677
Yufeng Zhang committed -
* common.opt: Add -gdwarf. * opts.c (common_handle_option): Handle it. * gcc.c (ASM_DEBUG_SPEC): Don't expect "-2" for DWARF. Co-Authored-By: Jason Merrill <jason@redhat.com> From-SVN: r197675
Senthil Kumar Selvaraj committed -
2013-04-10 Richard Biener <rguenther@suse.de> * passes.c (execute_todo): Do not call ggc_collect conditional here. (execute_one_ipa_transform_pass): But unconditionally here. (execute_one_pass): And here. (init_optimization_passes): Remove reload pass. * tree-pass.h (TODO_ggc_collect): Remove. (pass_reload): Likewise. * ira.c (do_reload): Merge into ... (ira): ... this. (rest_of_handle_reload): Remove. (pass_reload): Likewise. * config/i386/i386.c (ix86_option_override): Refer to ira instead of reload for vzeroupper pass placement. * <everywhere>: Remove TODO_ggc_collect from todo_flags_start and todo_flags_finish of all passes. * g++.dg/pr55604.C: Use -fdump-rtl-ira. From-SVN: r197671
Richard Biener committed -
tree-vectorizer.h (struct _slp_oprnd_info): Remove first_const_oprnd field, rename first_def_type to first_op_type. 2013-04-10 Richard Biener <rguenther@suse.de> * tree-vectorizer.h (struct _slp_oprnd_info): Remove first_const_oprnd field, rename first_def_type to first_op_type. * tree-vect-slp.c (vect_create_oprnd_info): Adjust. (vect_get_and_check_slp_defs): Always use the type of the operand. Allow mixed vect_external_def, vect_constant_def types. (vect_get_constant_vectors): Handle mixed vect_external_def, vect_constant_def types. * gcc.dg/vect/slp-39.c: New testcase. From-SVN: r197669
Richard Biener committed -
re PR tree-optimization/55524 (If fnma exists but not fms, convert_mult_to_fma should prefer to former over the latter.) gcc: 2013-04-10 Joern Rennecke <joern.rennecke@embecosm.com> PR tree-optimization/55524 * tree-ssa-math-opts.c (convert_mult_to_fma): Don't use an fms construct when we don't have an fms operation, but fnma, and it looks likely that we'll be able to use the latter. gcc/testsuite: 2013-04-10 Joern Rennecke <joern.rennecke@embecosm.com> PR tree-optimization/55524 * gcc.target/epiphany/fnma-1.c: New test. From-SVN: r197668
Joern Rennecke committed -
2013-04-10 Zhouyi Zhou <yizhouzhou@ict.ac.cn> * cif-code.def (OVERWRITABLE): Correct the comment for overwritable function. * ipa-inline.c (can_inline_edge_p): Let dump mechanism report the inline fail caused by overwritable functions. * gcc.dg/tree-ssa/inline-11.c: New test From-SVN: r197667
Zhouyi Zhou committed -
combine.c (simplify_compare_const): Use GET_MODE_MASK to filter out unnecessary bits in the constant power of two case. 2013-04-10 Chung-Ju Wu <jasonwucj@gmail.com> * combine.c (simplify_compare_const): Use GET_MODE_MASK to filter out unnecessary bits in the constant power of two case. From-SVN: r197666
Chung-Ju Wu committed -
2013-04-10 Richard Biener <rguenther@suse.de> * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove broken code swapping operands. (vect_build_slp_tree): Do not compute load permutations here. (vect_analyze_slp_instance): Compute load permutations here, after building the SLP tree. From-SVN: r197665
Richard Biener committed -
* config/sh/sh.md (barrier_align): Use next/prev_active_insn instead of next/prev_real_insn. From-SVN: r197664
Christian Bruel committed -
2013-04-10 Chung-Ju Wu <jasonwucj@gmail.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r197663
Chung-Ju Wu committed -
PR c++/56895 * typeck.c (cp_build_binary_op): Call fold_non_dependent_expr_sfinae first before calling maybe_constant_value for warn_for_div_by_zero or invalid shift count warning purposes. * g++.dg/template/arrow3.C: New test. From-SVN: r197660
Jakub Jelinek committed -
From-SVN: r197658
GCC Administrator committed
-
- 09 Apr, 2013 20 commits
-
-
* ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): Drop aliased parameter. (function_and_variable_visibility): Do not handle alias pairs. * cgraph.c (varpool_externally_visible_p): Update prototype. * varpool.c (varpool_add_new_variable): Update. From-SVN: r197652
Jan Hubicka committed -
* configure, config.h.in: Rebuild. * configure.ac: Use GLIBCXX_CHECK_SDT_H. Don't check for sys/sdt.h. * acinclude.m4 (GLIBCXX_CHECK_SDT_H): New defun. From-SVN: r197649
Tom Tromey committed -
* config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Update. From-SVN: r197647
Uros Bizjak committed -
PR c++/25466 * rtti.c (build_typeid): Check the address of the argument rather than looking for an INDIRECT_REF. From-SVN: r197644
Jason Merrill committed -
2013-04-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.md (minmax_arithsi_non_canon): New pattern. * gcc.target/arm/minmax_minus.c: New test. From-SVN: r197642
Kyrylo Tkachov committed -
* sched-vis.c (print_pattern): Print SEQUENCE of insns as insns. From-SVN: r197640
Steven Bosscher committed -
* config/sparc/sparc.md: Use define_c_enum for "unspec" and "unspecv". From-SVN: r197639
Steven Bosscher committed -
re PR tree-optimization/48762 (valgrind: Invalid read/write of size 8 in cse_main with -O --param max-cse-path-length=0 on basic code) PR tree-optimization/48762 * params.def (PARAM_MAX_CSE_INSNS): Increase the minimum value to 1. From-SVN: r197637
Marek Polacek committed -
2013-04-09 Richard Biener <rguenther@suse.de> * tree-vect-slp.c (vect_get_and_check_slp_defs): Remove code dealing with cost. (vect_build_slp_tree): Likewise. (vect_analyze_slp_cost_1, vect_analyze_slp_cost): New functions calculating the cost of a SLP instance. (vect_analyze_slp_instance): Use it from here, after building the SLP tree. From-SVN: r197635
Richard Biener committed -
PR middle-end/56883 * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk, expand_omp_for_static_chunk): Use simple_p = true in force_gimple_operand_gsi calls when assigning to addressable decls. * c-c++-common/gomp/pr56883.c: New test. From-SVN: r197633
Jakub Jelinek committed -
tree-vrp.c (simplify_cond_using_ranges): Simplify test of boolean when the boolean was created by converting a wider... * tree-vrp.c (simplify_cond_using_ranges): Simplify test of boolean when the boolean was created by converting a wider object which had a boolean range. * gcc.dg/tree-ssa/vrp87.c: New test From-SVN: r197631
Jeff Law committed -
From-SVN: r197630
Andi Kleen committed -
2013-04-09 Richard Biener <rguenther@suse.de> * tree-vectorizer.h (slp_void_p): Remove. (slp_tree): Typedef before _slp_tree declaration. (struct _slp_tree): Use a vector of slp_tree as children. (vect_get_place_in_interleaving_chain): Remove. * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain): Move ... * tree-vect-slp.c (vect_get_place_in_interleaving_chain): ... here and make static. (vect_free_slp_tree, vect_print_slp_tree, vect_mark_slp_stmts, vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts, vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations, vect_schedule_slp_instance, vect_remove_slp_scalar_calls): Use slp_node instead of slp_void_p and adjust. From-SVN: r197629
Richard Biener committed -
2013-04-09 Richard Biener <rguenther@suse.de> java/ * expr.c (build_java_binop): Pass a type to build_int_cst. * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): Avoid work that is not necessary. From-SVN: r197626
Richard Biener committed -
PR tree-optimization/56854 * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Don't forward into clobber stmts if it would change MEM_REF lhs into non-MEM_REF. * g++.dg/torture/pr56854.C: New test. From-SVN: r197625
Jakub Jelinek committed -
2013-04-09 Tobias Burnus <burnus@net-b.de> * gfortran.texi (KIND Type Parameters, Internal representation of LOGICAL variables): Add crossrefs. (Intrinsic Types): Mention issues with _Bool interop. (Naming and argument-passing conventions): New section. From-SVN: r197624
Tobias Burnus committed -
* tree.c (type_hash_lookup, type_hash_add): Make static. * tree.h (type_hash_lookup, type_hash_add): Remove global declarations. From-SVN: r197623
Maxim Kuvyrkov committed -
2013-04-09 Richard Biener <rguenther@suse.de> * tree.h (unsave_expr_now): Remove. * tree-inline.c (mark_local_for_remap_r): Remove. (unsave_expr_1): Likewise. (unsave_r): Likewise. (unsave_expr_now): Likewise. * tree-ssa-copy.c (replace_exp_1): Use unshare_expr. (propagate_tree_value): Likewise. From-SVN: r197620
Richard Biener committed -
From-SVN: r197618
Jakub Jelinek committed -
From-SVN: r197617
GCC Administrator committed
-
- 08 Apr, 2013 8 commits
-
-
PR c++/56838 PR c++/17232 * typeck2.c (abstract_virtuals_error_sfinae): Disable complete_type again. From-SVN: r197613
Jason Merrill committed -
* doc/rtl.texi (sequence): Rewrite documentation to match the current use of SEQUENCE rtl objects. * rtl.def (SEQUENCE): Likewise. * doc/rtl.texi (NOTE_INSN_EH_REGION_BEG, NOTE_INSN_EH_REGION_END): Update documentation. (NOTE_INSN_LOOP_BEG, NOTE_INSN_LOOP_END, NOTE_INSN_LOOP_CONT, NOTE_INSN_LOOP_VTOP): Remove documentation for non-existing notes. * reg-notes.def (REG_EH_CONTEXT): Remove unused note. From-SVN: r197611
Steven Bosscher committed -
2013-04-08 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/56782 * frontend-passes.c (callback_reduction): Dont't do any simplification if there is only a single element which has an iterator. 2013-04-08 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/56782 * gfortran.dg/array_constructor_44.f90: New test. From-SVN: r197610
Thomas Koenig committed -
/cp 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56871 * decl.c (validate_constexpr_redeclaration): Allow an explicit specialization to be different wrt the constexpr specifier. /testsuite 2013-04-08 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56871 * g++.dg/cpp0x/constexpr-specialization.C: New. From-SVN: r197597
Paolo Carlini committed -
First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides... First phase of unifying the computation of profile scale factors/probabilities and the actual scaling to use rounding divides: - Add new macro GCOV_COMPUTE_SCALE to basic-block.h to compute the scale factor/probability via a rounding divide. - Change all locations that already perform rounding divides (inline or via RDIV) to use the appropriate helper: GCOV_COMPUTE_SCALE, apply_probability or combine_probabilities. - Change ipa-cp.c truncating divides to use rounding divides. - Add comments to all other locations (currently using truncating divides) to switch them to one of the helpers so they use a rounding divide. Next phase will be to replace the locations using truncating divides, marked with a comment here, into rounding divides via the helper methods. 2013-04-08 Teresa Johnson <tejohnson@google.com> * basic-block.h (GCOV_COMPUTE_SCALE): Define. * ipa-inline-analysis.c (param_change_prob): Use helper rounding divide methods. (estimate_edge_size_and_time): Add comment to suggest using rounding methods. (estimate_node_size_and_time): Ditto. (remap_edge_change_prob): Use helper rounding divide methods. * value-prof.c (gimple_divmod_fixed_value_transform): Ditto. (gimple_mod_pow2_value_transform): Ditto. (gimple_mod_subtract_transform): Ditto. (gimple_ic_transform): Ditto. (gimple_stringops_transform): Ditto. * stmt.c (conditional_probability): Ditto. (emit_case_dispatch_table): Ditto. * lto-cgraph.c (merge_profile_summaries): Ditto. * tree-optimize.c (execute_fixup_cfg): Ditto. * cfgcleanup.c (try_forward_edges): Ditto. * cfgloopmanip.c (scale_loop_profile): Ditto. (loopify): Ditto. (duplicate_loop_to_header_edge): Ditto. (lv_adjust_loop_entry_edge): Ditto. * tree-vect-loop.c (vect_transform_loop): Ditto. * profile.c (compute_branch_probabilities): Ditto. * cfgbuild.c (compute_outgoing_frequencies): Ditto. * lto-streamer-in.c (input_cfg): Ditto. * gimple-streamer-in.c (input_bb): Ditto. * ipa-cp.c (update_profiling_info): Ditto. (update_specialized_profile): Ditto. * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Ditto. * cfg.c (update_bb_profile_for_threading): Add comment to suggest using rounding methods. * sched-rgn.c (compute_dom_prob_ps): Ditto. (compute_trg_info): Ditto. * cfgrtl.c (force_nonfallthru_and_redirect): Ditto. (purge_dead_edges): Ditto. * loop-unswitch.c (unswitch_loop): Ditto. * cgraphclones.c (cgraph_clone_edge): Ditto. (cgraph_clone_node): Ditto. * tree-inline.c (copy_bb): Ditto. (copy_edges_for_bb): Ditto. (initialize_cfun): Ditto. (copy_cfg_body): Ditto. (expand_call_inline): Ditto. From-SVN: r197595
Teresa Johnson committed -
2013-04-08 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/libstdc++-prettyprinters/cxx11.cc: Include <memory>. From-SVN: r197594
Paolo Carlini committed -
* config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Replaced TARGET_CYGWIN64 by TARGET_64BIT. From-SVN: r197593
Kai Tietz committed -
* config/epiphany/epiphany.md (<insn_opname>v2si3): Use gen_addsi3_i / gen_subsi3_i. From-SVN: r197592
Joern Rennecke committed
-