1. 05 Aug, 2019 8 commits
    • Add a gimple_move_vops helper function · 779724a5
      I needed to add another instance of this idiom, so thought it'd
      be worth having a helper function.
      
      2019-08-05  Richard Sandiford  <richard.sandiford@arm.com>
      
      gcc/
      	* gimple.h (gimple_move_vops): Declare.
      	* gimple.c (gimple_move_vops): New function
      	* gimple-fold.c (replace_call_with_call_and_fold)
      	(gimple_fold_builtin_memory_op, gimple_fold_builtin_memset)
      	(gimple_fold_builtin_stpcpy, fold_builtin_atomic_compare_exchange)
      	(gimple_fold_call): Use it.
      	* ipa-param-manipulation.c (ipa_modify_call_arguments): Likewise.
      	* tree-call-cdce.c (use_internal_fn): Likewise.
      	* tree-if-conv.c (predicate_load_or_store): Likewise.
      	* tree-ssa-ccp.c (optimize_atomic_bit_test_and): Likewise.
      	* tree-ssa-math-opts.c (pass_cse_reciprocals::execute): Likewise.
      	* tree-ssa-propagate.c (finish_update_gimple_call): Likewise.
      	(update_call_from_tree): Likewise.
      	* tree-vect-stmts.c (vectorizable_load): Likewise.
      	* tree-vectorizer.c (adjust_simduid_builtins): Likewise.
      
      From-SVN: r274117
      Richard Sandiford committed
    • pr80993.c: Add cleanup-saved-temps to final actions. · 09eff11a
      2019-08-05  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
      
      	* gcc.target/msp430/pr80993.c: Add cleanup-saved-temps to final
      	actions.
      
      From-SVN: r274116
      Jozef Lawrynowicz committed
    • Handle new operators with no arguments in DCE. · efe5143f
      2019-08-05  Martin Liska  <mliska@suse.cz>
      
      	PR c++/91334
      	* tree-ssa-dce.c (propagate_necessity): Handle new operators
      	with not arguments.
      	(eliminate_unnecessary_stmts): Likewise.
      2019-08-05  Martin Liska  <mliska@suse.cz>
      
      	PR c++/91334
      	* g++.dg/torture/pr91334.C: New test.
      
      From-SVN: r274115
      Martin Liska committed
    • re PR tree-optimization/91169 (cd2a31a FAILs) · a2001d44
      2019-08-05  Richard Biener  <rguenther@suse.de>
      
      	PR middle-end/91169
      	* fold-const.c (get_array_ctor_element_at_index): Create
      	offset_ints according to the sign of the index type and treat
      	that as signed if it is obviously so.
      
      	* gnat.dg/array37.adb: New testcase.
      
      From-SVN: r274114
      Richard Biener committed
    • re PR target/91341 (Missing AVX Intrinsics: load/store u2) · 96d5c6dc
      	PR target/91341
      	* config/i386/avxintrin.h (_mm256_loadu2_m128, _mm256_storeu2_m128,
      	_mm256_loadu2_m128d, _mm256_storeu2_m128d, _mm256_loadu2_m128i,
      	_mm256_storeu2_m128i): New function.
      
      	* gcc.target/i386/avx-loadu2-m128-1.c: New test.
      	* gcc.target/i386/avx-loadu2-m128-2.c: New test.
      	* gcc.target/i386/avx-loadu2-m128d-1.c: New test.
      	* gcc.target/i386/avx-loadu2-m128d-2.c: New test.
      	* gcc.target/i386/avx-loadu2-m128i-1.c: New test.
      	* gcc.target/i386/avx-loadu2-m128i-2.c: New test.
      	* gcc.target/i386/avx-storeu2-m128-1.c: New test.
      	* gcc.target/i386/avx-storeu2-m128-2.c: New test.
      	* gcc.target/i386/avx-storeu2-m128d-1.c: New test.
      	* gcc.target/i386/avx-storeu2-m128d-2.c: New test.
      	* gcc.target/i386/avx-storeu2-m128i-1.c: New test.
      	* gcc.target/i386/avx-storeu2-m128i-2.c: New test.
      
      From-SVN: r274109
      Jakub Jelinek committed
    • RISC-V: Promote type correctly for libcalls · 860edc46
       - argument and return value for libcall won't promote at
         default_promote_function_mode_always_promote, however we expect it
         should sign-extend as normal function.
      
       - Witout this patch, this test case will fail at -march=rv64i -mabi=lp64.
      
       - The implementation of riscv_promote_function_mode is borrowed from MIPS.
      
      gcc/ChangeLog
      
      	* config/riscv/riscv.c (riscv_promote_function_mode): New.
      	(TARGET_PROMOTE_FUNCTION_MODE): Use riscv_promote_function_mode.
      
      gcc/testsuite/ChangeLog
      
      	* gcc.target/riscv/promote-type-for-libcall.c: New.
      
      From-SVN: r274107
      Kito Cheng committed
    • PR91349, powerpc64*-*-freebsd* defines _GNU_SOURCE · 89c78fb2
      rev 266496 (git ab6b1bb456) undefined some macros in rs6000/freebsd.h
      but missed doing the same in rs6000/freebsd64.h.
      
      	PR target/91349
      	* config/rs6000/freebsd64.h (CPLUSPLUS_CPP_SPEC),
      	(LINK_GCC_C_SEQUENCE_SPEC): Undef.
      
      From-SVN: r274105
      Alan Modra committed
    • Daily bump. · b4d2d2a8
      From-SVN: r274103
      GCC Administrator committed
  2. 04 Aug, 2019 5 commits
  3. 03 Aug, 2019 1 commit
  4. 02 Aug, 2019 26 commits