1. 19 Jun, 2016 3 commits
  2. 18 Jun, 2016 6 commits
  3. 17 Jun, 2016 19 commits
  4. 16 Jun, 2016 12 commits
    • pa.c (pa_output_pic_pcrel_sequence): New. · 568de9bb
      	* config/pa/pa.c (pa_output_pic_pcrel_sequence): New.
      	(pa_output_lbranch): Use pa_output_pic_pcrel_sequence.
      	(pa_output_millicode_call): Likewise.
      	(pa_output_call): Likewise.
      	(pa_output_indirect_call): Likewise.
      	(pa_asm_output_mi_thunk): Likewise.
      
      From-SVN: r237543
      John David Anglin committed
    • Add Michael Collison with Write After Approval · 6f820b68
      From-SVN: r237542
      Michael Collison committed
    • 2016-06-16 François Dumont <fdumont@gcc.gnu.org> · bd2ee798
      	* include/debug/debug.h
      	(__glibcxx_requires_non_empty_range, __glibcxx_requires_nonempty)
      	(__glibcxx_requires_subscript): Move...
      	* include/debug/assertions.h: ...here and add __builtin_expect.
      	(_GLIBCXX_DEBUG_ONLY): Remove ; value.
      	* include/bits/stl_deque.h
      	(std::deque<>::operator[]): Add __glibcxx_requires_subscript check.
      	(std::deque<>::front()): Add __glibcxx_requires_nonempty check.
      	(std::deque<>::back()): Likewise.
      	(std::deque<>::pop_front()): Likewise.
      	(std::deque<>::pop_back()): Likewise.
      	(std::deque<>::swap(deque&)): Add allocator check.
      	* include/bits/stl_vector.h
      	(std::vector<>::operator[]): Add __glibcxx_requires_subscript check.
      	(std::vector<>::front()): Add __glibcxx_requires_nonempty check.
      	(std::vector<>::back()): Likewise.
      	(std::vector<>::pop_back()): Likewise.
      	(std::vector<>::swap(vector&)): Add allocator check.
      
      From-SVN: r237541
      François Dumont committed
    • Fix finding of a first match predictor · c9f4fe73
      	* predict.c (combine_predictions_for_insn): When we find a first
      	match predictor, we should consider just predictors with
      	PRED_FLAG_FIRST_MATCH.  Print either first match (if any) or
      	DS theory predictor.
      	(combine_predictions_for_bb): Likewise.
      
      From-SVN: r237539
      Martin Liska committed
    • gimplify.c (gimplify_scan_omp_clauses): Handle COMPONENT_REFs with base of reference to struct. · 283635f9
      	* gimplify.c (gimplify_scan_omp_clauses): Handle COMPONENT_REFs
      	with base of reference to struct.
      
      	* parser.c (cp_parser_omp_var_list_no_open): Call
      	convert_from_reference before cp_parser_postfix_dot_deref_expression.
      	* semantics.c (finish_omp_clauses): Don't ICE when
      	processing_template_decl when checking for bitfields and unions.
      	Look through REFERENCE_REF_P as base of COMPONENT_REF.
      
      	* testsuite/libgomp.c++/target-20.C: New test.
      
      From-SVN: r237538
      Jakub Jelinek committed
    • invoke.texi (x86 Options): Document -m80387 and -mhard-float. · 4389cf25
      	* doc/invoke.texi (x86 Options): Document -m80387 and -mhard-float.
      
      From-SVN: r237537
      Uros Bizjak committed
    • avr.c (avr_asm_init_sections): Remove setup of progmem_swtable_section. · 2d761a37
      gcc/ChangeLog:
              * config/avr/avr.c (avr_asm_init_sections): Remove setup of
      	progmem_swtable_section.
              (progmem_swtable_section): Remove.
              (avr_asm_function_rodata_section): Remove.
              (TARGET_ASM_FUNCTION_RODATA_SECTION): Remove.
              * config/avr/avr.h (JUMP_TABLES_IN_TEXT_SECTION: Define to 1.
      
      
      gcc/testsuite/ChangeLog:
              * gcc.target/avr/pr71151-1.c: New test.
              * gcc.target/avr/pr71151-2.c: New test.
              * gcc.target/avr/pr71151-3.c: New test.
              * gcc.target/avr/pr71151-4.c: New test.
              * gcc.target/avr/pr71151-5.c: New test.
              * gcc.target/avr/pr71151-6.c: New test.
              * gcc.target/avr/pr71151-7.c: New test.
              * gcc.target/avr/pr71151-8.c: New test.
              * gcc.target/avr/pr71151-common.h: New test.
      
      From-SVN: r237536
      Senthil Kumar Selvaraj committed
    • driver-i386.c (host_detect_local_cpu): Set PROCESSOR_K8 for… · d3606ee3
      driver-i386.c (host_detect_local_cpu): Set PROCESSOR_K8 for signature_CENTAUR_ebx with has_longmode.
      
      	* config/i386/driver-i386.c (host_detect_local_cpu): Set
      	PROCESSOR_K8 for signature_CENTAUR_ebx with has_longmode.
      	<case PROCESSOR_K8>: Pass nano-3000, nano, eden-x2 or k8 for
      	signature_CENTAUR_ebx.
      	* config/i386/i386.c (ix86_option_override_internal): Add
      	definitions for VIA c7, samuel-2, nehemiah, esther, eden-x2, eden-x4,
      	nano, nano-1000, nano-2000, nano-3000, nano-x2 and nano-x4.
      	* doc/invoke.texi: Document new VIA -march entries.
      
      From-SVN: r237534
      Jocelyn Mayer committed
    • Introduce fortran loop preheader · 68fa96d6
      	* predict.def: Add fortran loop preheader predictor.
      	* gimple-fold.c (gimple_fold_stmt_to_constant_1): Properly
      	fold IFN_BUILTIN_EXPECT with a known constant argument.
      	* trans-stmt.c (gfc_trans_simple_do): Predict the edge.
      	* gfortran.dg/predict-1.f90: New test.
      
      From-SVN: r237533
      Martin Liska committed
    • Add 'Fortran' to display text of all PRED_FORTRAN_* · 8b051d2e
      	* predict.def: Add 'Fortran' to display text of all
      	PRED_FORTRAN_* predictors.
      
      From-SVN: r237532
      Martin Liska committed
    • Provide swappable traits (p0185r1) · 6b9539e2
      2016-06-16  Daniel Kruegler  <daniel.kruegler@gmail.com>
      
      	Provide swappable traits (p0185r1)
      	* include/std/type_traits (is_swappable, is_nothrow_swappable,
      	is_swappable_with, is_nothrow_swappable_with, is_swappable_v,
      	is_nothrow_swappable_v, is_swappable_with_v,
      	is_nothrow_swappable_with_v): New.
      	* include/bits/stl_pair.h: Use it as per p0185r1.
      	* include/bits/stl_queue.h: Likewise.
      	* include/bits/stl_stack.h: Likewise.
      	* include/bits/unique_ptr.h: Likewise.
      	* include/std/tuple: Likewise.
      	* include/std/array: Likewise. Fix zero-size member swap.
      	* include/bits/hashtable.h: Use __and_.
      	* testsuite/20_util/is_nothrow_swappable/requirements/
      	explicit_instantiation.cc: Change test options to std=gnu++17.
      	* testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
      	Likewise.
      	* testsuite/20_util/is_nothrow_swappable/value.cc: Likewise.
      	* testsuite/20_util/is_swappable/requirements/
      	explicit_instantiation.cc: Likewise.
      	* testsuite/20_util/is_swappable/requirements/typedefs.cc: Likewise.
      	* testsuite/20_util/is_swappable/value.cc: Likewise.
      	* testsuite/20_util/is_nothrow_swappable/requirements/
      	explicit_instantiation_ext.cc: New.
      	* testsuite/20_util/is_nothrow_swappable/requirements/typedefs_ext.cc:
      	New.
      	* testsuite/20_util/is_nothrow_swappable/value.h: New.
      	* testsuite/20_util/is_nothrow_swappable/value_ext.cc: New.
      	* testsuite/20_util/is_nothrow_swappable_with/requirements/
      	explicit_instantiation.cc: New.
      	* testsuite/20_util/is_nothrow_swappable_with/requirements/typedefs.cc:
      	New.
      	* testsuite/20_util/is_nothrow_swappable_with/value.cc: New.
      	* testsuite/20_util/is_swappable/requirements/
      	explicit_instantiation_ext.cc: New.
      	* testsuite/20_util/is_swappable/requirements/typedefs_ext.cc: New.
      	* testsuite/20_util/is_swappable/value.h: New.
      	* testsuite/20_util/is_swappable/value_ext.cc: New.
      	* testsuite/20_util/is_swappable_with/requirements/
      	explicit_instantiation.cc: New.
      	* testsuite/20_util/is_swappable_with/requirements/typedefs.cc: New.
      	* testsuite/20_util/is_swappable_with/value.cc: New.
      	* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
      	dg-error line numbers.
      	* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
      	Likewise.
      
      From-SVN: r237531
      Daniel Kruegler committed