- 03 Apr, 2018 11 commits
-
-
PR c++/85134 * decl.c (cp_finish_decl): If ensure_literal_type_for_constexpr_object fails, after clearing DECL_DECLARED_CONSTEXPR_P don't return early, instead for static data members clear init and set DECL_EXTERNAL. * g++.dg/gomp/pr85134.C: New test. * g++.dg/cpp0x/constexpr-ice19.C: Expect one further error. From-SVN: r259038
Jakub Jelinek committed -
PR target/85169 * config/i386/i386.c (ix86_expand_vector_set): Use HOST_WIDE_INT_1U << elt instead of 1 << elt. Formatting fix. * gcc.c-torture/execute/pr85169.c: New test. * gcc.target/i386/avx512f-pr85169.c: New test. * gcc.target/i386/avx512bw-pr85169.c: New test. From-SVN: r259037
Jakub Jelinek committed -
After middle-end changes combine now gets fed different input, from which it makes different (but just as efficient) code. So remove the test for particular asm output. gcc/testsuite/ PR target/85126 * gcc.target/powerpc/pr69946: Adjust comment. Remove scan-assembler-times clause. From-SVN: r259036
Segher Boessenkool committed -
i386.c (emit_i387_cw_initialization): Always use logic instructions when changing rounding bits to preserve precision... * config/i386/i386.c (emit_i387_cw_initialization): Always use logic instructions when changing rounding bits to preserve precision bits in the x87 control word. From-SVN: r259034
Uros Bizjak committed -
2018-04-03 Christophe Lyon <christophe.lyon@linaro.org> * gcc.target/arm/armv8_2-fp16-move-1.c: Move -mfloat-abi=hard to dg-additional-options. From-SVN: r259031
Christophe Lyon committed -
2018-04-03 Martin Liska <mliska@suse.cz> PR tree-optimization/82491 * rtl.h (strip_offset_and_add): Replace += suboffset with poly_uint64 () + suboffset. From-SVN: r259030
Martin Liska committed -
2018-03-29 Martin Liska <mliska@suse.cz> Martin Jambor <mjambor@suse.cz> PR ipa/84947 * ipa-cp.c (propagate_bits_across_jump_function): Bail out if param_type is not an integral or pointer type. Co-Authored-By: Martin Jambor <mjambor@suse.cz> From-SVN: r259029
Martin Liska committed -
It used "vector" but that is not defined. Let's use __vector instead. gcc/testsuite/ * gcc.target/powerpc/pr82015.c: Use __vector instead of vector. From-SVN: r259027
Segher Boessenkool committed -
2018-04-03 Richard Biener <rguenther@suse.de> * sese.h (recompute_all_dominators): Remove. From-SVN: r259026
Richard Biener committed -
2018-04-03 Richard Biener <rguenther@suse.de> PR testsuite/85154 * gcc.dg/vect/vect-95.c: Remove scan for alignment peeling. From-SVN: r259025
Richard Biener committed -
From-SVN: r259024
GCC Administrator committed
-
- 02 Apr, 2018 8 commits
-
-
gcc/ChangeLog: * doc/invoke.texi (-Wrestrict): Fix typos. From-SVN: r259020
Martin Sebor committed -
PR rtl-optimization/84660 gcc/ * config/riscv/riscv.h (SHIFT_COUNT_TRUNCATED): Set to zero. * config/riscv/riscv.md (<optab>si3): Use QImode shift count. (<optab>di3, <optab>si3_extend): Likewise. (<optab>si3_mask, <optab>si3_mask_1): New. (<optab>di3_mask, <optab>di3_mask_1): New. (<optab>si3_extend_mask, <optab>si3_extend_mask_1): New. (lshrsi3_zero_extend_1): Use VOIDmode shift count. * config/riscv/sync.md (atomic_test_and_set): Emit QImode shift count. gcc/testsuite/ * gcc.target/riscv/pr84660.c: New. * gcc.target/riscv/shift-and-1.c: New. * gcc.target/riscv/shift-and-2.c: New. From-SVN: r259019
Jim Wilson committed -
* parser.c (cp_parser_parameter_declaration): Handle turning autos into packs here. (cp_parser_parameter_declaration_list): Not here. From-SVN: r259015
Jason Merrill committed -
2018-04-02 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85102 * decl.c (variable_decl): If upper or lower bounds simplify to a constant, use that. 2018-04-02 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85102 * gfortran.dg/array_simplify_2.f90: New test. From-SVN: r259014
Thomas Koenig committed -
* doc/cpp.texi (Variadic Macros): Fix line continuation in an example. From-SVN: r259012
Gerald Pfeifer committed -
gcc/ * config/nds32/nds32.c (TARGET_CANONICALIZE_COMPARISON): Define. (nds32_canonicalize_comparison): New function. From-SVN: r259004
Chung-Ju Wu committed -
2018-04-02 Bill Schmidt <wschmidt@linux.ibm.com> * MAINTAINERS: Remove redundant Write-After-Approval entry. From-SVN: r259003
Bill Schmidt committed -
From-SVN: r259002
GCC Administrator committed
-
- 01 Apr, 2018 6 commits
-
-
gcc/ * config.gcc (nds32): Add nds32-relax-opt.o into extra_objs. * config/nds32/constants.md (unspec_volatile_element): Add UNSPEC_VOLATILE_RELAX_GROUP. * config/nds32/nds32-relax-opt.c: New file. * config/nds32/nds32-predicates.c (nds32_symbol_load_store_p): New function. * config/nds32/nds32-protos.h (nds32_symbol_load_store_p): Declare function. (make_pass_nds32_relax_opt): Declare new rtl pass function. * config/nds32/nds32.c (nds32_register_pass): New function to register pass. (nds32_register_passes): New function to register passes. * config/nds32/nds32.md (relax_group): New pattern. * config/nds32/nds32.opt (mrelax-hint): New option. * config/nds32/t-nds32 (nds32-relax-opt.o): New dependency. Co-Authored-By: Kito Cheng <kito.cheng@gmail.com> Co-Authored-By: Kuan-Lin Chen <kuanlinchentw@gmail.com> From-SVN: r258998
Chung-Ju Wu committed -
gcc/ * config/nds32/t-nds32: Modify files dependency. From-SVN: r258997
Kito Cheng committed -
gcc/ * config/nds32/nds32.h (FUNCTION_PROFILER): Output newline character. (PROFILE_HOOK): Define its implementation. From-SVN: r258996
Chung-Ju Wu committed -
gcc/ * config/nds32/nds32.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Use unsigned int type and 32-bit size. From-SVN: r258995
Chung-Ju Wu committed -
re PR middle-end/85090 (wrong code with -O2 -fno-tree-dominator-opts -mavx512f -fira-algorithm=priority) PR middle-end/85090 * config/i386/sse.md (V): Add V64QI and V32HI for TARGET_AVX512F. (V_128_256): New mode iterator. (*avx512dq_vextract<shuffletype>64x2_1 splitter): New define_split. (*avx512f_vextract<shuffletype>32x4_1 splitter): Likewise. (xop_pcmov_<mode><avxsizesuffix>): Use V_128_256 mode iterator instead of V. * config/i386/i386.c (ix86_expand_vector_set): Improve V32HImode and V64QImode expansion for !TARGET_AVX512BW && TARGET_AVX512F. * gcc.target/i386/avx512f-pr85090-1.c: New test. * gcc.target/i386/avx512f-pr85090-2.c: New test. * gcc.target/i386/avx512f-pr85090-3.c: New test. * gcc.target/i386/avx512bw-pr85090-2.c: New test. * gcc.target/i386/avx512bw-pr85090-3.c: New test. From-SVN: r258994
Jakub Jelinek committed -
From-SVN: r258993
GCC Administrator committed
-
- 31 Mar, 2018 4 commits
-
-
We use SAVE_EXPRs in conditional expressions without the middle operand, to evaluate the first operand only once. When the conversion of the first operand fails, we may call instantiate_type get a better error message. We have code to peel off the SAVE_EXPR there, but then we may end up with a BASELINK, and we're past the code that deals with BASELINKs. Reorder the tests so that we expose the saved expr first, and then deal with BASELINKs. for gcc/cp/ChangeLog PR c++/85027 * class.c (instantiate_type): Peel off SAVE_EXPR before BASELINK. for gcc/testsuite/ChangeLog PR c++/85027 * g++.dg/pr85027.C: New. From-SVN: r258989
Alexandre Oliva committed -
This makes _mm_{min,max}_ps work correctly for QNaNs. PR target/83315 * config/rs6000/xmmintrin.h (_mm_set_ps, _mm_max_ps): Handle (quiet) NaN inputs correctly. gcc/testsuite/ PR target/83315 * gcc.target/powerpc/sse-maxps-2.c: New test. * gcc.target/powerpc/sse-minps-2.c: New test. From-SVN: r258988
Segher Boessenkool committed -
PR target/80546 * config/rs6000/vsx.md (??r): New mode attribute. (*vsx_mov<mode>_64bit): Use it. (*vsx_mov<mode>_32bit): Likewise. From-SVN: r258987
Peter Bergner committed -
From-SVN: r258986
GCC Administrator committed
-
- 30 Mar, 2018 11 commits
-
-
gcc/ChangeLog: PR tree-optimization/84818 * builtins.c (check_access): Use warning_n. From-SVN: r258983
Martin Sebor committed -
* typeck2.c (process_init_constructor_record): Use init_list_type_node for the CONSTRUCTOR around an anonymous union designated initializer. From-SVN: r258982
Jason Merrill committed -
PR c++/84791 * semantics.c (finish_omp_reduction_clause): If OMP_CLAUSE_REDUCTION_PLACEHOLDER is error_mark_node, return true even if processing_template_decl. * g++.dg/gomp/pr84791.C: New test. From-SVN: r258981
Jakub Jelinek committed -
2018-03-30 Bill Schmidt <wschmidt@linux.ibm.com> * MAINTAINERS: Update my email address and disambiguate myself a bit from Will Schmidt. From-SVN: r258980
Bill Schmidt committed -
2018-03-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/84931 * simplify.c (gfc_convert_constant): Handle case of array constructors within an array that has no iterator and improve the conciseness of this section of code. 2018-03-30 Paul Thomas <pault@gcc.gnu.org> PR fortran/84931 * gfortran.dg/array_constructor_53.f90: New test. From-SVN: r258977
Paul Thomas committed -
2018-03-30 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85130 * gfortran.dg/substr_6.f90: Remove illegal test for out-of-bounds substring. From-SVN: r258976
Thomas Koenig committed -
2018-03-30 Aaron Sawdey <acsawdey@linux.vnet.ibm.com> PR target/83822 * config/rs6000/rs6000-string.c (expand_compare_loop): Fix redundant condition. * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Fix redundant condition. From-SVN: r258975
Aaron Sawdey committed -
2017-03-30 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85111 * array.c (gfc_resolve_character_array_constructor): Early exit for zero-size arrays. * simplify.c (simplify_transformation_to_array): Exit early if the result size is zero. (simplify_minmaxloc_to_array): Likewise. 2017-03-30 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85111 * gfortran.dg/zero_sized_10.f90: New test. Add ChangeLog entries for r258973. From-SVN: r258974
Thomas Koenig committed -
2017-03-30 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85111 * array.c (gfc_resolve_character_array_constructor): Early exit for zero-size arrays. * simplify.c (simplify_transformation_to_array): Exit early if the result size is zero. (simplify_minmaxloc_to_array): Likewise. 2017-03-30 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/85111 * gfortran.dg/zero_sized_10.f90: New test. From-SVN: r258973
Thomas Koenig committed -
gcc/ PR target/84413 * x86-tune.def (movx, partial_reg_dependency): Enable for m_SKYLAKE_AVX512. From-SVN: r258972
Julia Koval committed -
From-SVN: r258970
GCC Administrator committed
-