- 17 Jun, 2016 18 commits
-
-
gcc/fortran/ * openmp.c (match_acc): New generic function to parse OpenACC directives. (gfc_match_oacc_parallel_loop): Use it. (gfc_match_oacc_parallel): Likewise. (gfc_match_oacc_kernels_loop): Likewise. (gfc_match_oacc_kernels): Likewise. (gfc_match_oacc_data): Likewise. (gfc_match_oacc_host_data): Likewise. (gfc_match_oacc_loop): Likewise. (gfc_match_oacc_enter_data): Likewise. (gfc_match_oacc_exit_data): Likewise. From-SVN: r237565
Cesar Philippidis committed -
/cp 2016-06-17 Paolo Carlini <paolo.carlini@oracle.com> * decl.c (validate_constexpr_redeclaration): Change pair of errors to error + inform. * error.c (dump_function_decl): Save the constexpr specifier too. /testsuite 2016-06-17 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/cpp0x/constexpr-specialization.C: Adjust for dg-message vs dg-error; test constexpr specifier too. From-SVN: r237564
Paolo Carlini committed -
tree.c (builtin_valid_in_constant_expr_p): Test for DECL_BUILT_IN_CLASS equal to BUILT_IN_NORMAL instead of just DECL_BUILT_IN. * tree.c (builtin_valid_in_constant_expr_p): Test for DECL_BUILT_IN_CLASS equal to BUILT_IN_NORMAL instead of just DECL_BUILT_IN. (bot_manip): Likewise. * call.c (magic_varargs_p): Likewise. From-SVN: r237563
Jakub Jelinek committed -
/cp 2016-06-17 Paolo Carlini <paolo.carlini@oracle.com> * decl.c (grokfndecl): Change pair of errors to error + inform. /testsuite 2016-06-17 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/cpp0x/defaulted31.C: Adjust for dg-message vs dg-error. From-SVN: r237562
Paolo Carlini committed -
PR libstdc++/71545 * include/bits/stl_algobase.h (lower_bound, lexicographical_compare): Remove irreflexive checks. * include/bits/stl_algo.h (lower_bound, upper_bound, equal_range, binary_search): Likewise. * testsuite/25_algorithms/equal_range/partitioned.cc: New test. * testsuite/25_algorithms/lexicographical_compare/71545.cc: New test. * testsuite/25_algorithms/lower_bound/partitioned.cc: New test. * testsuite/25_algorithms/upper_bound/partitioned.cc: New test. * testsuite/util/testsuite_iterators.h (__gnu_test::test_container): Add constructor from array. From-SVN: r237560
Jonathan Wakely committed -
* tree-ssa-reassoc.c (transform_add_to_multiply): Use auto_vec. From-SVN: r237559
Martin Liska committed -
* typeck.c (finish_class_member_access_expr): Avoid "not a base" warning when there are dependent bases. From-SVN: r237558
Jason Merrill committed -
2016-06-17 Christophe Lyon <christophe.lyon@linaro.org> * lib/target-supports.exp (check_effective_target_arm_neon_fp16_ok_nocache): Call arm_neon_ok and merge flags. Fix temporary test name. (check_effective_target_arm_neonv2_ok_nocache): Call arm_neon_ok and merge flags. From-SVN: r237557
Christophe Lyon committed -
* analyze_brprob.py: Fix columns of script output. * predict.def: PRED_LOOP_EXIT from 92 to 85. * gcc.dg/predict-9.c: Fix dump scanning. From-SVN: r237556
Martin Liska committed -
PR tree-optimization/71354 * gcc.dg/vect/vect-23.c: Use vect_condition instead of vect_cond. From-SVN: r237555
Bin Cheng committed -
semantics.c (handle_omp_array_sections_1): Don't ICE when processing_template_decl when checking for bitfields and unions. * semantics.c (handle_omp_array_sections_1): Don't ICE when processing_template_decl when checking for bitfields and unions. Look through REFERENCE_REF_P as base of COMPONENT_REF. (finish_omp_clauses): Look through REFERENCE_REF_P even for array sections with COMPONENT_REF bases. * testsuite/libgomp.c++/target-21.C: New test. From-SVN: r237554
Jakub Jelinek committed -
gcc/ * config/arm/arm_neon.h (vadd_f32): replace __FAST_MATH with __FAST_MATH__. (vaddq_f32): Likewise. (vmul_f32): Likewise. (vmulq_f32): Likewise. (vsub_f32): Likewise. (vsubq_f32): Likewise. From-SVN: r237553
James Greenhalgh committed -
PR tree-optimization/71347 * tree-ssa-loop-ivopts.c (determine_group_iv_cost_address): Compute cost for all uses in group. PR tree-optimization/71347 * gcc.dg/tree-ssa/pr71347.c: New test. From-SVN: r237552
Bin Cheng committed -
PR tree-optimization/71354 * gcc.dg/vect/vect-23.c: Add VECT_COND requirement. From-SVN: r237551
Bin Cheng committed -
* tree-vect-loop.c (vect_create_epilog_for_reduction): Only insert gimple seq if it's not empty. From-SVN: r237550
Bin Cheng committed -
* tree-vectorizer.h (struct dr_with_seg_len): Remove class member OFFSET. * tree-vect-data-refs.c (operator ==): Handle DR_OFFSET directly, rather than OFFSET. (comp_dr_with_seg_len_pair): Ditto. (vect_prune_runtime_alias_test_list): Ditto. Also Canonicalize struct dr_with_seg_len_pair against DR_OFFSET. * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Handle DR_OFFSET directly. * gcc.dg/vect/vect-alias-check-1.c: New test. From-SVN: r237549
Bin Cheng committed -
gcc/ 2016-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com> * config/aarch64/geniterators.sh: Handle parenthesised conditions. From-SVN: r237548
Szabolcs Nagy committed -
From-SVN: r237547
GCC Administrator committed
-
- 16 Jun, 2016 22 commits
-
-
* 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 -
From-SVN: r237542
Michael Collison committed -
* 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 -
From-SVN: r237540
Bernhard Reutner-Fischer committed -
* 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. * 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 -
* doc/invoke.texi (x86 Options): Document -m80387 and -mhard-float. From-SVN: r237537
Uros Bizjak committed -
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 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 -
* 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 -
* predict.def: Add 'Fortran' to display text of all PRED_FORTRAN_* predictors. From-SVN: r237532
Martin Liska committed -
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 -
PR target/71242 * config/ia64/ia64.c (enum ia64_builtins) [IA64_BUILTIN_NANQ]: New. [IA64_BUILTIN_NANSQ]: Ditto. (ia64_fold_builtin): New function. (TARGET_FOLD_BUILTIN): New define. (ia64_init_builtins) Declare const_string_type node. Add __builtin_nanq and __builtin_nansq builtin functions. (ia64_expand_builtin): Handle IA64_BUILTIN_NANQ and IA64_BUILTIN_NANSQ. testsuite/ChangeLog: PR target/71242 * testsuite/gcc.dg/torture/float128-nan.c: Also run on ia64-*-*. From-SVN: r237530
Uros Bizjak committed -
* config/msp430/msp430-opts.h (msp430_hwmult_types): Add MSP430_HWMULT_ prefix to enum values. (msp430_regions): Add MSP430_REGION_ prefix to enum values. * config/msp430/msp430.c: Update use of enum values. * config/msp430/msp430.md: Likewise. * config/msp430/msp430.opt: Likewise. From-SVN: r237529
Nick Clifton committed -
* include/std/array: Remove trailing whitespace. * include/std/atomic: Likewise. * include/std/bitset: Likewise. * include/std/chrono: Likewise. * include/std/complex: Likewise. * include/std/condition_variable: Likewise. * include/std/fstream: Likewise. * include/std/functional: Likewise. * include/std/future: Likewise. * include/std/iomanip: Likewise. * include/std/iosfwd: Likewise. * include/std/istream: Likewise. * include/std/limits: Likewise. * include/std/ratio: Likewise. * include/std/scoped_allocator: Likewise. * include/std/sstream: Likewise. * include/std/stdexcept: Likewise. * include/std/string: Likewise. * include/std/system_error: Likewise. * include/std/thread: Likewise. * include/std/tuple: Likewise. * include/std/type_traits: Likewise. * include/std/utility: Likewise. * include/std/valarray: Likewise. * include/std/vector: Likewise. From-SVN: r237528
Jonathan Wakely committed -
* g++.dg/vect/pr36648.cc: Disable cunrolli * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Fix estimation of comparsions in the last iteration. From-SVN: r237527
Jan Hubicka committed -
* include/bits/stl_vector.h (vector::_S_insert_aux_assign): Define new overloaded functions. * include/bits/vector.tcc (vector::_M_insert_aux): Use new functions to avoid creating a redundant temporary. * testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc: New test. From-SVN: r237526
Jonathan Wakely committed -
gcc/ 2016-06-16 Claudiu Zissulescu <claziss@synopsys.com> Joern Rennecke <joern.rennecke@embecosm.com> * config/arc/arc.c (arc_print_operand_address): Handle pc-relative addresses. (arc_needs_pcl_p): Add GOTOFFPC. (arc_legitimate_pic_addr_p): Likewise. (arc_output_pic_addr_const): Likewise. (arc_legitimize_pic_address): Generate a pc-relative address using GOTOFFPC. (arc_output_libcall): Use @pcl syntax. (arc_delegitimize_address_0): Delegitimize ARC_UNSPEC_GOTOFFPC. * config/arc/arc.md ("unspec"): Add ARC_UNSPEC_GOTOFFPC. (*movsi_insn): Use @pcl syntax. (doloop_begin_i): Likewise. Co-Authored-By: Joern Rennecke <joern.rennecke@embecosm.com> From-SVN: r237525
Claudiu Zissulescu committed -
* predict.def: Define a new predictor. * trans-array.c (gfc_array_allocate): Do not generate expect stmt. * trans.c (gfc_allocate_using_malloc): Properly set FAIL_ALLOC predictor for malloc return value. (gfc_allocate_allocatable): Use REALLOC predictor instead of FAIL_ALLOC. (gfc_deallocate_with_status): Likewise. From-SVN: r237524
Martin Liska committed -
2016-06-16 Gary Dismukes <dismukes@adacore.com> * sem_util.adb: Minor typo fix. 2016-06-16 Emmanuel Briot <briot@adacore.com> * s-regpat.adb: Further fix for invalid index in GNAT.Regexp. 2016-06-16 Eric Botcazou <ebotcazou@adacore.com> * sem_ch13.adb (Validate_Address_Clauses): Use the same logic to issue the warning on the offset for the size as for the alignment and tweak the wording for the sake of consistency. 2016-06-16 Ed Schonberg <schonberg@adacore.com> * sem_prag.adb (Check_Class_Wide_COndition): New procedure, subsidiary of Analyze_Pre_Post_ Condition_In_Decl_Part, to check legality rules that follow from the revised semantics of class-wide pre/postconditions described in AI12-0113. (Build_Pragma_Check_Equivalent): Abstract subprogram declarations must be included in list of overriding primitives of a derived type. From-SVN: r237521
Arnaud Charlet committed -
gcc/ 2016-06-16 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/arc.opt (mtp-regno): Update text. From-SVN: r237519
Claudiu Zissulescu committed -
From-SVN: r237518
Arnaud Charlet committed
-