- 06 Apr, 2016 11 commits
-
-
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
-
- 04 Apr, 2016 9 commits
-
-
re PR target/67172 (i686-w64-mingw32 dwarf2 bootstrap fails with undefined reference to __EH_FRAME_BEGIN__) PR target/67172 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if __MINGW32__ is defined. From-SVN: r234727
Eric Botcazou committed -
2016-04-04 Bill Seurer <seurer@linux.vnet.ibm.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r234724
Bill Seurer committed -
PR middle-end/70307 * gcc.dg/torture/pr70307.c: Add -Wno-psabi to dg-options. Prune rs6000 ABI warnings. From-SVN: r234723
Jakub Jelinek committed -
The config.cache file should be deleted by "make distclean", just like config.log and config.status . The directory itself is still not deleted (just like the gotools and libcc1 directories). gnattools/ PR bootstrap/70173 * Makefile.in (distclean): Also delete config.cache . From-SVN: r234721
Segher Boessenkool committed -
PR ipa/66223 * ipa-devirt.c (maybe_record_node): Do not optimize cxa_pure_virtual calls when sanitizing. (possible_polymorphic_call_target_p)" FIx formating. * g++.dg/ipa/devirt-51.C: New testcase. From-SVN: r234719
Jan Hubicka committed -
[gcc] 2016-04-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com> Jakub Jelinek <jakub@redhat.com> PR middle-end/70457 * tree-inline.c (estimate_num_insn): Use gimple_call_builtin_p to ensure a call statement is compatible with a built-in's prototype. * tree-ssa-math-opts.c (pass_optimize_windening_mul::execute): Likewise. [gcc/testsuite] 2016-04-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com> Jakub Jelinek <jakub@redhat.com> PR middle-end/70457 * gcc.dg/torture/pr70457.c: New. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r234716
Bill Schmidt committed -
gcc/fortran/ChangeLog: 2016-04-04 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/67538 * resolve.c (resolve_allocate_expr): Emit error message when no array spec and no array valued source= expression is given in an F2008 allocate() for an array to allocate. gcc/testsuite/ChangeLog: 2016-04-04 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/67538 * gfortran.dg/allocate_with_source_19.f08: New test. From-SVN: r234714
Andre Vehreschild committed -
gcc/fortran/ChangeLog: 2016-04-04 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/65795 * trans-array.c (gfc_array_allocate): When the array is a coarray, do not nullyfing its allocatable components in array_allocate, because the nullify missed the array ref and nullifies the wrong component. Cosmetics. gcc/testsuite/ChangeLog: 2016-04-04 Andre Vehreschild <vehre@gcc.gnu.org> PR fortran/65795 * gfortran.dg/coarray_allocate_6.f08: New test. From-SVN: r234710
Andre Vehreschild committed -
2016-04-04 Richard Biener <rguenther@suse.de> PR rtl-optimization/70484 * rtl.h (canon_output_dependence): Declare. * alias.c (canon_output_dependence): New function. * dse.c (record_store): Use canon_output_dependence rather than canon_true_dependence. * gcc.dg/torture/pr70484.c: New testcase. From-SVN: r234709
Richard Biener committed
-