1. 27 Jun, 2017 27 commits
    • match.pd (X >/>=/</<= 0 ? 1.0 : -1.0): New patterns. · 8c2805bb
      2017-06-27  Andrew Pinski  <apinski@cavium.com>
      
              * match.pd (X >/>=/</<= 0 ? 1.0 : -1.0): New patterns.
              (X * copysign (1.0, X)): New pattern.
              (X * copysign (1.0, -X)): New pattern.
              (copysign (-1.0, CST)): New pattern.
      
      2017-06-27  Andrew Pinski  <apinski@cavium.com>
      
              * gcc.dg/tree-ssa/copy-sign-1.c: New testcase.
              * gcc.dg/tree-ssa/copy-sign-2.c: New testcase.
              * gcc.dg/tree-ssa/mult-abs-2.c: New testcase.
      
      From-SVN: r249704
      Andrew Pinski committed
    • Fix genmultilib reuse rule checks for large sets of option combinations. · 9636e806
      genmultilib computes combination_space, a list of all combinations of
      options in MULTILIB_OPTIONS that might have multilibs built for them
      (some of which may end up not having multilibs built for them, and
      some of those may end up being mapped to other multilibs with
      MULTILIB_REUSE).  It is then used to validate the right hand part of
      MULTILIB_REUSE rules, checking with expr that combination_space
      matches a basic regular expression derived from that right hand part.
      
      There are two problems with this approach to validation:
      
      * It requires that right hand part to have options in the same order
        as in MULTILIB_OPTIONS, in contradiction to the documentation of
        MULTILIB_REUSE saying that order does not matter there.
      
      * combination_space can be so large that the expr call fails with an
        E2BIG error.  I have a local ARM configuration with 40 multilibs but
        3840 combinations of options from MULTILIB_OPTIONS (so 3839 listed
        in combination_space, since it doesn't list the default multilib)
        and 996 MULTILIB_REUSE rules.  This generates a combination_space
        string longer than the Linux kernel's MAX_ARG_STRLEN (PAGE_SIZE *
        32, the limit on the length of a single argv string), so that expr
        cannot be run.
      
      This patch changes the validation approach to generate a much shorter
      extended regular expression for any sequence of multilib options in
      any order, and uses that for the validation instead.
      
      Tested with a build for arm-none-eabi --with-multilib-list=aprofile
      (as a configuration that uses MULTILIB_REUSE).
      
      	* genmultilib (combination_space): Remove variable.
      	Validate reuse rules against regular expression for any sequence
      	of multilib options in any order.
      
      From-SVN: r249703
      Joseph Myers committed
    • aarch64-simd.md (aarch64_combine<mode>): Directly call aarch64_split_simd_combine. · a977dc0c
      2017-06-19  Michael Collison  <michael.collison@arm.com>
      
      	* config/aarch64/aarch64-simd.md (aarch64_combine<mode>): Directly
      	call aarch64_split_simd_combine.
      	* (aarch64_combine_internal<mode>): Delete pattern.
      	* config/aarch64/aarch64.c (aarch64_split_simd_combine):
      	Allow register and subreg operands.
      
      From-SVN: r249702
      Michael Collison committed
    • cp-tree.h (CLASSTYPE_DESTRUCTORS): Rename to ... · b2cf76f3
      	* cp-tree.h (CLASSTYPE_DESTRUCTORS): Rename to ...
      	(CLASSTYPE_DESTRUCTOR): ... this.
      	* class.c (accessible_nvdtor_p)
      	maybe_warn_about_overly_private_class,
      	add_implicitly_declared_members,
      	clone_constructors_and_destructors, type_has_virtual_destructor):
      	Adjust for CLASSTYPE_DESTRUCTOR.
      	(deduce_noexcept_on_destructors): Absorb into ...
      	(check_bases_and_members): ... here.
      	* except.c (dtor_nothrow): Adjust for CLASSTYPE_DESTRUCTOR.
      	* init.c (build_delete): Likewise.
      	* parser.c (cp_parser_lookup_name): Likewise.
      	* pt.c (check_explicit_specialization): Likewise.
      	* rtti.c (emit_support_tinfos): Likewise.
      	* search.c (lookup_fnfields_idx_nolazy): Likewise.
      (--This line, and those below, will be ignored--
      
      M    cp/cp-tree.h
      M    cp/search.c
      M    cp/init.c
      M    cp/class.c
      M    cp/rtti.c
      M    cp/except.c
      M    cp/ChangeLog
      M    cp/pt.c
      M    cp/parser.c
      
      From-SVN: r249701
      Nathan Sidwell committed
    • PR libstdc++/81221 only run new test for check-parallel · 68fe5f44
      	PR libstdc++/81221
      	* testsuite/25_algorithms/sample/81221.cc: Disable except for
      	check-parallel.
      
      From-SVN: r249697
      Jonathan Wakely committed
    • * longlong.h: Remove ns32k support. · e0c634b1
      From-SVN: r249696
      Maya Rashish committed
    • Show value of GOMP_OPENACC_DIM in libgomp nvptx plugin · dfb15f6b
      2017-06-27  Tom de Vries  <tom@codesourcery.com>
      
      	* plugin/plugin-nvptx.c (notify_var): New function.
      	(nvptx_exec): Use notify_var for GOMP_OPENACC_DIM.
      
      From-SVN: r249695
      Tom de Vries committed
    • Use secure_getenv for GOMP_DEBUG · 22f1a037
      2017-06-27  Tom de Vries  <tom@codesourcery.com>
      
      	* env.c (parse_unsigned_long_1): Factor out of ...
      	(parse_unsigned_long): ... here.
      	(parse_int_1): Factor out of ...
      	(parse_int): ... here.
      	(parse_int_secure): New function.
      	(initialize_env): Use parse_int_secure for GOMP_DEBUG.
      	* secure_getenv.h: Factor out of ...
      	* plugin/plugin-hsa.c: ... here.
      	* testsuite/libgomp.oacc-c-c++-common/gomp-debug-env.c: New test.
      
      From-SVN: r249694
      Tom de Vries committed
    • Kill IDENTIFIER_TEMPLATE. · 5fee5eca
      	* cp-tree.h (lang_identifier): Remove class_template_info field.
      	(IDENTIFIER_TEMPLATE): Delete.
      	* name-lookup.c (constructor_name_full): Subsume into ...
      	(constructor_name): ... here.  Don't check IDENTIFIER_TEMPLATE.
      	(constructor_name_p): Likewise.
      	* mangle.c (write_source_name): Likewise.
      	* ptree.c (cxx_print_identifier): Likewise.
      
      From-SVN: r249693
      Nathan Sidwell committed
    • PR libstdc++/81221 fix namespace qualification for parallel mode · e708b94b
      	PR libstdc++/81221
      	* include/bits/stl_algo.h (sample): Qualify with _GLIBCXX_STD_A not
      	std.
      	* testsuite/25_algorithms/sample/81221.cc: New.
      
      From-SVN: r249692
      Jonathan Wakely committed
    • vxworks.h (ASM_SPEC): Remove definition. · e57f3ae8
      2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
      
      	* config/i386/vxworks.h (ASM_SPEC): Remove definition. No target
      	specific need, just fallback on defaults.
      	(ASM_OUTPUT_ALIGNED_BSS): Add #undef before #define.
      
      From-SVN: r249691
      Jerome Lambourg committed
    • vxworks.h (DBX_REGISTER_NUMBER): Pick distinct map for 64bits. · 580536aa
      2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
                  Olivier Hainque  <hainque@adacore.com>
      
      	* config/i386/vxworks.h (DBX_REGISTER_NUMBER): Pick distinct
      	map for 64bits.
      	(TARGET_OS_CPP_BUILTINS): builtin_define CPU to X86_64 for 64bit
      	targets. Pick a default if no particular attempt applied.
      	(STACK_CHECK_PROTECT): Double for 64bit targets, which have
      	larger contexts.
      
      
      Co-Authored-By: Olivier Hainque <hainque@adacore.com>
      
      From-SVN: r249690
      Jerome Lambourg committed
    • config.gcc (i*86-wrs-vxworks7): Handle new acceptable triplet. · 50567938
      2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
      
      	gcc/
      	* config.gcc (i*86-wrs-vxworks7): Handle new acceptable triplet.
      	(x86_64-wrs-vxworks7): Likewise.
      
      	libgcc/
      	* config.host (i*86-wrs)vxworks7): Handle new acceptable triplet.
      	(x86_64-wrs-vxworks7): Likewise.
      
      From-SVN: r249689
      Jerome Lambourg committed
    • t-vxworks7: New file. · e4b0df93
      2017-06-27  Olivier Hainque  <hainque@adacore.com>
      
      	* config/t-vxworks7: New file.
      	* config.host (*-*-vxworks7): Use it.
      
      From-SVN: r249688
      Olivier Hainque committed
    • re PR sanitizer/81223 (ICE in instrument_null at gcc/ubsan.c:1230) · 786c6d10
      	PR sanitizer/81223
      	* ubsan.c (instrument_null): Check get_base_address's result for null.
      
      	* gcc.dg/ubsan/pr81223.c: New test.
      
      From-SVN: r249687
      Marek Polacek committed
    • Simple reassoc transforms in match.pd · 1e7df2e6
      2017-06-27  Marc Glisse  <marc.glisse@inria.fr>
      
      gcc/
      	* match.pd ((A+-B)+(C-A), (A+B)-(A-C)): New transformations.
      
      gcc/testsuite/
      	* gcc.dg/tree-ssa/assoc-1.c: New file.
      
      From-SVN: r249686
      Marc Glisse committed
    • fenv.h builtins · a889d6aa
      2017-06-27  Marc Glisse  <marc.glisse@inria.fr>
      
      	* builtin-types.def (BT_FENV_T_PTR, BT_CONST_FENV_T_PTR,
      	BT_FEXCEPT_T_PTR, BT_CONST_FEXCEPT_T_PTR): New primitive types.
      	(BT_FN_INT_FENV_T_PTR, BT_FN_INT_CONST_FENV_T_PTR,
      	BT_FN_INT_FEXCEPT_T_PTR_INT, BT_FN_INT_CONST_FEXCEPT_T_PTR_INT):
      	New function types.
      	* builtins.def (BUILT_IN_FECLEAREXCEPT, BUILT_IN_FEGETENV,
      	BUILT_IN_FEGETEXCEPTFLAG, BUILT_IN_FEGETROUND,
      	BUILT_IN_FEHOLDEXCEPT, BUILT_IN_FERAISEEXCEPT,
      	BUILT_IN_FESETENV, BUILT_IN_FESETEXCEPTFLAG,
      	BUILT_IN_FESETROUND, BUILT_IN_FETESTEXCEPT,
      	BUILT_IN_FEUPDATEENV): New builtins.
      	* tree-core.h (TI_FENV_T_PTR_TYPE, TI_CONST_FENV_T_PTR_TYPE,
      	TI_FEXCEPT_T_PTR_TYPE, TI_CONST_FEXCEPT_T_PTR_TYPE): New entries.
      	* tree.h (fenv_t_ptr_type_node, const_fenv_t_ptr_type_node,
      	fexcept_t_ptr_type_node, const_fexcept_t_ptr_type_node): New
      	macros.
      	(builtin_structptr_types): Adjust size.
      	* tree.c (builtin_structptr_types): Add four entries.
      
      From-SVN: r249685
      Marc Glisse committed
    • vxworks.h (VXWORKS_LIB_SPEC): Incorporate ... · 931fae81
      2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
                  Olivier Hainque  <hainque@adacore.com>
      
      	* config/vxworks.h (VXWORKS_LIB_SPEC): Incorporate ...
      	(TLS_SYM): New local macro, forcing reference to __tls__ on
      	link command lines for VxWorks 7 RTPs, triggering initialization
      	of tlsLib.
      	(VXWORKS_HAVE_TLS): New macro. State whether the target VxWorks
      	OS features TLS support, true for RTPs on VxWorks 7.
      	* config/vxworks.c (vxworks_override_options): Setup emutls
      	accordingly.
      
      
      Co-Authored-By: Olivier Hainque <hainque@adacore.com>
      
      From-SVN: r249684
      Jerome Lambourg committed
    • predict.c (test_prediction_value_range): Use -1U instead of -1 to avoid… · f6b3ca5a
      predict.c (test_prediction_value_range): Use -1U instead of -1 to avoid narrowing conversion warning.
      
      	* predict.c (test_prediction_value_range): Use -1U instead of -1
      	to avoid narrowing conversion warning.
      	* dumpfile.c (dump_options): Wrap all value into dump_flags_t cast
      	to avoid narrowing conversion warning.
      	* opt-functions.awk (var_ref): Return (unsigned short) -1 instead of
      	-1.
      	* optc-gen.awk (END): Expect (unsigned short) -1 instead of -1.
      
      From-SVN: r249683
      Jakub Jelinek committed
    • re PR c++/62046 (A catch in a class, without any try, compiles fine) · 58b45c4f
      2017-06-27  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/62046
      	* g++.dg/parse/catch2.C: New.
      
      From-SVN: r249682
      Paolo Carlini committed
    • vxworks.h (VXWORKS_LIBS_RTP): Alternative definition for 64bit configurations. · a93e7e14
      2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
      
      	* config/vxworks.h (VXWORKS_LIBS_RTP): Alternative definition for
        	64bit configurations.
        	(PTR_DIFF_TYPE): Alternative definition for TARGET_LP64.
        	(SIZE_TYPE): Likewise.
        	* config/vxworks.c (vxworks_emutls_var_fields): Use
        	long_unsigned_type_node instead of unsigned_type_node as the offset
      	field type, which is "pointer" mode in emutls.c.
      
      From-SVN: r249681
      Jerome Lambourg committed
    • re PR sanitizer/81209 (-fsanitize=undefined ICE on darwin) · c1031852
      	PR sanitizer/81209
      	* ubsan.c (ubsan_encode_value): Initialize DECL_CONTEXT on var.
      
      	* g++.dg/ubsan/pr81209.C: New test.
      
      From-SVN: r249678
      Jakub Jelinek committed
    • re PR middle-end/81207 (tree check fail in simplify_builtin_call) · 00296d7f
      	PR middle-end/81207
      	* gimple-fold.c (replace_call_with_call_and_fold): Handle
      	gimple_vuse copying separately from gimple_vdef copying.
      
      	* gcc.c-torture/compile/pr81207.c: New test.
      
      From-SVN: r249677
      Jakub Jelinek committed
    • re PR bootstrap/81216 (bootstrap failed on i386 and powerpc64le) · 0c418630
      	PR bootstrap/81216
      	* parser.c (cp_parser_already_scoped_statement): Initialize
      	LOC_AFTER_LABELS.
      
      	* g++.dg/warn/Wmultistatement-macros-1.C: New test.
      
      From-SVN: r249676
      Marek Polacek committed
    • value-prof.c (free_hist): Remove call to memset and the enclosing if condition. · d25c0cc1
      2017-06-27  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
      
      	* value-prof.c (free_hist): Remove call to memset and the enclosing if
      	condition.
      
      From-SVN: r249675
      Prathamesh Kulkarni committed
    • libgo: add misc/cgo files · 93661575
          
          Copy all the misc/cgo files from the gc toolchain into libgo/misc.
          
          These will be used for testing purposes by later changes to the
          gotools directory.
          
          Reviewed-on: https://go-review.googlesource.com/46721
      
      From-SVN: r249674
      Ian Lance Taylor committed
    • Daily bump. · 9913ef58
      From-SVN: r249673
      GCC Administrator committed
  2. 26 Jun, 2017 13 commits
    • Makefile.am (s-zdefaultcc): Don't record $(bindir) for defaultCC or defaultCXX. · 8e51be62
      	* Makefile.am (s-zdefaultcc): Don't record $(bindir) for defaultCC
      	or defaultCXX.
      	* Makefile.in: Rebuild.
      
      From-SVN: r249669
      Ian Lance Taylor committed
    • Fix for SPEC CPU2017 621.wrf_s failure, add missing locking code. · b971fa7f
      	libgfortran/
      	PR libfortran/81195
      	* io/unit.c (get_unit): Call __gthread_mutex_lock before newunit_stack
      	and newunit_tos references.  Call __gthread_mutex_unlock afterward.
      
      From-SVN: r249667
      Jim Wilson committed
    • PR c++/81215 - deduction failure with variadic TTP. · b0d1023d
      	* pt.c (unify_bound_ttp_args): Restore old logic for C++14 and down.
      
      From-SVN: r249664
      Jason Merrill committed
    • syscall: don't define PtraceRegs for Alpha · b5df99f7
          
          It's now defined by mksysinfo.sh.
          
          Patch by Uros Bizjak.
          
          Reviewed-on: https://go-review.googlesource.com/46712
      
      From-SVN: r249663
      Ian Lance Taylor committed
    • PR c++/81169 - -Wclass-memaccess illegitimate warning related to volatile · 4b377e01
      gcc/cp/ChangeLog:
      
      	PR c++/81169
      	* call.c (maybe_warn_class_memaccess): Preserve explicit conversions
      	to detect casting away cv-qualifiers.
      
      gcc/testsuite/ChangeLog:
      
      	PR c++/81169
      	* g++.dg/Wclass-memaccess-2.C: New test.
      
      From-SVN: r249660
      Martin Sebor committed
    • config.gcc (*-*-vxworks*): Add TARGET_VXWORKS7=1 to tm_defines for all vxworks7 targets. · b269e899
      2017-06-26  Jerome Lambourg  <lambourg@adacore.com>
                  Olivier Hainque  <hainque@adacore.com>
      
      	* config.gcc (*-*-vxworks*): Add TARGET_VXWORKS7=1 to tm_defines
      	for all vxworks7 targets.
      	* config/vxworks.h (TARGET_VXWORKS7): If not defined, define to 0.
      	(VXWORKS_ADDITIONAL_CPP_SPEC): Alternative definition for VXWORKS7.
      	(VXWORKS_LIBS_RTP, VXWORKS_LIBS_RTP_DIR): New macros, allowing
      	variations for VX6/VX7 and 32/64bits later on in ...
      	(VXWORKS_LIB_SPEC): Leverage new macros.
      	(VXWORKS_OS_CPP_BUILTINS): Define _VSB_CONFIG_FILE for VXWORKS7,
      	as well as _ALLOW_KEYWORD_MACROS when "inline" is not a keyword.
      
      
      Co-Authored-By: Olivier Hainque <hainque@adacore.com>
      
      From-SVN: r249659
      Jerome Lambourg committed
    • cp-tree.h (lang_decl_fn): Remove assignment_operator_p field. · d6ef53f2
      	gcc/cp/
      	* cp-tree.h (lang_decl_fn): Remove assignment_operator_p field.
      	(DECL_COMPLETE_CONSTRUCTOR_P): Directly compare
      	identifier.
      	(DECL_BASE_CONSTRUCTOR_P, DECL_COMPLETE_DESTRUCTOR_P)
      	DECL_BASE_DESTRUCTOR_P, DECL_DELETING_DESTRUCTOR_P): Likewise.
      	(DECL_ASSIGNMENT_OPERATOR_P): Use IDENTIFIER_ASSIGN_OP_P.
      	* decl.c (grok_op_properties): Adjust identifier checking.
      	* init.c (expand_default_init): Adjust identifier descision.
      	* method.c (implicitly_declare_fn): Don't use
      	DECL_ASSIGNMENT_OPERATOR_P.
      	* search.c (lookup_fnfields_1): Use IDENTIFIER_CTOR_P,
      	IDENTIFIER_DTOR_P.
      	* call.c (in_charge_arg_for_name): Reimplement.
      	(build_special_member_call): Use IDENTIFIER_CDTOR_P,
      	IDENTIFIER_DTOR_P.
      
      	libcc1/
      	* libcp1plugin.cc (plugin_build_decl): Don't set
      	DECL_ASSIGNMENT_OPERATOR_P.
      (--This line, and those below, will be ignored--
      
      M    gcc/cp/init.c
      M    gcc/cp/decl.c
      M    gcc/cp/method.c
      M    gcc/cp/cp-tree.h
      M    gcc/cp/call.c
      M    gcc/cp/search.c
      M    gcc/cp/ChangeLog
      M    libcc1/ChangeLog
      M    libcc1/libcp1plugin.cc
      
      From-SVN: r249657
      Nathan Sidwell committed
    • vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define _VX_TOOL_FAMILY and _VX_TOOL to gnu. · 0ffdc300
      2017-06-26  Jerome Lambourg  <lambourg@adacore.com>
      
      	* config/vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define
      	_VX_TOOL_FAMILY and _VX_TOOL to gnu.
      
      From-SVN: r249656
      Jerome Lambourg committed
    • rs6000-c.c: Add support for built-in functions vector bool char vec_reve (vector bool char)... · 952ac945
      gcc/ChangeLog:
      
      2017-06-26  Carl Love  <cel@us.ibm.com>
      
      	* config/rs6000/rs6000-c.c: Add support for built-in functions
      	vector bool char vec_reve (vector bool char);
      	vector signed char vec_reve (vector signed char);
      	vector unsigned char vec_reve (vector unsigned char);
      	vector bool int vec_reve (vector bool int);
      	vector signed int vec_reve (vector signed int);
      	vector unsigned int vec_reve (vector unsigned int);
      	vector bool long long vec_reve (vector bool long long);
      	vector signed long long vec_reve (vector signed long long);
      	vector unsigned long long vec_reve (vector unsigned long long);
      	vector bool short vec_reve (vector bool short);
      	vector signed short vec_reve (vector signed short);
      	vector double vec_reve (vector double);
      	vector float vec_reve (vector float);
      	* config/rs6000/rs6000-builtin.def (VREVE_V2DI, VREVE_V4SI,
      	VREVE_V8HI, VREVE_V16QI, VREVE_V2DF, VREVE_V4SF, VREVE): New builtin.
      	* config/rs6000/altivec.md (UNSPEC_VREVEV): New UNSPEC.
      	(altivec_vreve): New pattern.
      	* config/rs6000/altivec.h (vec_reve): New define.
      	* doc/extend.texi (vec_rev): Update the built-in documentation file
      	for the new built-in functions.
      
      gcc/testsuite/ChangeLog:
      
      2017-06-26  Carl Love  <cel@us.ibm.com>
      
      	* gcc.target/powerpc/builtins-3-vec_reve-runnable.c:
      	Add new runnable test file for the vec_rev built-ins.
      
      From-SVN: r249650
      Carl Love committed
    • re PR tree-optimization/71815 (SLSR misses several PHI candidate cases) · 226ab0a8
      [gcc]
      
      2016-06-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	PR tree-optimization/71815
      	* gimple-ssa-strength-reduction.c (uses_consumed_by_stmt): New
      	function.
      	(find_basis_for_candidate): Call uses_consumed_by_stmt rather than
      	has_single_use.
      	(slsr_process_phi): Likewise.
      	(replace_uncond_cands_and_profitable_phis): Don't replace a
      	multiply candidate with a stride of 1 (copy or cast).
      	(phi_incr_cost): Call uses_consumed_by_stmt rather than
      	has_single_use.
      	(lowest_cost_path): Likewise.
      	(total_savings): Likewise.
      
      [gcc/testsuite]
      
      2016-06-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	PR tree-optimization/71815
      	* gcc.dg/tree-ssa/slsr-35.c: Remove -fno-code-hoisting workaround.
      	* gcc.dg/tree-ssa/slsr-36.c: Likewise.
      
      From-SVN: r249649
      William Schmidt committed
    • gimple-ssa-strength-reduction.c (uses_consumed_by_stmt): New function. · df11b2ea
      [gcc]
      
      2016-06-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* gimple-ssa-strength-reduction.c (uses_consumed_by_stmt): New
      	function.
      	(find_basis_for_candidate): Call uses_consumed_by_stmt rather than
      	has_single_use.
      	(slsr_process_phi): Likewise.
      	(replace_uncond_cands_and_profitable_phis): Don't replace a
      	multiply candidate with a stride of 1 (copy or cast).
      	(phi_incr_cost): Call uses_consumed_by_stmt rather than
      	has_single_use.
      	(lowest_cost_path): Likewise.
      	(total_savings): Likewise.
      
      [gcc/testsuite]
      
      2016-06-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
      
      	* gcc.dg/tree-ssa/slsr-35.c: Remove -fno-code-hoisting workaround.
      	* gcc.dg/tree-ssa/slsr-36.c: Likewise.
      
      From-SVN: r249648
      Bill Schmidt committed
    • [PATCH][Testsuite]Use user defined memmove in gcc.c-torture/execute/builtins/memops-asm-lib.c · fa7ccca0
      After the change r249278. bcopy is folded into memmove. And in newlib
      aarch64 memmove implementation, it will call memcpy in certain conditions.
      The memcpy defined in memops-asm-lib.c will abort when the test is running.
      
      A user defined memmove function is defined to bypass the library one.
      So that memcpy won't be called accidentally.
      
      gcc/testsuite/
      
      	* gcc.c-torture/execute/builtins/memops-asm-lib.c (my_memmove): New.
      	* gcc.c-torture/execute/builtins/memops-asm.c (memmove): Declare memmove.
      
      
      Co-Authored-By: Szabolcs Nagy <szabolcs.nagy@arm.com>
      
      From-SVN: r249647
      Renlin Li committed