- 08 Apr, 2016 1 commit
-
-
From-SVN: r234820
GCC Administrator committed
-
- 07 Apr, 2016 7 commits
-
-
PR testsuite/70581 * gcc.dg/lto/simd-function_0.c: New test. From-SVN: r234817
Jakub Jelinek committed -
* cgraph.h (struct cgraph_simd_clone): Add mask_mode field. * omp-low.c (simd_clone_init_simd_arrays, simd_clone_adjust): Handle node->simdclone->mask_mode != VOIDmode masks. (simd_clone_adjust_argument_types): Likewise. Move sc var definition earlier, use it instead of node->simdclone. * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen): Set clonei->mask_mode. * c-c++-common/attr-simd.c: Add scan-assembler* directives for AVX512F clones. * c-c++-common/attr-simd-2.c: Likewise. * c-c++-common/attr-simd-4.c: Likewise. * gcc.dg/gomp/simd-clones-2.c: Likewise. * gcc.dg/gomp/simd-clones-3.c: Likewise. From-SVN: r234816
Jakub Jelinek committed -
2016-04-07 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/testsuite/ PR testsuite/70553 * gcc.target/arm/pr70496.c: Also require arm_arm_ok effective target. From-SVN: r234811
Thomas Preud'homme committed -
gcc/cp/ChangeLog: PR c++/70452 * constexpr.c (find_constructor): New function. (unshare_constructor): New function. (cxx_eval_call_expression): Use unshare_constructor instead of unshare_expr. (find_array_ctor_elt): Likewise. (cxx_eval_vec_init_1): Likewise. (cxx_eval_store_expression): Likewise. (cxx_eval_constant_expression): Likewise. From-SVN: r234810
Patrick Palka committed -
gcc/testsuite/ * gfortran.dg/goacc/kernels-loop-2.f95: Scan for parallelization. * gfortran.dg/goacc/kernels-loop-data-2.f95: Likewise. * gfortran.dg/goacc/kernels-loop-data-enter-exit-2.f95: Likewise. * gfortran.dg/goacc/kernels-loop-data-enter-exit.f95: Likewise. * gfortran.dg/goacc/kernels-loop-data-update.f95: Likewise. * gfortran.dg/goacc/kernels-loop-data.f95: Likewise. * gfortran.dg/goacc/kernels-loop.f95: Likewise. * gfortran.dg/goacc/kernels-loop-n.f95: Likewise, XFAILed. Co-Authored-By: Tom de Vries <tom@codesourcery.com> From-SVN: r234809
Thomas Schwinge committed -
From-SVN: r234808
Jonathan Wakely committed -
From-SVN: r234805
GCC Administrator committed
-
- 06 Apr, 2016 12 commits
-
-
gcc/cp/ChangeLog: PR c/70436 * parser.c (cp_parser_iteration_statement): New parameter IF_P. Pass it through to cp_parser_already_scoped_statement. (cp_parser_already_scoped_statement): New parameter IF_P. Pass it through to cp_parser_statement. (cp_parser_statement): Pass IF_P through to cp_parser_iteration_statement. (cp_parser_pragma): Adjust call to cp_parser_iteration_statement. gcc/testsuite/ChangeLog: PR c/70436 * g++.dg/warn/Wparentheses-29.C: New test. From-SVN: r234802
Patrick Palka committed -
gcc/ChangeLog: PR c/70436 * gimplify.c (gimplify_omp_ordered): Add explicit braces to resolve a future -Wparentheses warning. * omp-low.c (scan_sharing_clauses): Likewise. * tree-parloops.c (eliminate_local_variables): Likewise. gcc/cp/ChangeLog: PR c/70436 * cp-tree.h (FOR_EACH_CLONE): Restructure macro to avoid potentially generating a future -Wparentheses warning in its callers. gcc/fortran/ChangeLog: PR c/70436 * openmp.c (gfc_find_omp_udr): Add explicit braces to resolve a future -Wparentheses warning. gcc/testsuite/ChangeLog: PR c/70436 * g++.dg/plugin/pragma_plugin.c (handle_pragma_sayhello): Add explicit braces to resolve a future -Wparentheses warning. From-SVN: r234801
Patrick Palka committed -
re PR preprocessor/61817 (Inconsistent location of tokens in the expansion list of a built-in macro) PR preprocessor/61817 PR preprocessor/69391 * internal.h (_cpp_builtin_macro_text): Update decl. * macro.c (_cpp_builtin_macro_text): Accept location for __LINE__. (builtin_macro): Accept a second location for __LINE__. (enter_macro_context): Compute both virtual and real expansion locations for the macro. * gcc.dg/pr61817-1.c: New test. * gcc.dg/pr61817-2.c: New test. * gcc.dg/pr69391-1.c: New test. * gcc.dg/pr69391-2.c: New test. From-SVN: r234794
Richard Henderson committed -
re PR rtl-optimization/70398 (gcc.dg/vect/slp-multitypes-9.c FAILs with -fno-tree-loop-optimize -fno-tree-ter) 2016-04-06 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/70398 * lra-constraints.c (process_address_1): Check zero scale and code for reloading with zero scale. 2016-04-06 Vladimir Makarov <vmakarov@redhat.com> PR rtl-optimization/70398 * testsuite/gcc.target/aarch64/pr70398.c: New. From-SVN: r234792
Vladimir Makarov committed -
From-SVN: r234790
Jason Merrill committed -
From-SVN: r234787
Eric Botcazou committed -
* config/i386/sse.md (shuffletype): Add V32HI and V4TI modes. (ssescalarsize): Add V8SF, V4SF, V4DF and V2DF modes. From-SVN: r234784
Uros Bizjak committed -
* src/Makefile.am (libstdc++-symbols.ver): Remove useless /dev/null. * src/Makefile.in: Regenerate. From-SVN: r234782
Eric Botcazou committed -
2016-04-06 Yvan Roux <yvan.roux@linaro.org> Pedro Alves <palves@redhat.com> * gcc.dg/guality/guality.h (main): Avoid GDB being blocked on signals. Co-Authored-By: Pedro Alves <palves@redhat.com> From-SVN: r234781
Yvan Roux committed -
* config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen): Add support for AVX512F clones, include them by default for exported OpenMP declare simd functions. For AVX2 allow simdlen 32 and use it if charasteric type is 8-bit, for AVX512F allow simdlen up to 128. * lib/target-supports.exp (check_effective_target_vect_simd_clones): Check for avx512f effective targets instead of avx2. * gcc.dg/gomp/declare-simd-1.c: Add scan-assembler-times directives for AVX512F clones. * gcc.dg/gomp/declare-simd-3.c: Likewise. * g++.dg/gomp/declare-simd-1.C: Likewise. * g++.dg/gomp/declare-simd-3.C: Likewise. * g++.dg/gomp/declare-simd-4.C: Likewise. From-SVN: r234780
Jakub Jelinek committed -
PR middle-end/70550 * tree.h (OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT): Define. * gimplify.c (gimplify_adjust_omp_clauses_1): Set it for implicit firstprivate clauses. * omp-low.c (lower_send_clauses): Set TREE_NO_WARNING for OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT !by_ref vars in task contexts. (lower_omp_target): Set TREE_NO_WARNING for non-addressable possibly uninitialized vars which are copied into addressable temporaries or copied for GOMP_MAP_FIRSTPRIVATE_INT. * c-c++-common/gomp/pr70550-1.c: New test. * c-c++-common/gomp/pr70550-2.c: New test. From-SVN: r234779
Jakub Jelinek committed -
From-SVN: r234771
GCC Administrator committed
-
- 05 Apr, 2016 20 commits
-
-
PR c++/70512 * class.c (fixup_may_alias): New. (fixup_attribute_variants): Call it. * g++.dg/ext/attribute-may-alias-5.C: New. From-SVN: r234768
Nathan Sidwell committed -
predicates.md (integer_store_memory_operand): Accept REG+D operands with a large offset when reload_in_progress is true. * config/pa/predicates.md (integer_store_memory_operand): Accept REG+D operands with a large offset when reload_in_progress is true. (floating_point_store_memory_operand): Likewise. From-SVN: r234765
John David Anglin committed -
PR c++/70336 * match.pd (nested int casts): Limit to GIMPLE. * c-c++-common/pr70336.c: New test. * gcc.dg/torture/builtin-isinf_sign-1.c (foo): Guard tests no longer optimized away at -O0 with #ifndef __OPTIMIZE__. From-SVN: r234764
Jakub Jelinek committed -
PR ipa/66223 * ipa-devirt.c (maybe_record_node): Fix comment; use SANITIZE_UNREACHABLE instead of SANITIZE_UNDEFINED. * g++.dg/ipa/devirt-51.C: Use -fsanitize=unreachable. From-SVN: r234762
Jan Hubicka committed -
PR libstdc++/70554 * acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Don't test __atomic_fetch_add for bool. * configure: Regenerate. From-SVN: r234761
Jonathan Wakely committed -
From-SVN: r234757
Jonathan Wakely committed -
PR rtl-optimization/70542 * ree.c (add_removable_extension): For VECTOR_MODE_P punt if there are any uses other than insn or debug insns. * gcc.dg/torture/pr70542.c: New test. * gcc.target/i386/avx2-pr70542.c: New test. From-SVN: r234756
Jakub Jelinek committed -
PR tree-optimization/70509 * simplify-rtx.c (simplify_binary_operation_1) <case VEC_SELECT>: Shift HOST_WIDE_INT_1U instead of 1. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r234755
Marc Glisse committed -
PR tree-optimization/70509 * tree-ssa-forwprop.c (simplify_bitfield_ref): Use bitsize_int instead of the vector base type for index. * gcc.target/i386/avx512bw-pr70509.c: New test. From-SVN: r234754
Zdenek Sojka committed -
gcc/cp/ChangeLog: PR c++/70452 * constexpr.c (struct fundef_copy): New struct. (struct fundef_copies_table_t): New struct. (fundef_copies_table): New static variable. (maybe_initialize_fundef_copies_table): New static function. (get_fundef_copy): New static function. (save_fundef_copy): New static function. (cxx_eval_call_expression): Use get_fundef_copy, and save_fundef_copy. (constexpr_call_table): Add "deletable" GTY marker. gcc/testsuite/ChangeLog: PR c++/70452 * g++.dg/ext/constexpr-vla4.C: New test. From-SVN: r234753
Patrick Palka committed -
re PR target/70510 (ICE: output_operand: invalid %-code with -mavx512bw -masm=intel when emitting vpbroatcast) PR target/70510 * config/i386/sse.md (iptr): Add V64QI, V32HI, V16SI and V8DI modes. testsuite/ChangeLog: PR target/70510 * gcc.target/i386/pr70510.c: New test. From-SVN: r234752
Uros Bizjak committed -
2016-04-05 Richard Biener <rguenther@suse.de> PR tree-optimization/70526 * tree-sra.c (build_ref_for_offset): Use prev_base to extract the alias pointer type. * g++.dg/torture/pr70526.C: New testcase. From-SVN: r234749
Richard Biener committed -
2016-04-05 Richard Biener <rguenther@suse.de> * dse.c (struct store_info): Remove alias_set member. (struct read_info_type): Likewise. (clear_alias_group, clear_alias_mode_table, clear_alias_mode_holder, spill_deleted, clear_alias_set_lookup): Remove. (get_group_info): Remove dead base == NULL_RTX case. (dse_step0): Remove initialization of removed variables. (delete_dead_store_insn): Reomve alias set dumping. (free_read_records): Remove alias_set handling. (canon_address): Remove alias_set_out parameter. (record_store): Remove spill_alias_set, it's always zero. (check_mem_read_rtx): Likewise. (dse_step2): Rename from ... (dse_step2_nospill): ... this. Adjust. (scan_stores): Rename from ... (scan_stores_nospill): ... this. (scan_reads): Rename from ... (scan_reads_nospill): ... this. (scan_stores_spill, scan_reads_spill): Remove. (dse_step3_scan): Remove for_spills argument which is always false. (dse_step3): Likewise. (dse_step5): Rename from ... (dse_step5_nospill): ... this. Remove alias_set handling. (rest_of_handle_dse): Adjust. From-SVN: r234748
Richard Biener committed -
PR libstdc++/70503 * src/c++11/thread.cc (execute_native_thread_routine, execute_native_thread_routine_compat): Give internal linkage. * testsuite/30_threads/thread/70503.cc: New test. From-SVN: r234746
Jonathan Wakely committed -
PR libstdc++/70437 * include/bits/stl_pair.h (_ConstructiblePair, _ImplicitlyConvertiblePair, _MoveConstructiblePair, _ImplicitlyMoveConvertiblePair): Add shortcut conditions for same-type cases. * testsuite/20_util/pair/70437.cc: New. From-SVN: r234743
Ville Voutilainen committed -
re PR target/70525 (generating 'vpandn' without the mode suffix, gnu as fails to assemble (-mavx512bw)) PR target/70525 * config/i386/sse.md (*andnot<mode>3): Simplify assertions. Use vpandn<ssemodesuffix> for V16SI/V8DImode, vpandnq for V32HI/V64QImode, don't use <mask_operand3_1>, fix up formatting. (*andnot<mode>3_mask): Remove insn with VI12_AVX512VL iterator. * gcc.target/i386/pr70525.c: New test. From-SVN: r234739
Jakub Jelinek committed -
2016-04-05 Richard Biener <rguenther@suse.de> PR middle-end/70499 * gimplify-me.c (gimple_regimplify_operands): Do not rewrite non-register type temporaries into SSA. * g++.dg/torture/pr70499.C: New testcase. From-SVN: r234738
Richard Biener committed -
2016-04-05 Richard Biener <rguenther@suse.de> * gcc.dg/tree-ssa/20030814-6.c: Fix testcase, disable FRE, remove XFAIL. From-SVN: r234737
Richard Biener committed -
gcc/cp/ChangeLog: PR c++/70452 * cp-tree.h (class cache_map): Remove. * constexpr.c (cv_cache): Change type to GTY((deletable)) hash_map<tree, tree> *. (maybe_constant_value): Adjust following the change to cv_cache. (clear_cv_cache): New static function. (clear_cv_and_fold_caches): Use it. * cp-gimplify.c (fold_cache): Change type to GTY((deletable)) hash_map<tree, tree> *. (clear_fold_cache): Adjust following the change to fold_cache. (cp_fold): Likewise. From-SVN: r234732
Patrick Palka committed -
From-SVN: r234731
GCC Administrator committed
-