1. 01 Mar, 2017 7 commits
    • [PR 78140] Reuse same IPA bits and VR info · 86cd0334
      2017-03-01  Martin Jambor  <mjambor@suse.cz>
      
      	PR lto/78140
      	* ipa-prop.h (ipa_bits): Removed field known.
      	(ipa_jump_func): Removed field vr_known.  Changed fields bits and m_vr
      	to pointers.  Adjusted their comments to warn about their sharing.
      	(ipcp_transformation_summary): Change bits to a vector of pointers.
      	(ipa_check_create_edge_args): Moved to ipa-prop.c, declare.
      	(ipa_get_ipa_bits_for_value): Declare.
      	* tree-vrp.h (value_range): Mark as GTY((for_user)).
      	* ipa-prop.c (ipa_bit_ggc_hash_traits): New.
      	(ipa_bits_hash_table): Likewise.
      	(ipa_vr_ggc_hash_traits): Likewise.
      	(ipa_vr_hash_table): Likewise.
      	(ipa_print_node_jump_functions_for_edge): Adjust for bits and m_vr
      	being pointers and vr_known being removed.
      	(ipa_set_jf_unknown): Likewise.
      	(ipa_get_ipa_bits_for_value): New function.
      	(ipa_set_jfunc_bits): Likewise.
      	(ipa_get_value_range): New overloaded functions.
      	(ipa_set_jfunc_vr): Likewise.
      	(ipa_compute_jump_functions_for_edge): Use the above functions to
      	construct bits and vr parts of jump functions.
      	(ipa_check_create_edge_args): Move here from ipa-prop.h, also allocate
      	ipa_bits_hash_table and ipa_vr_hash_table if they do not already
      	exist.
      	(ipcp_grow_transformations_if_necessary): Also allocate
      	ipa_bits_hash_table and ipa_vr_hash_table if they do not already
      	exist.
      	(ipa_node_params_t::duplicate): Do not copy bits, just pointers to
      	them.  Fix too long lines.
      	(ipa_write_jump_function): Adjust for bits and m_vr being pointers and
      	vr_known being removed.
      	(ipa_read_jump_function): Use new setter functions to construct bits
      	and vr parts of jump functions or set them to NULL.
      	(write_ipcp_transformation_info): Adjust for bits being pointers.
      	(read_ipcp_transformation_info): Likewise.
      	(ipcp_update_bits): Likewise.  Fix excessively long lines a trailing
      	space.
      	Include gt-ipa-prop.h.
      	* ipa-cp.c (propagate_bits_across_jump_function): Adjust for bits
      	being pointers.
      	(ipcp_store_bits_results): Likewise.
      	(propagate_vr_across_jump_function): Adjust for m_vr being a pointer.
      	Do not write to existing jump functions but use a temporary instead.
      
      From-SVN: r245805
      Martin Jambor committed
    • re PR c++/79681 (ICE with constexpr and bitfield) · 42132674
      	PR c++/79681
      	* fold-const.c (make_bit_field_ref): If orig_inner is COMPONENT_REF,
      	attempt to use its first operand as BIT_FIELD_REF base.
      
      	* g++.dg/cpp1y/constexpr-79681-1.C: New test.
      	* g++.dg/cpp1y/constexpr-79681-2.C: New test.
      
      From-SVN: r245804
      Jakub Jelinek committed
    • re PR tree-optimization/79721 (Scalar evolution introduces signed overflow) · 0100ae43
      2017-03-01  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/79721
      	* tree-chrec.c (chrec_evaluate): Perform computation of Newtons
      	interpolating formula in wrapping arithmetic.
      	(chrec_apply): Convert chrec_evaluate return value to wanted type.
      
      	* gcc.dg/torture/pr79721.c: New testcase.
      
      From-SVN: r245803
      Richard Biener committed
    • re PR c++/79746 (Confusing -Wunused-but-set-parameter warning with virtual inheritance) · e3e9e8ca
      	PR c++/79746
      	* init.c (emit_mem_initializers): When not constructing vbases of
      	abstract classes, mark arguments as read for
      	-Wunused-but-set-parameter.
      
      	* g++.dg/warn/Wunused-parm-9.C: New test.
      
      From-SVN: r245802
      Jakub Jelinek committed
    • re PR tree-optimization/79734 (ICE: verify_gimple failed) · 0f3f4ffe
      	PR tree-optimization/79734
      	* tree-vect-generic.c (expand_vector_condition): Optimize
      	AVX512 vector boolean VEC_COND_EXPRs into bitwise operations.
      	Handle VEC_COND_EXPR where comparison has different inner width from
      	type's inner width.
      
      	* g++.dg/opt/pr79734.C: New test.
      
      From-SVN: r245801
      Jakub Jelinek committed
    • invoke.texi (ARC Options): Copy-edit to fix punctuation, markup, and similar issues. · e287080d
      2017-02-28  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* doc/invoke.texi (ARC Options): Copy-edit to fix punctuation,
      	markup, and similar issues.  Remove @opindex entries for things
      	that aren't options.  Add missing -mmpy-option entries.
      
      From-SVN: r245800
      Sandra Loosemore committed
    • Daily bump. · da1a9ced
      From-SVN: r245799
      GCC Administrator committed
  2. 28 Feb, 2017 23 commits
  3. 27 Feb, 2017 10 commits