1. 12 Jun, 2015 8 commits
  2. 11 Jun, 2015 18 commits
  3. 10 Jun, 2015 14 commits
    • sh.md (tstsi_t): Add '?' modifier to 'r' alternative of the 2nd operand to fix failures for... · 0fbeccea
      * config/sh/sh.md (tstsi_t): Add '?' modifier to 'r' alternative of
        the 2nd operand to fix failures for gcc.target/sh/pr49263-2.c with -mlra.
      
      From-SVN: r224349
      Kaz Kojima committed
    • mangle-regparm.C (dg-optiond): Add -save-temps. · 5c8302fa
      	* g++.dg/abi/mangle-regparm.C (dg-optiond): Add -save-temps.
      
      From-SVN: r224341
      Uros Bizjak committed
    • re PR target/66473 (ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f) · ea0cf502
      	PR target/66473
      	* config/i386/i386.c (ix86_expand_vector_set): Use gen_int_mode
      	to prepare mask operand for AVX512 modes.
      
      testsuite/ChangeLog:
      
      	PR target/66473
      	* gcc.target/i386/pr66473.c: New test.
      
      From-SVN: r224340
      Uros Bizjak committed
    • re PR target/66474 (Document the use of %x in powerpc asm statements) · 6a116f14
      2015-06-10  Michael Meissner  <meissner@linux.vnet.ibm.com>
      
      	PR target/66474
      	* doc/md.texi (Machine Constraints): Document that on the PowerPC
      	if you use a constraint that targets a VSX register, you must use
      	%x<n> in the template.
      
      From-SVN: r224332
      Michael Meissner committed
    • re PR c++/66289 ("error: ambiguous template instantiation" with partial… · 1a4cd2cd
      re PR c++/66289 ("error: ambiguous template instantiation" with partial specialization defined in terms of alias template)
      
      	PR c++/66289
      	* cp-tree.h (TEMPLATE_DECL_COMPLEX_ALIAS_P): New.
      	* pt.c (push_template_decl_real): Set it.
      	(dependent_alias_template_spec_p): Use it.
      	(dependent_type_p_r): Use dependent_alias_template_spec_p.
      	(uses_all_template_parms_data, uses_all_template_parms_r)
      	(complex_alias_template_p): New.
      	(get_template_parm_index): Handle BOUND_TEMPLATE_TEMPLATE_PARM.
      
      From-SVN: r224331
      Jason Merrill committed
    • xtensa: implement trap pattern · 768b6664
      2015-06-10  Max Filippov  <jcmvbkbc@gmail.com>
      gcc/
      	* config/xtensa/xtensa.h (TARGET_DEBUG): New definition.
      	* config/xtensa/xtensa.md (define_attr "type"): New type "trap".
      	(define_insn "trap"): New definition.
      
      From-SVN: r224330
      Max Filippov committed
    • tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Split out from ... · b266b968
      2015-06-10  Richard Biener  <rguenther@suse.de>
      
      	* tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Split
      	out from ...
      	(vect_supported_load_permutation_p): ... here.  Handle
      	supportable permutations in reductions.
      	* tree-vect-stmts.c (vectorizable_load): Handle SLP permutations
      	for vectorizing strided group loads.
      
      From-SVN: r224324
      Richard Biener committed
    • re PR target/66470 (TLS ICE due to ix86_split_long_move) · 8ffd51d2
      	PR target/66470
      	* config/i386/i386.c (ix86_split_long_move): For collisions
      	involving direct tls segment refs, move the UNSPEC_TP possibly
      	wrapped in ZERO_EXTEND out of the address for lea, to each of
      	the memory loads.
      
      	* gcc.dg/tls/pr66470.c: New test.
      	* gcc.target/i386/pr66470.c: New test.
      
      From-SVN: r224319
      Jakub Jelinek committed
    • Use dmb ish instead of dmb sy for ARM. · b2095240
      2015-06-10  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	* config/arm/sync.md (*memory_barrier): Use dmb ish instead of
      	dmb sy. Adjust tabs.
      
      From-SVN: r224317
      Ramana Radhakrishnan committed
    • Fix build for ENABLE_OFFLOADING in expand_omp_target · 68706112
      2015-06-10  Tom de Vries  <tom@codesourcery.com>
      
      	* omp-low.c (expand_omp_target): Remove duplicate declaration of node.
      
      From-SVN: r224316
      Tom de Vries committed
    • Fix BITMAP identifier clash. · 643e0a30
      	PR bootstrap/66471
      	* mem-stats-traits.h (enum mem_alloc_origin): Add _ORIGIN suffix for
      	all enum values in mem_alloc_origin.
      	* alloc-pool.c (dump_alloc_pool_statistics): Use newly changed enum
      	name.
      	* alloc-pool.h (pool_allocator::pool_allocator): Likewise.
      	* bitmap.c (bitmap_register): Likewise.
      	(dump_bitmap_statistics): Likewise.
      	* ggc-common.c (dump_ggc_loc_statistics): Likewise.
      	(ggc_record_overhead): Likewise.
      	* hash-map.h: Likewise.
      	* hash-set.h: Likewise.
      	* hash-table.c (void dump_hash_table_loc_statistics): Likewise.
      	* hash-table.h: Likewise.
      	* vec.c (vec_prefix::register_overhead): Likewise.
      	(vec_prefix::release_overhead): Likewise.
      	(dump_vec_loc_statistics): Likewise.
      
      From-SVN: r224315
      Martin Liska committed
    • Add ARM/thumb attribute target · d5524d52
      	PR target/52144
      
      	* config/arm/arm.opt (THUMB, arm_restrict_it, inline_asm_unified): Save.
      	* config/arm/arm-protos.h (arm_valid_target_attribute_tree): Declare.
      	(arm_reset_previous_fndecl, arm_change_mode_p): Likewise.
      	* config/arm/arm.h (SWITCHABLE_TARGET): Define.
      	* config/arm/arm.c (arm_reset_previous_fndecl): New functions.
      	(arm_valid_target_attribute_tree, arm_change_mode_p): Likewise.
      	(arm_valid_target_attribute_p): Likewise.
      	(arm_set_current_function, arm_can_inline_p): Likewise.
      	(arm_valid_target_attribute_rec): Likewise.
      	(arm_previous_fndecl): New variable.
      	(TARGET_SET_CURRENT_FUNCTION, TARGET_OPTION_VALID_ATTRIBUTE_P): Define.
      	(TARGET_CAN_INLINE_P): Define.
      	(arm_asm_trampoline_template): Emit mode.
      	(arm_file_start): Don't set unified syntax.
      	(arm_declare_function_name): Set unified syntax and mode.
      	(arm_option_override): Init target_option_default_node.
      	and target_option_current_node.
      	* config/arm/arm.md (*call_value_symbol): Set mode when possible.
      	(*call_symbol): Likewise.
      	* doc/extend.texi: Document ARM/Thumb target attribute.
      	* doc/invoke.texi: Likewise.
      
      	* gcc.target/arm/attr_arm.c: New test
      	* gcc.target/arm/attr_arm-err.c: New test
      	* gcc.target/arm/attr_thumb.c: New test
      	* gcc.target/arm/attr_thumb-static.c: New test
      
      From-SVN: r224314
      Christian Bruel committed
    • Handle aarch64_guard1.C test · eb071c6b
      Sorry about missing this hunk in the original submission, was in my tree but I hadn't spotted this as I was playing between the original AArch64 TARGET_RELAXED_ORDER and this patch.
      
      Applied as obvious.
      
      2015-06-09  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	PR target/66200
      	PR target/66428
      	PR c++/66192
      	* g++.dg/abi/aarch64_guard1.C: Adjust test.
      
      From-SVN: r224313
      Ramana Radhakrishnan committed
    • [Patch testsuite obvious] gcc.target/arm/pr65710.c should not unconditionally set -mfloat-abi=soft · 6bc4f75c
      gcc/testsuite/
      
      	* gcc.target/arm/pr65710.c: Do not override -mfloat-abi directives
      	passed by the testsuite driver.
      
      From-SVN: r224312
      James Greenhalgh committed