1. 21 Sep, 2016 23 commits
    • Fix JUMP_LABEL documentation · 18e15e30
      
      	* doc/rtl.texi (JUMP_LABEL): Document RETURN and SIMPLE_RETURN values.
      
      From-SVN: r240325
      Segher Boessenkool committed
    • re PR libstdc++/77288 (Std::experimental::optional::operator= implementation is broken in gcc 6.1) · b641f833
      	PR libstdc++/77288
      	* include/std/optional (__is_optional_impl, __is_optional): Remove.
      	(__converts_from_optional, __assigns_from_optional): New.
      	(optional(_Up&&)): Use is_same instead of __is_optional.
      	(optional(const optional<_Up>&)): Constrain with
      	__converts_from_optional.
      	(optional(optional<_Up>&&)): Likewise.
      	(operator=(_Up&&)): Use is_same instead of __is_optional, check
      	is_same and is_scalar.
      	(operator=(const optional<_Up>&)): Constrain with
      	__converts_from_optional and __assigns_from_optional.
      	(operator=(optional<_Up>&&)): Likewise.
      	* testsuite/20_util/optional/77288.cc: New.
      	* testsuite/20_util/optional/cons/value.cc: Adjust.
      
      From-SVN: r240324
      Ville Voutilainen committed
    • Implement LWG 2729 for tuple. · 55786785
      	* include/std/tuple (_Tuple_impl(_Tuple_impl&&)):
      	Suppress conditionally.
      	(_Tuple_impl(_Tuple_impl<_Idx, _UHead, _UTails...>&&)): Likewise.
      	(__is_tuple_impl_trait_impl, __is_tuple_impl_trait): New.
      	(_Tuple_impl(const _Head&)): Constrain.
      	(_Tuple_impl(_UHead&&)): Likewise.
      	(_Tuple_impl(_Tuple_impl&&)): Suppress conditionally.
      	(_Tuple_impl(const _Tuple_impl<_Idx, _UHead>&)): Constrain.
      	(_Tuple_impl(_Tuple_impl<_Idx, _UHead>&&)): Likewise.
      	(operator=(const tuple&)): Enable conditionally.
      	(operator=(tuple&&)): Suppress conditionally.
      	(operator=(const tuple<_UElements...>&)): Constrain.
      	(operator=(tuple<_UElements...>&&)): Likewise.
      	(operator=(const tuple&)): Enable conditionally (2-param tuple).
      	(operator=(tuple&&)): Suppress conditionally (2-param tuple).
      	(operator=(const tuple<_U1, _U2>&)): Constrain.
      	(operator=(tuple<_U1, _U2>&&)): Likewise.
      	(operator=(const pair<_U1, _U2>&)): Likewise.
      	(operator=(pair<_U1, _U2>&&)): Likewise.
      	* testsuite/20_util/tuple/element_access/get_neg.cc: Adjust.
      	* testsuite/20_util/tuple/tuple_traits.cc: New.
      
      From-SVN: r240323
      Ville Voutilainen committed
    • re PR libstdc++/77537 (pair constructors do not properly SFINAE) · f524d5b3
      	PR libstdc++/77537
      	Implement LWG 2729 for pair.
      	* include/bits/stl_pair.h (_PCC): New.
      	(_ConstructiblePair, _ImplicitlyConvertiblePair):
      	Turn into static member functions of _PCC.
      	(_MoveConstructiblePair, _ImplicitlyMoveConvertiblePair): Likewise.
      	(_PCCP): New.
      	(pair(const _T1&, const _T2&)): Adjust.
      	(_PCCFP): New.
      	(pair(const pair<_U1, _U2>&)): Adjust.
      	(pair(_U1&&, const _T2&)): Likewise.
      	(pair(const _T1&, _U2&&)): Likewise.
      	(pair(_U1&&, _U2&&)): Likewise.
      	(pair(pair<_U1, _U2>&&)): Likewise.
      	(operator=(const pair&)): Make conditionally deleted.
      	(operator=(pair&&)): Make conditionally suppressed.
      	(operator=(const pair<_U1, _U2>&)): Constrain.
      	(operator=(pair<_U1, _U2>&&): Likewise.
      	* include/std/type_traits (__nonesuch): New.
      	* testsuite/20_util/pair/traits.cc: New.
      
      From-SVN: r240322
      Ville Voutilainen committed
    • PR bootstrap/77676 - powerpc64 and powerpc64le stage2 bootstrap fail · d43b4ccc
      	* c.opt (fprintf-return-value): Temporarily initialize to zero
      	to unblock bootstrap failures.
      
      From-SVN: r240321
      Martin Sebor committed
    • dump-noaddr.x: Remove debug statements. · fe01a41a
      	* gcc.c-torture/unsorted/dump-noaddr.x: Remove debug statements.
      
      From-SVN: r240318
      Uros Bizjak committed
    • re PR c++/77651 (c++ -Wno-aligned-new ICEs) · 2e1c20b1
      	PR c++/77651
      c-family/
      	* c.opt (Waligned-new=): Add RejectNegative.
      	(faligned-new=): Likewise.  Spelling fix - change
      	aligned_new_threshhold to aligned_new_threshold.
      	* c-cppbuiltin.c (c_cpp_builtins): Change aligned_new_threshhold
      	to aligned_new_threshold.
      cp/
      	* init.c (build_new_1): Don't suggest to use -faligned-new if
      	aligned_new_threshold is non-zero.
      	(type_has_new_extended_alignment): Change aligned_new_threshhold
      	to aligned_new_threshold.
      	* call.c (second_parm_is_size_t, aligned_allocation_fn_p,
      	aligned_deallocation_fn_p, build_op_delete_call): Likewise.
      	* decl.c (cxx_init_decl_processing): Likewise.
      testsuite/
      	* g++.dg/cpp1z/aligned-new6.C: New test.
      
      From-SVN: r240317
      Jakub Jelinek committed
    • re PR sanitizer/77567 (ASAN: Bugus error "alloc-dealloc-mismatch (malloc vs… · aef6a97c
      re PR sanitizer/77567 (ASAN: Bugus error "alloc-dealloc-mismatch (malloc vs operator delete [])" with C++17's over-aligned types)
      
      	PR sanitizer/77567
      	* asan/asan_new_delete.cc: Cherry-pick upstream r282019.
      
      From-SVN: r240316
      Jakub Jelinek committed
    • [ARM] FP16 ARM Alternative format variants of AAPCS tests. · de4c144a
      testsuite/
      2016-09-21  Matthew Wahab  <matthew.wahab@arm.com>
      
      	* gcc.target/arm/fp16-aapcs-3.c: New.
      	* gcc.target/arm/fp16-aapcs-4.c: New.
      	* gcc.target/arm/aapcs/aapcs/vfp22.c: New.
      	* gcc.target/arm/aapcs/aapcs/vfp23.c: New.
      	* gcc.target/arm/aapcs/aapcs/vfp24.c: New.
      	* gcc.target/arm/aapcs/aapcs/vfp25.c: New.
      
      From-SVN: r240314
      Matthew Wahab committed
    • re PR tree-optimization/77550 (std::deque with -O3 has infinite std::distance) · 44fc7854
      gcc:
      2016-09-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              PR tree-optimization/77550
              * tree-vect-stmts.c (create_array_ref): Change parameters.
              (get_group_alias_ptr_type): New function.
              (vectorizable_store, vectorizable_load): Use get_group_alias_ptr_type.
      
      testsuite:
      2016-09-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>
              
              PR tree-optimization/77550
              * g++.dg/pr77550.C: New test.
      
      From-SVN: r240313
      Bernd Edlinger committed
    • configure.ac: Do not create links, only substitute the filenames. · 7e02fd1b
      	* configure.ac: Do not create links, only substitute the filenames.
      	* configure: Regenerate.
      	* Makefile.in: Assign the substitution results to variables.
      	(LIBGCC_LINKS): Define.
      	(enable-execute-stack.c): New rule.
      	(unwind.h): Likewise.
      	(md-unwind-support.h): Likewise.
      	(sfp-machine.h): Likewise.
      	(gthr-default.h): Likewise.
      	Add $(LIBGCC_LINKS) to the prerequisites of all object files and
      	unwind.h as prerequisite of install-unwind_h-forbuild.
      
      From-SVN: r240312
      Eric Botcazou committed
    • gimple-ssa-sprintf.c (pass_sprintf_length::compute_format_length): Add falls through comment. · 26e7820f
      	* gimple-ssa-sprintf.c (pass_sprintf_length::compute_format_length):
      	Add falls through comment.
      
      From-SVN: r240311
      Marek Polacek committed
    • dwarf2out.c (remove_child_with_prev): Clear child->die_sib. · 377e973c
      2016-09-21  Richard Biener  <rguenther@suse.de>
      
      	* dwarf2out.c (remove_child_with_prev): Clear child->die_sib.
      	(replace_child): Likewise.
      	(remove_child_TAG): Adjust.
      	(move_marked_base_types): Likewise.
      	(prune_unused_types_prune): Clear die_sib of removed children.
      
      From-SVN: r240310
      Richard Biener committed
    • Use rand_s on MinGW-w64, fix array bound overflow. · 9ad5c32a
      2016-09-21  Janne Blomqvist  <jb@gcc.gnu.org>
      
      	* intrinsics/random.c (getosrandom): Use rand_s() on
      	MinGW-w64. Fix bounds overflow in fallback code.
      
      From-SVN: r240309
      Janne Blomqvist committed
    • re PR target/77326 ([avr] Invalid optimization omits comparison) · bc084f84
      gcc/
      	PR target/77326
      	* config/avr/avr.c (avr_notice_update_cc) [CC_NONE]: If insn
      	touches some regs mentioned in cc_status, do CC_STATUS_INIT.
      gcc/testsuite/
      	PR target/77326
      	* gcc.target/avr/torture/pr77326.c: New test.
      
      From-SVN: r240306
      Georg-Johann Lay committed
    • pr68078.f90: Run on x86_64_*_linux* only. · c075003a
      2016-09-21  Louis Krupp  <louis.krupp@zoho.com>
      
      	* gfortran.dg/pr68078.f90: Run on x86_64_*_linux* only.
      
      From-SVN: r240304
      Louis Krupp committed
    • re PR tree-optimization/77648 (Setting conversion to a integer to double to 0 3/4 through a loop) · 6811ea79
      2016-09-21  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/77648
      	* tree-ssa-structalias.c (process_constraint): Handle all DEREF
      	with complex RHS.
      	(make_transitive_closure_constraints): Adjust comment.
      	(make_any_offset_constraints): New function.
      	(handle_rhs_call): Make sure to first expand a pointer to all
      	subfields before transitively closing it.
      	(handle_const_call): Likewise.  Properly expand returned
      	pointers as well.
      	(handle_pure_call): Likewise.
      
      	* gcc.dg/torture/pr77648-1.c: New testcase.
      	* gcc.dg/torture/pr77648-2.c: Likewise.
      
      From-SVN: r240303
      Richard Biener committed
    • re PR tree-optimization/77621 (Internal compiler error for mtune=atom + msse2) · f955c4c4
      2016-09-21  Richard Biener  <rguenther@suse.de>
      	Jakub Jelinek  <jakub@redhat.com>
      
      	PR tree-optimization/77621
      	* tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Split
      	group at non-vectorizable stmts.
      
      	* gcc.dg/pr77621.c: New testcase.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r240302
      Richard Biener committed
    • re PR fortran/77657 (link error with implementation of user-defined derived type… · 096506bb
      re PR fortran/77657 (link error with implementation of user-defined derived type input/output (UD-DTIO) in child extending abstract parent)
      
      2016-09-21  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/77657
      
      	* interface.c (gfc_find_specific_dtio_proc): Borrow trick from
      	resolve_typebound_generic_call to find dtio procedures that
      	over-ride those in the declared type.
      
      2016-09-21  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/77657
      	* gfortran.dg/dtio_12.f90: New test.
      
      From-SVN: r240301
      Paul Thomas committed
    • Make integer size explicit · 37d168ae
      For the lower vrp bound to be 2/-2, unsigned ints must be 4 bytes wide. This
      breaks targets like avr. Explicitly using __UINT32_TYPE__ (behind a typedef) 
      makes the testcase pass for all targets.
      
      gcc/testsuite/ChangeLog:
      
      2016-09-21  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
      
      	* gcc.dg/tree-ssa/pr64130.c: Use __UINT32_TYPE__ instead of int.
      
      From-SVN: r240300
      Senthil Kumar Selvaraj committed
    • Incorrect arithmetic optimization involving bitfield arguments · 66454000
      gcc/ChangeLog:
      
      2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	PR tree-optimization/72835
      	* tree-ssa-reassoc.c (make_new_ssa_for_def): New.
      	(make_new_ssa_for_all_defs): Likewise.
      	(zero_one_operation): Replace all SSA_NAMEs defined in the chain.
      
      
      gcc/testsuite/ChangeLog:
      
      2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	PR tree-optimization/72835
      	* gcc.dg/tree-ssa/pr72835.c: New test.
      
      From-SVN: r240299
      Kugan Vivekanandarajah committed
    • PR middle-end/49905 - Better sanity checking on sprintf src & dest to · 88d0c3f0
      gcc/ChangeLog:
      
      	PR middle-end/49905
      	* Makefile.in (OBJS): Add gimple-ssa-sprintf.o.
      	* config/linux.h (TARGET_PRINTF_POINTER_FORMAT): Redefine.
      	* config/linux.c (gnu_libc_printf_pointer_format): New function.
      	* config/sol2.h (TARGET_PRINTF_POINTER_FORMAT): Same.
      	* config/sol2.c (solaris_printf_pointer_format): New function.
      	* doc/invoke.texi (-Wformat-length, -fprintf-return-value): New
      	options.
      	* doc/tm.texi.in (TARGET_PRINTF_POINTER_FORMAT): Document.
      	* doc/tm.texi: Regenerate.
      	* gimple-fold.h (get_range_strlen): New function.
      	(get_maxval_strlen): Declare existing function.
      	* gimple-fold.c (get_range_strlen): Add arguments and compute both
      	maximum and minimum.
      	 (get_range_strlen): Define overload.
      	(get_maxval_strlen): Adjust.
      	* gimple-ssa-sprintf.c: New file and pass.
      	* passes.def (pass_sprintf_length): Add new pass.
      	* targhooks.h (default_printf_pointer_format): Declare new function.
      	(gnu_libc_printf_pointer_format): Same.
      	(solaris_libc_printf_pointer_format): Same.
      	* targhooks.c (default_printf_pointer_format): Define new function.
      	* tree-pass.h (make_pass_sprintf_length): Declare new function.
      	* print-tree.c: Increase buffer size.
      
      gcc/c-family/ChangeLog:
      
      	PR middle-end/49905
      	* c.opt: Add -Wformat-length and -fprintf-return-value.
      
      gcc/testsuite/ChangeLog:
      
      	PR middle-end/49905
      	* gcc.dg/builtin-stringop-chk-1.c: Adjust.
      	* gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: New test.
      	* gcc.dg/tree-ssa/builtin-sprintf-warn-2.c: New test.
      	* gcc.dg/tree-ssa/builtin-sprintf-warn-3.c: New test.
      	* gcc.dg/tree-ssa/builtin-sprintf-warn-4.c: New test.
      	* gcc.dg/tree-ssa/builtin-sprintf.c: New test.
      	* gcc.dg/tree-ssa/builtin-sprintf-2.c: New test.
      
      From-SVN: r240298
      Martin Sebor committed
    • Daily bump. · 6283a8db
      From-SVN: r240297
      GCC Administrator committed
  2. 20 Sep, 2016 17 commits
    • Use ipa-vrp result in tree-vrp · a03df1d5
      gcc/ChangeLog:
      
      2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	 * tree-vrp.c (get_value_range): Teach PARM_DECL to use ipa-vrp
      	 results.
      
      
      gcc/testsuite/ChangeLog:
      
      2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	* gcc.dg/guality/pr54519-1.c: Add -fno-ipa-vrp. Else constant
      	arguments/compare will be optimized away.
      	* gcc.dg/torture/ftrapv-1.c: Likewise.
      
      From-SVN: r240293
      Kugan Vivekanandarajah committed
    • Add IPA VRP · 8bc5448f
      gcc/lto/ChangeLog:
      2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	* lto-partition.c: Include tree-vrp.h.
      	* lto.c: Likewise.
      
      gcc/testsuite/ChangeLog:
      
      2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	* g++.dg/ipa/pure-const-3.C: Add -fno-ipa-vrp. Else constant arguments
      	will be optimized away.
      	* gcc.dg/ipa/vrp1.c: New test.
      	* gcc.dg/ipa/vrp2.c: New test.
      	* gcc.dg/ipa/vrp3.c: New test.
      
      gcc/ChangeLog:
      
      2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	* common.opt: New option -fipa-vrp.
      	* ipa-cp.c (ipa_get_vr_lat): New.
      	(ipcp_vr_lattice::print): Likewise.
      	(print_all_lattices): Call ipcp_vr_lattice::print.
      	(ipcp_vr_lattice::meet_with): New.
      	(ipcp_vr_lattice::meet_with_1): Likewise.
      	(ipcp_vr_lattice::top_p): Likewise.
      	(ipcp_vr_lattice::bottom_p): Likewsie.
      	(ipcp_vr_lattice::set_to_bottom): Likewise.
      	(set_all_contains_variable): Call VR set_to_bottom.
      	(initialize_node_lattices): Init VR lattices.
      	(propagate_vr_accross_jump_function): New.
      	(propagate_constants_accross_call): Call
      	propagate_vr_accross_jump_function.
      	(ipcp_store_vr_results): New.
      	(ipcp_driver): Handle VR.
      	* ipa-prop.c (ipa_print_node_jump_functions_for_edge): Handle VR.
      	(ipa_set_jf_unknown): Likewise.
      	(ipa_compute_jump_functions_for_edge): Likewise.
      	(ipa_node_params_t::duplicate): Likewise.
      	(ipa_write_jump_function): Likewise.
      	(ipa_read_jump_function): Likewise.
      	(write_ipcp_transformation_info): Likewise.
      	(read_ipcp_transformation_info): Likewise.
      	(ipcp_update_vr): New.
      	(ipcp_transform_function): Handle VR.
      	* ipa-prop.h (struct ipa_vr): New.
      	* cgraph.c: Include tree-vrp.h.
      	* cgraphunit.c: Likewise.
      	* ipa-utils.c: Likewise.
      	* ipa.c: Likewise.
      
      From-SVN: r240292
      Kugan Vivekanandarajah committed
    • Add Early VRP · 973625a0
      gcc/ChangeLog:
      
      2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	* doc/invoke.texi: Document -fdump-tree-evrp.
      	* passes.def: Define new pass_early_vrp.
      	* timevar.def: Define new TV_TREE_EARLY_VRP.
      	* tree-pass.h (make_pass_early_vrp): New.
      	* tree-ssa-propagate.c: Make replace_uses_in non static.
      	* tree-ssa-propagate.h: Export replace_uses_in.
      	* tree-vrp.c (extract_range_for_var_from_comparison_expr): New.
      	(extract_range_from_assert): Factor out
      	extract_range_for_var_from_comparison_expr.
      	(vrp_initialize_lattice): New.
      	(vrp_initialize): Factor out vrp_initialize_lattice.
      	(vrp_valueize): Fix it to reject complex value ranges.
      	(vrp_free_lattice): New.
      	(evrp_dom_walker::before_dom_children): Likewise.
      	(evrp_dom_walker::after_dom_children): Likewise.
      	(evrp_dom_walker::push_value_range): Likewise.
      	(evrp_dom_walker::pop_value_range): Likewise.
      	(execute_early_vrp): Likewise.
      	(execute_vrp): Call vrp_initialize_lattice and
      	vrp_free_lattice.
      	(make_pass_early_vrp): New.
      
      
      gcc/testsuite/ChangeLog:
      
      2016-09-21  Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      	* g++.dg/tree-ssa/pr31146-2.C: Run with -fno-tree-evrp as evrp also
      	does the same transformation.
      	* g++.dg/warn/pr33738.C: XFAIL as optimization now happens in ccp.
      	* gcc.dg/tree-ssa/evrp1.c: New test.
      	* gcc.dg/tree-ssa/evrp2.c: New test.
      	* gcc.dg/tree-ssa/evrp3.c: New test.
      	* gcc.dg/tree-ssa/pr20657.c: Check for the pattern in evrp dump.
      	* gcc.dg/tree-ssa/pr22117.c: Likewise.
      	* gcc.dg/tree-ssa/pr61839_2.c: Likewise.
      	* gcc.dg/tree-ssa/pr64130.c: Likewise.
      	* gcc.dg/tree-ssa/pr37508.c: Change the pattern to be checked as
      	foling now happens early.
      	* gcc.dg/tree-ssa/vrp04.c: Likewise.
      	* gcc.dg/tree-ssa/vrp06.c: Likewise.
      	* gcc.dg/tree-ssa/vrp16.c: Likewise.
      	* gcc.dg/tree-ssa/vrp25.c: Likewise.
      	* gcc.dg/tree-ssa/vrp67.c: Likewise.
      
      From-SVN: r240291
      Kugan Vivekanandarajah committed
    • Report DejaGnu ERROR messages in dg-extract-results. · aa9baacf
      2016-09-20  Christophe Lyon  <christophe.lyon@linaro.org>
      
      	* dg-extract-results.py: Report DejaGnu error in the final
      	summary.
      	* dg-extract-results.sh: Likewise.
      
      From-SVN: r240289
      Christophe Lyon committed
    • Report DejaGnu ERROR messages in compare_tests · b0a5704b
      2016-09-20  Christophe Lyon  <christophe.lyon@linaro.org>
      
      	* compare_tests: Take ERROR messages into account when
                comparing.
      
      From-SVN: r240288
      Christophe Lyon committed
    • trans-intrinsic.c (conv_expr_ref_to_caf_ref): Adjust fall through comment. · 60590933
      	* trans-intrinsic.c (conv_expr_ref_to_caf_ref): Adjust fall through
      	comment.
      
      From-SVN: r240286
      Marek Polacek committed
    • syscall: build export_unix_test.go on solaris · 321f72a2
          
          Patch from Rainer Orth.
          
          Reviewed-on: https://go-review.googlesource.com/29436
      
      From-SVN: r240285
      Ian Lance Taylor committed
    • i386.md (mult->ashift peephole2s): Use pow2p_hwi instead of exact_log2. · ed34fc97
      	* config/i386/i386.md (mult->ashift peephole2s): Use pow2p_hwi
      	instead of exact_log2.
      
      From-SVN: r240281
      Uros Bizjak committed
    • re PR go/77625 (go/gofrontend/ast-dump.cc:169:42: error: ‘new’ of type… · 3c191794
      re PR go/77625 (go/gofrontend/ast-dump.cc:169:42: error: ‘new’ of type ‘std::ofstr eam {aka std::basic_ofstream<char>}’ with extended alignment 16)
      
      	PR go/77625
      
          compiler: allocate std::ofstream as a local variable
          
          GCC PR 77625 points out a warning about new std::ofstream.  I don't know
          how that is supposed to work, but in this case the std::ofstream may as
          well be a local variable anyhow.
          
          Reviewed-on: https://go-review.googlesource.com/29435
      
      From-SVN: r240279
      Ian Lance Taylor committed
    • re PR tree-optimization/77621 (Internal compiler error for mtune=atom + msse2) · 9b1ba33c
      	PR target/77621
      	* config/i386/i386.c (ix86_preferred_simd_mode) <case DFmode>:
      	Don't return word_mode for !TARGET_VECTORIZE_DOUBLE.
      	(ix86_add_stmt_cost): Penalize DFmode vector operations
      	for !TARGET_VECTORIZE_DOUBLE.
      
      testsuite/ChangeLog:
      
      	PR target/77621
      	* gcc.target/i386/pr77621.c: New test.
      	* gcc.target/i386/vect-double-2.c: Update scan-tree-dump-times
      	pattern, loop should vectorize with -mtune=atom.
      
      From-SVN: r240277
      Uros Bizjak committed
    • re PR go/77642 (GO Bootstrap fail starting with r239872 splitstack signature does not match) · b276eda4
      	PR go/77642
      
          runtime: pass correct type to __splitstack_find
          
          The code was passing uintptr* to a function that expected size_t*.
          
          Based on patch by Andreas Krebbel.
          
          Fixes GCC PR 77642.
          
          Reviewed-on: https://go-review.googlesource.com/29433
      
      From-SVN: r240275
      Ian Lance Taylor committed
    • invoke.texi (Warning Options): Simplify language. · c7922247
      	* doc/invoke.texi (Warning Options): Simplify language.
      	(Optimize Options): Complete sentence.
      
      From-SVN: r240274
      Gerald Pfeifer committed
    • rs6000.c (rs6000_expand_vector_init): For V4SF inits on power8 and above, use… · 00cc7cbf
      rs6000.c (rs6000_expand_vector_init): For V4SF inits on power8 and above, use the VMRGEW instruction instead of a permute.
      
      2016-09-20  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	* config/rs6000/rs6000.c (rs6000_expand_vector_init): For V4SF
      	inits on power8 and above, use the VMRGEW instruction instead of a
      	permute.
      
      	* config/rs6000/altivec.md (UNSPEC_VMRGEW_DIRECT): New unspec.
      	(p8_vmrgew_v4sf_direct): New VMRGEW insn for V4SF floating
      	initialization.
      
      From-SVN: r240272
      Michael Meissner committed
    • [PATCH] [AArch64] Add missing attributes to arm_neon.h · c55b5440
      Committed on behalf of Tamar Christina  <tamar.christina@arm.com>
      
      gcc/
      
      	* config/aarch64/arm_neon.h
      	(vst2_s64, vst2_u64, vst2_f64, vst2_s8): Add missing attributes.
      	(vst3_s64, vst3_u64, vst3_f64, vst3_s8): Likewise.
      	(vst4_s64, vst4_u64, vst4_f64, vst4_s8): Likewise.
      
      From-SVN: r240271
      Tamar Christina committed
    • vax.h (ELIMINABLE_REGS): Define. · 978fc7d4
      2016-09-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>
      
              * config/var/vax.h (ELIMINABLE_REGS): Define.
              (INITIAL_ELIMINATION_OFFSET): Define.
      
      From-SVN: r240269
      Bernd Edlinger committed
    • re PR testsuite/63299 (ASan reported alloc-dealloc-mismatch in g++.old-deja/g++.jason/init3.C) · f5bd4ad8
      	PR testsuite/63299
      	* g++.old-deja/g++.jason/init3.C (My_string::~My_string): Use delete[]
      	instead of delete.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r240268
      Maxim Ostapenko committed