- 30 May, 2016 16 commits
-
-
* doc/invoke.texi (-fpeel-loops,-O3): Update documentation. * opts.c (default_options): Enable peel loops at -O3. * tree-ssa-loop-ivcanon.c (peeled_loops): New static var. (try_peel_loop): Do not re-peel already peeled loops; use likely upper bounds; fix profile updating. (pass_complete_unroll::execute): Initialize peeled_loops. * gcc.dg/tree-ssa/peel1.c: New testcase. * gcc.dg/tree-ssa/pr61743-1.c: Disable loop peeling. * gcc.dg/tree-ssa/pr61743-2.c: Disable loop peeling. From-SVN: r236892
Jan Hubicka committed -
* tree-ssa-loop-ivopts.c (get_computation_cost_at): Scale computed costs by frequency of BB they belong to. (get_scaled_computation_cost_at): New function. From-SVN: r236888
Martin Liska committed -
2016-05-30 Tom de Vries <tom@codesourcery.com> * gcc.dg/graphite/pr69067.c (main): Remove superfluous argument in call to ce. From-SVN: r236886
Tom de Vries committed -
re PR c++/71099 (Misleading diagnostic message with 'virtual' used in out-of-line definitions of class template member functions) /cp 2016-05-30 Paolo Carlini <paolo.carlini@oracle.com> PR c++/71099 * parser.c (cp_parser_function_specifier_opt): Use current_class_type to improve the diagnostic about wrong uses of 'virtual'. /testsuite 2016-05-30 Paolo Carlini <paolo.carlini@oracle.com> PR c++/71099 * g++.dg/parse/virtual1.C: New. From-SVN: r236885
Paolo Carlini committed -
* gcc.target/i386/iamcu/args.h (clear_non_sret_int_hardware_registers): Use correct register when clearing %edx. From-SVN: r236883
Uros Bizjak committed -
gcc/ 2016-05-28 Alexander Monakov <amonakov@ispras.ru> Marc Glisse <marc.glisse@inria.fr> PR tree-optimization/71289 * match.pd (-1 / B < A, A > -1 / B): New transformations. gcc/testsuite/ 2016-05-28 Alexander Monakov <amonakov@ispras.ru> PR tree-optimization/71289 * gcc.dg/pr71289.c: New test. Co-Authored-By: Marc Glisse <marc.glisse@inria.fr> From-SVN: r236882
Alexander Monakov committed -
From-SVN: r236880
Jan Hubicka committed -
* tree-ssa-loop-ivcanon.c (try_peel_loop): Correctly set wont_exit for peeled copies; avoid underflow when updating estimates; correctly scale loop profile. From-SVN: r236878
Jan Hubicka committed -
gcc/ChangeLog: 2016-05-30 Kugan Vivekanandarajah <kuganv@linaro.org> * tree-ssa-reassoc.c (swap_ops_for_binary_stmt): Fix typo from commit r236875. Corrected oe3 to oe2 as obvious. From-SVN: r236877
Kugan Vivekanandarajah committed -
gcc/testsuite/ChangeLog: 2016-05-30 Kugan Vivekanandarajah <kuganv@linaro.org> PR middle-end/71269 PR middle-end/71292 * gcc.dg/tree-ssa/pr71269.c: New test. * gcc.dg/tree-ssa/pr71292.c: New test. gcc/ChangeLog: 2016-05-30 Kugan Vivekanandarajah <kuganv@linaro.org> PR middle-end/71269 PR middle-end/71252 * tree-ssa-reassoc.c (insert_stmt_before_use): Use find_insert_point so that inserted stmt will not dominate stmts that defines its operand. (rewrite_expr_tree): Add stmt_to_insert before adding the use stmt. (rewrite_expr_tree_parallel): Likewise. From-SVN: r236876
Kugan Vivekanandarajah committed -
re PR tree-optimization/71252 (ICE: verify_ssa failed : definition in block 7 does not dominate use in block 6) gcc/ChangeLog: 2016-05-30 Kugan Vivekanandarajah <kuganv@linaro.org> PR middle-end/71252 * tree-ssa-reassoc.c (swap_ops_for_binary_stmt): Fix swap such that all fields including stmt_to_insert are swapped. gcc/testsuite/ChangeLog: 2016-05-30 Kugan Vivekanandarajah <kuganv@linaro.org> PR middle-end/71252 * gcc.dg/tree-ssa/pr71252-2.c: New test. From-SVN: r236875
Kugan Vivekanandarajah committed -
* predict.h (force_edge_cold): Declare. * predict.c (force_edge_cold): New function. * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Fix profile updating. (canonicalize_loop_induction_variables): Fix formating. * gcc.dg/tree-ssa/cunroll-12.c: New testcase. * gcc.dg/tree-ssa/cunroll-13.c: New testcase. * gcc.dg/tree-ssa/cunroll-14.c: New testcase. From-SVN: r236874
Jan Hubicka committed -
* config/visium/visium.c (visium_split_double_add): Minor tweaks. (visium_expand_copysign): Use gen_int_mode directly. (visium_compute_frame_size): Minor tweaks. From-SVN: r236871
Eric Botcazou committed -
* tree-vect-loop.c (vect_analyze_loop_2): Use likely_max_stmt_executions_int. From-SVN: r236870
Jan Hubicka committed -
2016-05-30 Tom de Vries <tom@codesourcery.com> PR tree-optimization/69067 * graphite-isl-ast-to-gimple.c (get_def_bb_for_const): Remove assert. * gcc.dg/graphite/pr69067.c: New test. From-SVN: r236868
Tom de Vries committed -
From-SVN: r236867
GCC Administrator committed
-
- 29 May, 2016 6 commits
-
-
PR target/71245 * config/i386/sync.md (define_peephole2 atomic_storedi_fpu): New peepholes to remove unneeded fild/fistp pairs. (define_peephole2 atomic_loaddi_fpu): Ditto. testsuite/ChangeLog: PR target/71245 * gcc.target/i386/pr71245-1.c: New test. * gcc.target/i386/pr71245-2.c: Ditto. From-SVN: r236863
Uros Bizjak committed -
From-SVN: r236862
Jan Hubicka committed -
/cp 2016-05-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/71105 * lambda.c (maybe_add_lambda_conv_op): Early return also when LAMBDA_EXPR_DEFAULT_CAPTURE_MODE != CPLD_NONE. /testsuite 2016-05-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/71105 * g++.dg/cpp0x/lambda/lambda-conv11.C: New. * g++.dg/cpp1y/lambda-conv1.C: Likewise. * g++.dg/cpp1y/lambda-conv2.C: Likewise. From-SVN: r236861
Paolo Carlini committed -
/cp 2016-05-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/71105 * lambda.c (maybe_add_lambda_conv_op): Early return also when LAMBDA_EXPR_DEFAULT_CAPTURE_MODE != CPLD_NONE. /testsuite 2016-05-29 Paolo Carlini <paolo.carlini@oracle.com> PR c++/71105 * g++.dg/cpp0x/lambda/lambda-conv11.C: New. * g++.dg/cpp1y/lambda-conv1.C: Likewise. * g++.dg/cpp1y/lambda-conv2.C: Likewise. From-SVN: r236859
Paolo Carlini committed -
* doc/xml/manual/backwards_compatibility.xml: Adjust lists.debian.org link to https. * doc/html/manual/backwards.html: Regenerate. From-SVN: r236858
Gerald Pfeifer committed -
From-SVN: r236857
GCC Administrator committed
-
- 28 May, 2016 12 commits
-
-
From-SVN: r236853
Gerald Pfeifer committed -
* tree-ssa-loop-ivopts.c (estimated_stmt_executions_int): Use likely_max_stmt_executions_int. From-SVN: r236852
Jan Hubicka committed -
* gcc.dg/tree-ssa/prefetch-5.c: Remove xfail. * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Use likely_max_stmt_executions_int. From-SVN: r236851
Jan Hubicka committed -
From-SVN: r236850
Ville Voutilainen committed -
* profile.c (compute_branch_probabilities): Do not report hitrates here. (branch_prob): Report hitrates here. * predict.c (gimple_predict_edge): Do not assert profile status; fix formatting issues. From-SVN: r236849
Jan Hubicka committed -
* predict.c (edge_predicted_by_p): New function. (predict_paths_for_bb): Do not put multiple predictions of the same type on one edge. From-SVN: r236848
Jan Hubicka committed -
* tree-ssa-loop-niter.c (number_of_iterations_exit): Revert accidental commit. From-SVN: r236847
Jan Hubicka committed -
* Makefile.tpl (configure): Depend on m4 files included. * Makefile.in: Regenerate. From-SVN: r236846
Alan Modra committed -
* dominance.c (verify_dominators): Don't segfault on NULL imm_bb. From-SVN: r236845
Alan Modra committed -
From-SVN: r236844
Ville Voutilainen committed -
Follow the same practice as other places in ira.c, where free_dominance_info is called along with loop_optimizer_finalize. Not doing so causes an ICE on gcc-5-branch, so avoid that possibility on trunk. PR rtl-optimization/71275 * ira.c (ira): Free dominance info. From-SVN: r236843
Alan Modra committed -
From-SVN: r236842
GCC Administrator committed
-
- 27 May, 2016 6 commits
-
-
* doc/xml/manual/abi.xml: Adjust URL to use https. * doc/html/manual/*: Regenerate. From-SVN: r236837
Jonathan Wakely committed -
From-SVN: r236836
Gerald Pfeifer committed -
/cp 2016-05-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60385 * name-lookup.c (push_namespace): Return bool, false when pushdecl fails. * name-lookup.h (push_namespace): Adjust declaration. * parser.c (cp_parser_namespace_definition): Check push_namespace return value. /testsuite 2016-05-27 Paolo Carlini <paolo.carlini@oracle.com> PR c++/60385 * g++.dg/parse/namespace13.C: New. From-SVN: r236835
Paolo Carlini committed -
2016-05-27 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ * config/arm/arm.h (TARGET_ARM_V6M): Remove. (TARGET_ARM_V7M): Likewise. From-SVN: r236832
Thomas Preud'homme committed -
* tree-ssa-threadedge.c: Remove include of tree-ssa-threadbackward.h. (thread_across_edge): Remove calls to find_jump_threads_backwards. * passes.def: Add jump threading passes before DOM/VRP. * tree-ssa-threadbackward.c (find_jump_threads_backwards): Change argument to a basic block from an edge. Remove tests which are handled elsewhere. (pass_data_thread_jumps, class pass_thread_jumps): New. (pass_thread_jumps::gate, pass_thread_jumps::execute): New. (make_pass_thread_jumps): Likewise. * tree-pass.h (make_pass_thread_jumps): Declare. * gcc.dg/tree-ssa/pr21417.c: Update expected output. * gcc.dg/tree-ssa/pr66752-3.c: Likewise. * gcc.dg/tree-ssa/pr68198.c: Likewise. * gcc.dg/tree-ssa/pr69196-1.c: Likewise. * gcc.dg/tree-ssa/pr69270-3.c: Likewise. * gcc.dg/tree-ssa/ssa-dom-thread-2b.c: Likewise. * gcc.dg/tree-ssa/ssa-dom-thread-2g.c: Likewise. * gcc.dg/tree-ssa/ssa-dom-thread-2h.c: Likewise. * gcc.dg/tree-ssa/ssa-dom-thread-6.c: Likewise. * gcc.dg/tree-ssa/ssa-dom-thread-7.c: Likewise. * gcc.dg/tree-ssa/ssa-dom-thread-12.c: Likewise. * gcc.dg/tree-ssa/ssa-dom-thread-13.c: Likewise. * gcc.dg/tree-ssa/vrp56.c: Likewise. From-SVN: r236831
Jeff Law committed -
* config/visium/visium-protos.h (split_double_move): Rename into... (visium_split_double_move): ...this. (visium_split_double_add): Declare. * config/visium/visium.c (split_double_move): Rename into... (visium_split_double_move): ...this. (visium_split_double_add): New function. (visium_expand_copysign): Renumber operands for consistency. * config/visium/visium.md (DImode move splitter): Adjust to renaming. (DFmode move splitter): Likewise. (*addi3_insn): Split by means of visium_split_double_add. (*adddi3_insn_flags): Delete. (*plus_plus_sltu<subst_arith>): New insn. (*subdi3_insn): Split by means of visium_split_double_add. (subdi3_insn_flags): Delete. (*minus_minus_sltu<subst_arith>): New insn. (*negdi2_insn): Split by means of visium_split_double_add. (*negdi2_insn_flags): Delete. From-SVN: r236827
Eric Botcazou committed
-