- 26 Jan, 2017 24 commits
-
-
I typoed the argument passed to getcontext in getTraceback, and the error was hidden by ucontext_arg. This would have been caught by some of the runtime package tests, but we don't run most of them because they rely on `go build`, and the go tool is not available while running the libgo testsuite. We should fix the libgo testsuite, somehow, so that they run. Reviewed-on: https://go-review.googlesource.com/35837 From-SVN: r244946
Ian Lance Taylor committed -
PR libstdc++/79243 * include/bits/c++config (literals::string_view_literals::__7): Add. Only declare versioned namespaces for the relevant C++ dialects. * include/experimental/bits/erase_if.h (fundamentals_v2::__detail): Add versioning macros. * include/experimental/bits/lfts_config.h: (fundamentals_v1::__detail::__7, fundamentals_v2::__detail::__7): Add. * include/experimental/string_view (fundamentals_v2::__detail): Add versioning macros. (fundamentals_v2::__detail::__identity): Remove. (fundamentals_v2::__detail::__idt): Use common_type instead of __detail::__identity. * include/std/string_view (__detail::__identity, __detail::__idt): Likewise. (literals::string_view_literals): Fix nesting of versioning macros. From-SVN: r244945
Jonathan Wakely committed -
From-SVN: r244944
David Edelsohn committed -
rs6000-c (altivec_overloaded_builtins): Remove bogus entries for the P8V_BUILTIN_VEC_VGBBD built-ins gcc/ChangeLog: 2017-01-26 Carl Love <cel@us.ibm.com> * config/rs6000/rs6000-c (altivec_overloaded_builtins): Remove bogus entries for the P8V_BUILTIN_VEC_VGBBD built-ins From-SVN: r244943
Carl Love committed -
2017-01-26 Vladimir Makarov <vmakarov@redhat.com> PR target/79131 * lra-assigns.c (setup_live_pseudos_and_spill_after_risky): Take endianess for subregs into account. * lra-constraints.c (lra_constraints): Do risky transformations always on the first iteration. * lra-lives.c (check_pseudos_live_through_calls): Add arg last_call_used_reg_set. (process_bb_lives): Define and use last_call_used_reg_set. * lra.c (lra): Always continue after lra_constraints on the first iteration. 2017-01-26 Vladimir Makarov <vmakarov@redhat.com> PR target/79131 * gcc.target/arm/pr79131.c: New. From-SVN: r244942
Vladimir Makarov committed -
gcc/testsuite/ * gcc.target/i386/avx512bw-kshiftlq-2.c: Use unsigned long long constant. * gcc.target/i386/avx512bw-kshiftrq-2.c: Ditto. From-SVN: r244941
Kirill Yukhin committed -
From-SVN: r244940
Uros Bizjak committed -
* ChangeLog: Move my last entry ... * config/ChangeLog: ... here. From-SVN: r244938
Uros Bizjak committed -
From-SVN: r244936
Jason Merrill committed -
* decl2.c (vague_linkage_p): Handle decloned 'tors. * tree.c (decl_linkage): Likewise. From-SVN: r244935
Jason Merrill committed -
gcc/testsuite * gcc.target/aarch64/ldp_vec_64_1.c: Xfail. From-SVN: r244934
Bin Cheng committed -
libstdc++-v3: PR libstdc++/79190 * libsupc++/del_opa.cc (operator delete(void*, std::align_val_t)) [!_GLIBCXX_HAVE_ALIGNED_ALLOC && !_GLIBCXX_HAVE_POSIX_MEMALIGN && !_GLIBCXX_HAVE_MEMALIGN && !_GLIBCXX_HAVE__ALIGNED_MALLOC]: Retrieve original pointer value allocated by malloc. * libsupc++/new_opa.cc [!_GLIBCXX_HAVE_ALIGNED_ALLOC && !_GLIBCXX_HAVE_POSIX_MEMALIGN && !_GLIBCXX_HAVE_MEMALIGN && !_GLIBCXX_HAVE__ALIGNED_MALLOC] (aligned_alloc(size_t, size_t)): Define, adjusting pointer value allocated by malloc and storing for retrieval by operator delete. gcc/testsuite: PR libstdc++/79190 * g++.dg/cpp1z/aligned-new3.C: Replace operator new so behaviour matches replaced operator delete. From-SVN: r244933
Jonathan Wakely committed -
* config/i386/avx512fintrin.h (_ktest_mask16_u8, _ktestz_mask16_u8, _ktestc_mask16_u8, _kadd_mask16): Move to ... * config/i386/avx512dqintrin.h (_ktest_mask16_u8, _ktestz_mask16_u8, _ktestc_mask16_u8, _kadd_mask16): ... here. * config/i386/i386-builtin.def (__builtin_ia32_ktestchi, __builtin_ia32_ktestzhi, __builtin_ia32_kaddhi): Use OPTION_MASK_ISA_AVX512DQ instead of OPTION_MASK_ISA_AVX512F. * config/i386/sse.md (SWI1248_AVX512BWDQ2): New mode iterator. (kadd<mode>, ktest<mode>): Use it instead of SWI1248_AVX512BWDQ. testsuite/ * gcc.target/i386/avx512f-kaddw-1.c: Renamed to ... * gcc.target/i386/avx512dq-kaddw-1.c: ... this. New test. Replace avx512f with avx512dq. * gcc.target/i386/avx512f-ktestw-1.c: Renamed to ... * gcc.target/i386/avx512dq-ktestw-1.c: ... this. New test. Replace avx512f with avx512dq. * gcc.target/i386/avx512f-ktestw-2.c: Renamed to ... * gcc.target/i386/avx512dq-ktestw-2.c: ... this. New test. Replace avx512f with avx512dq. From-SVN: r244929
Jakub Jelinek committed -
PR c/79199 * fold-const.c (operand_equal_p) [COND_EXPR]: Use OP_SAME_WITH_NULL for the third operand. * c-c++-common/Wduplicated-branches-13.c: New test. From-SVN: r244928
Marek Polacek committed -
* testsuite/libgomp.fortran/declare-simd-4.f90: Add cleanup-modules directive. From-SVN: r244927
Jakub Jelinek committed -
re PR middle-end/79236 (Many libgomp tests fail if configured with --enable-offload-targets=nvptx-none but NVidia HW or libcuda.so.1 unavailable) PR middle-end/79236 * omp-low.c (struct omp_context): Add simt_stmt field. (scan_omp_for): Return omp_context *. (scan_omp_simd): Set simt_stmt on the non-_simt_ SIMD context to the _simt_ SIMD stmt. (lower_omp_for): For combined SIMD with sibling _simt_ SIMD, make sure to use the same decls in _looptemp_ clauses as in the sibling. From-SVN: r244924
Jakub Jelinek committed -
re PR middle-end/79212 (internal compiler error: in maybe_lookup_decl_in_outer_ctx, at omp-low.c:4134) 2017-01-26 David Sherwood <david.sherwood@arm.com> gcc/ PR middle-end/79212 * gimplify.c (omp_notice_variable): Add GOVD_SEEN flag to variables in all contexts. gcc/testsuite/ PR middle-end/79212 * gfortran.dg/gomp/sharing-4.f90: New test. From-SVN: r244922
David Sherwood committed -
PR target/70465 * reg-stack.c (emit_swap_insn): Instead of fld a; fld b; fxchg %st(1); emit fld b; fld a; if possible. * gcc.target/i386/pr70465.c: New test. From-SVN: r244921
Jakub Jelinek committed -
contrib/ * update-copyright.py: Add libhsail-rt to self.default_dirs and call self.add_dir on it. Add Intel Corporation to external authors. gcc/ * brig-builtins.def: Update copyright years. * config/arm/arm_acle_builtins.def: Update copyright years. gcc/brig/ Update copyright years. gcc/testsuite/ * brig.dg/dg.exp: Update copyright years. * lib/brig-dg.exp: Update copyright years. * lib/brig.exp: Update copyright years. libhsail-rt/ Update copyright years. libstdc++-v3/ * libsupc++/eh_atomics.h: Update copyright years. * testsuite/20_util/unique_ptr/cons/default.cc: Update copyright years. From-SVN: r244920
Jakub Jelinek committed -
contrib/ * update-copyright.py: Add libhsail-rt to self.default_dirs and call self.add_dir on it. Add Intel Corporation to external authors. gcc/ * brig-builtins.def: Update copyright years. * config/arm/arm_acle_builtins.def: Update copyright years. gcc/brig/ Update copyright years. gcc/testsuite/ * brig.dg/dg.exp: Update copyright years. * lib/brig-dg.exp: Update copyright years. * lib/brig.exp: Update copyright years. libhsail-rt/ Update copyright years. libstdc++-v3/ * libsupc++/eh_atomics.h: Update copyright years. * testsuite/20_util/unique_ptr/cons/default.cc: Update copyright years. From-SVN: r244919
Jakub Jelinek committed -
[gcc] 2017-01-25 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/79179 * config/rs6000/vsx.md (vsx_extract_<mode>_store): Use wY constraint instead of o for the stxsd instruction. [gcc/testsuite] 2017-01-25 Michael Meissner <meissner@linux.vnet.ibm.com> PR target/79179 * gcc.target/powerpc/pr79179.c: New test. From-SVN: r244917
Michael Meissner committed -
2017-01-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.target/powerpc/vsx-elemrev-4.c: Change expected code generation to accept D-mode memory accesses. From-SVN: r244916
Bill Schmidt committed -
From-SVN: r244915
GCC Administrator committed -
gcc/cp/ChangeLog: * decl.c (grokdeclarator): Fix a typo in a comment. This line, and those below, will be ignored-- M ChangeLog M decl.c From-SVN: r244912
Martin Sebor committed
-
- 25 Jan, 2017 16 commits
-
-
From-SVN: r244911
Martin Sebor committed -
gcc/cp/ChangeLog: PR c++/71290 * decl.c (grokdeclarator): Warn on flexible array members. gcc/testsuite/ChangeLog: PR c++/71290 * g++.dg/ext/flexarray-mangle-2.C: Adjust. * g++.dg/ext/flexarray-mangle.C: Same. * g++.dg/ext/flexarray-subst.C: Same. * g++.dg/ext/flexary10.C: Same. * g++.dg/ext/flexary11.C: Same. * g++.dg/ext/flexary14.C: Same. * g++.dg/ext/flexary16.C: Same. * g++.dg/ext/flexary18.C: Same. * g++.dg/ext/flexary19.C: Same. * g++.dg/ext/flexary7.C: Same. * gcc/testsuite/g++.dg/cpp1z/has-unique-obj-representations1.C: Same. * gcc/testsuite/g++.dg/ubsan/object-size-1.C: Same. * gcc/testsuite/obj-c++.dg/property/at-property-23.mm: Same. From-SVN: r244910
Martin Sebor committed -
re PR c++/78896 ([C++17] Segmentation fault occurs when use variable initialized using structured binding with capture-by-ref lambda) PR c++/78896 * decl.c (cp_finish_decomp): Disallow memberwise decomposition of lambda expressions. * g++.dg/cpp1z/decomp24.C: New test. From-SVN: r244909
Jakub Jelinek committed -
PR c++/77914 * parser.c (cp_parser_lambda_declarator_opt): Pedwarn with OPT_Wpedantic on lambda templates for -std=c++14 and higher. * g++.dg/cpp1y/lambda-generic-77914.C: New test. * g++.dg/cpp1y/lambda-generic-dep.C: Add -pedantic to dg-options, expect a warning. * g++.dg/cpp1y/lambda-generic-x.C: Add -Wpedantic to dg-options, expect warnings. * g++.dg/cpp1y/lambda-generic-mixed.C: Add empty dg-options. * g++.dg/cpp1y/pr59636.C: Likewise. * g++.dg/cpp1y/pr60190.C: Likewise. From-SVN: r244907
Jakub Jelinek committed -
gcc/testsuite * gcc.dg/vect/vect-24.c: Remove xfail on ARM targets. From-SVN: r244905
Bin Cheng committed -
rs6000-c (altivec_overloaded_builtins): Fix order of entries for ALTIVEC_BUILTIN_VEC_PACKS and P8V_BUILTIN_VEC_VGBBD. gcc/ChangeLog: 2017-01-25 Carl Love <cel@us.ibm.com> * config/rs6000/rs6000-c (altivec_overloaded_builtins): Fix order of entries for ALTIVEC_BUILTIN_VEC_PACKS and P8V_BUILTIN_VEC_VGBBD. gcc/testsuite/ChangeLog: 2017-01-25 Carl Love <cel@us.ibm.com> * gcc.target/powerpc/builtins-3-p8.c: Add missing tests for the vec_packs built-ins From-SVN: r244904
Carl Love committed -
2017-01-25 Christophe Lyon <christophe.lyon@linaro.org> * gcc.target/arm/vseleqdf.c: Require arm_arch_v8a_ok, add -mcpu=cortex-a57. * gcc.target/arm/vseleqsf.c: Likewise. * gcc.target/arm/vselgedf.c: Likewise. * gcc.target/arm/vselgesf.c: Likewise. * gcc.target/arm/vselgtdf.c: Likewise. * gcc.target/arm/vselgtsf.c: Likewise. * gcc.target/arm/vselledf.c: Likewise. * gcc.target/arm/vsellesf.c: Likewise. * gcc.target/arm/vselltdf.c: Likewise. * gcc.target/arm/vselltsf.c: Likewise. * gcc.target/arm/vselnedf.c: Likewise. * gcc.target/arm/vselnesf.c: Likewise. * gcc.target/arm/vselvcdf.c: Likewise. * gcc.target/arm/vselvcsf.c: Likewise. * gcc.target/arm/vselvsdf.c: Likewise. * gcc.target/arm/vselvssf.c: Likewise. From-SVN: r244903
Christophe Lyon committed -
contrib/ * gcc_update (files_and_dependencies): Care for "libhsail-rt". libhsail-rt/ * configure.ac: Don't instantiate AC_CONFIG_MACRO_DIR. * configure: Regenerate. libhsail-rt/ * config.h.in: Remove stale file. From-SVN: r244902
Thomas Schwinge committed -
* doc/invoke.texi (C++ Dialect Options): Fix typo. From-SVN: r244901
Jonathan Wakely committed -
PR libstdc++/61791 PR libstdc++/70607 * include/std/complex (real(T), imag(T)): Add _GLIBCXX_CONSTEXPR. (proj(T), conj(T)): Change return types per DR 1522. * include/tr1/complex (conj): Remove overloads and use std::conj. * testsuite/26_numerics/complex/dr781_dr1137.cc: Rename to... * testsuite/26_numerics/complex/dr781.cc: ... this, and update. * testsuite/26_numerics/complex/value_operations/constexpr2.cc: Test real(T) and imag(T). Allow testing for C++11 too. From-SVN: r244900
Jonathan Wakely committed -
2017-01-25 Richard Biener <rguenther@suse.de> PR testsuite/72850 * gcc.dg/tree-ssa/pr69270-3.c: Change back expected outcome to what we had before adding the threading passes. From-SVN: r244898
Richard Biener committed -
re PR target/69264 (ICE building spidermonkey -mcpu=970 -maltivec -O3: rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.c:4350) 2017-01-25 Richard Biener <rguenther@suse.de> PR tree-optimization/69264 * target.def (vector_alignment_reachable): Improve documentation. * doc/tm.texi: Regenerate. * targhooks.c (default_builtin_vector_alignment_reachable): Simplify and add a comment. * tree-vect-data-refs.c (vect_supportable_dr_alignment): Revert earlier changes with respect to TYPE_USER_ALIGN. (vector_alignment_reachable_p): Likewise. Improve dumping. * g++.dg/torture/pr69264.C: New testcase. From-SVN: r244897
Richard Biener committed -
From-SVN: r244896
Jakub Jelinek committed -
PR other/79046 * configure.ac: Add GCC_BASE_VER. * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to get version from BASE-VER file. (ACLOCAL_AMFLAGS): Set to -I .. -I ../config . * aclocal.m4: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. From-SVN: r244895
Jakub Jelinek committed -
PR target/79145 * config/arm/arm.md (xordi3): Force constant operand into a register for TARGET_IWMMXT. * gcc.target/arm/pr79145.c: New test. From-SVN: r244894
Kyrylo Tkachov committed -
* doc/invoke.texi (-fstore-merging): Correct default optimization levels at which it is enabled. (-O): Move -fstore-merging from list to... (-O2): ... Here. From-SVN: r244893
Kyrylo Tkachov committed
-