- 03 Mar, 2016 17 commits
-
-
PR c++/67364 * constexpr.c (cxx_eval_component_reference): Just return an empty CONSTRUCTOR for an empty class. From-SVN: r233945
Jason Merrill committed -
PR ada/70017 * gcc.dg/pr70017.c (foo): Store 0 to first element of each array. From-SVN: r233944
Jakub Jelinek committed -
PR rtl-optimization/69904 * config/arm/arm.c (arm_cannot_copy_insn_p): Return true for load-exclusive instructions. * gcc.target/arm/pr69904.c: New test. From-SVN: r233941
Kyrylo Tkachov committed -
PR target/70021 * tree-vect-stmts.c (vect_mark_relevant): Remove USED_IN_PATTERN argument, if STMT_VINFO_IN_PATTERN_P (stmt_info), always mark the pattern no matter if it is used just by non-pattern, pattern or mix thereof. (process_use, vect_mark_stmts_to_be_vectorized): Adjust callers. * tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If oprnd1 def_stmt is in pattern, don't look through it. * gcc.dg/vect/pr70021.c: New test. * gcc.target/i386/pr70021.c: New test. From-SVN: r233940
Jakub Jelinek committed -
* Makefile.am (libffi.map-sun): Properly convert $(libffi_la_OBJECTS) to object names. * Makefile.in: Regenerate. From-SVN: r233938
Rainer Orth committed -
re PR middle-end/70050 (ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have vector_type in generic_simplify_162, at generic-match.c:6175) PR middle-end/70050 * match.pd (X % -Y): Add INTEGRAL_TYPE_P check. * gcc.dg/pr70050.c: New test. From-SVN: r233937
Marek Polacek committed -
* Makefile.am (libffi.map-sun): Tabify: * Makefile.in: Regenerate. From-SVN: r233936
Rainer Orth committed -
gcc/testsuite/ * gcc.dg/vect/bb-slp-34.c: Don't XFAIL for ARM/AArch64. From-SVN: r233935
James Greenhalgh committed -
PR tree-optimization/70043 * tree-vect-loop.c (optimize_mask_stores): Move iterator to previous statement if we see a debug statement. * gfortran.dg/vect/pr70043.f90: New test. From-SVN: r233934
Martin Liska committed -
From-SVN: r233932
Eric Botcazou committed -
* lib/gcc-gdb-test.exp (gdb-test): Make log message match command. Invoke gdb with -batch. * lib/gcc-simulate-thread.exp (simulate-thread): Likewise. From-SVN: r233930
Rainer Orth committed -
The attached patch adds the a target specific attribute via the new target macro TARGET_BEGIN_TRANSACTION_ATTRIBUTE to the function begin_transaction(). S/390 uses this to set the soft-float target attribute which is needed to fix a crash with -m31. As there seems to be no place in libitm to document internal macros like USE_HTM_FASTPATH or the new macro, I've put the documentation in a comment where the macro is used. 2016-03-03 Dominik Vogt <vogt@linux.vnet.ibm.com> * config/s390/target.h (TARGET_BEGIN_TRANSACTION_ATTRIBUTE): Define function attribute to disable floating point in begin_transaction() on S/390. * beginend.cc (begin_transaction): Use TARGET_BEGIN_TRANSACTION_ATTRIBUTE. From-SVN: r233929
Dominik Vogt committed -
2016-03-03 Richard Biener <rguenther@suse.de> PR tree-optimization/55936 * tree-vrp.c (compare_name_with_value): Add use_equiv_p parameter and guard unsafe equivalence use. (vrp_evaluate_conditional_warnv_with_ops): Always use safe equivalences but not via the quadratic compare_names helper. * gcc.dg/tree-ssa/vrp06.c: Remove XFAIL. From-SVN: r233928
Richard Biener committed -
2016-03-03 Michael Collison <michael.collison@linaro.org> PR target/70014 * config/arm/arm.md (*subsi3_carryin_const): Change predicate for operand 1 to s_register_operand. Change predicate for operand 2 to arm_not_immediate_operand. From-SVN: r233927
Michael Collison committed -
PR libffi/70024 * Makefile.am (libffi_version_script): Look in cwd for libffi.map. (libffi_version_dep, libffi.map-sun): Likewise. (libffi.map): New target. * libffi.map.in: Rename from libffi.map. Add required defines, includes, and conditionals. From-SVN: r233926
Richard Henderson committed -
From-SVN: r233925
GCC Administrator committed -
PR rtl-optimization/69942 * gcc.dg/ifcvt-5.c: Use "word_mode" rather than "int" to limit the effects of argument promotions. From-SVN: r233922
Jeff Law committed
-
- 02 Mar, 2016 23 commits
-
-
PR libffi/70024 * Makefile.am (libffi_version_script): New. (libffi_version_dep): New. (libffi_version_info): New. (libffi_la_LDFLAGS): Include libffi_version_info, libffi_version_script. (libffi_la_DEPENDENCIES): Include libffi_version_dep. * acinclude.m4 (LIBAT_ENABLE, LIBAT_CHECK_LINKER_FEATURES): New. (LIBAT_ENABLE_SYMVERS, LIBAT_BUILD_VERSIONED_SHLIB): New. (LIBAT_BUILD_VERSIONED_SHLIB_GNU): New. (LIBAT_BUILD_VERSIONED_SHLIB_SUN): New. * configure.ac: Invoke LIBAT_ENABLE_SYMVERS. * libffi.map: New file. * libtool-version: Increase to 5.0.0. * Makefile.in, configure: Rebuild. * man/Makefile.in, testsuite/Makefile.in: Rebuild. From-SVN: r233921
Richard Henderson committed -
From-SVN: r233918
Jeff Law committed -
* doc/tm.texi: Regenerated. From-SVN: r233917
H.J. Lu committed -
PR rtl-opt/67145 * simplify-rtx.c (simplify_plus_minus): Allow reassoc without simplification when all args are positive non-fixed registers. From-SVN: r233916
Richard Henderson committed -
From-SVN: r233915
Jakub Jelinek committed -
2016-03-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * target.def(lra_p): Specify that new ports should use LRA. From-SVN: r233914
Manuel López-Ibáñez committed -
PR libgomp/69555 * gimplify.c (gimplify_decl_expr): For decls with REFERENCE_TYPE, also gimplify_type_sizes the type they refer to. (omp_notice_variable): Handle reference vars to VLAs. * omp-low.c (lower_omp_target): Emit setup of OMP_CLAUSE_PRIVATE reference to VLA decls in the second pass instead of first pass. * testsuite/libgomp.c++/pr69555-1.C: New test. * testsuite/libgomp.c++/pr69555-2.C: New test. From-SVN: r233913
Jakub Jelinek committed -
PR tree-optimization/69987 * gfortran.dg/pr69987.f90: Use "-w" to avoid failures when the target does not support -fprefetch-loop-arrays. From-SVN: r233912
Jeff Law committed -
libbacktrace/ 2016-03-02 Maxim Ostapenko <m.ostapenko@partner.samsung.com> * elf.c (backtrace_initialize): Properly initialize elf_fileline_fn to avoid possible crash. (elf_add): Don't set *fileline_fn to elf_nodebug value in case of missing debug info anymore. From-SVN: r233911
Max Ostapenko committed -
* gcc.target/i386/bmi2-bzhi-2.c: Change to runtime test. From-SVN: r233910
Uros Bizjak committed -
2016-03-02 Tom de Vries <tom@codesourcery.com> PR tree-optimization/68659 * graphite-isl-ast-to-gimple.c (collect_all_ssa_names): Handle new_expr == NULL_TREE. (get_new_name): Handle ADDR_EXPR. From-SVN: r233909
Tom de Vries committed -
From-SVN: r233908
Bin Cheng committed -
PR tree-optimization/69052 * loop-invariant.c (canonicalize_address): New function. (inv_can_prop_to_addr_use): Check validity of address expression which is canonicalized by above function. gcc/testsuite/ChangeLog PR tree-optimization/69052 * gcc.target/i386/pr69052.c: New test. From-SVN: r233907
Bin Cheng committed -
This patch cures a problem with ICF of read-only variables at the intersection of -fsection-anchors, -ftree-loop-vectorize, and targets with alignment restrictions. What happens with the testcase is: - "c" is referenced in a constructor, thus make_decl_rtl for "c", - make_decl_rtl puts "c" in an anchor block (-fsection-anchors), - anchor block contents can't move, so "c" alignment can't change by ipa_increase_alignment (-ftree-loop-vectorize), - however "a" alignment can be increased, - ICF aliases "a" to "c". So we have a decl for "a" saying it is aligned to 128 bits, using mem for "c" which is only 16 bit aligned. PR ipa/69990 gcc/ * ipa-icf.c (sem_variable::merge): Do not merge an alias with larger alignment. gcc/testsuite/ gcc.dg/pr69990.c: New. From-SVN: r233906
Alan Modra committed -
PR c/68062 * c-c++-common/vector-compare-4.c: Add -Wno-psabi to dg-options. PR middle-end/70022 * gcc.dg/pr70022.c: Add -w -Wno-psabi to dg-options. From-SVN: r233905
Jakub Jelinek committed -
re PR target/70028 (Error: operand size mismatch for `kmovw' (wrong assembly generated) with -mavx512bw -masm=intel) PR target/70028 * config/i386/i386.md (kmovw): Move m constraint to 2nd alternative. (*movhi_internal): Put mask moves from and to memory separately from moves from/to GPRs. * gcc.target/i386/pr70028.c: New test. From-SVN: r233904
Jakub Jelinek committed -
2016-03-02 Richard Biener <rguenther@suse.de> * genmatch.c (dt_node::gen_kids): Fix match code-gen for embedded GENERIC expressions in GIMPLE. From-SVN: r233902
Richard Biener committed -
2016-03-02 Richard Biener <rguenther@suse.de> * config/i386/i386.c (type_natural_mode): Fix typo. From-SVN: r233901
Richard Biener committed -
From-SVN: r233900
Nick Clifton committed -
* c-c++-common/asan/swapcontext-test-1.c, * c-c++-common/tsan/thread_leak.c, * g++.dg/tsan/aligned_vs_unaligned_race.C, * g++.dg/tsan/benign_race.C, * g++.dg/tsan/fd_close_norace.C, * g++.dg/tsan/fd_close_norace2.C: Print markers to stderr to avoid races with sanitizer output From-SVN: r233899
Maxim Kuvyrkov committed -
2016-03-02 Richard Biener <rguenther@suse.de> Uros Bizjak <ubizjak@gmail.com> PR target/67278 * config/i386/i386.c (type_natural_mode): Handle XFmode vectors. * gcc.dg/simd-8.c: New testcase. Co-Authored-By: Uros Bizjak <ubizjak@gmail.com> From-SVN: r233898
Richard Biener committed -
2016-03-02 Richard Biener <rguenther@suse.de> PR middle-end/67278 * tree-cfg.c (verify_expr): Adjust BIT_FIELD_REF case. * gcc.dg/simd-7.c: New testcase. From-SVN: r233897
Richard Biener committed -
From-SVN: r233894
Eric Botcazou committed
-