From bf81237eccb1d5d2d8078b1d2c5a0b9cc0258d61 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Fri, 19 Feb 2021 00:16:21 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 100 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 7 +++ gcc/c/ChangeLog | 6 +++ gcc/cp/ChangeLog | 15 ++++++ gcc/testsuite/ChangeLog | 85 ++++++++++++++++++++++++++++++++++ libcpp/ChangeLog | 12 +++++ 7 files changed, 226 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b3bdcee619..748a4e5e513 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,103 @@ +2021-02-18 Vladimir N. Makarov + + PR rtl-optimization/96264 + * lra-remat.c (reg_overlap_for_remat_p): Check also output insn + hard regs. + +2021-02-18 H.J. Lu + + PR target/99113 + * varasm.c (get_section): Replace SUPPORTS_SHF_GNU_RETAIN with + looking up the retain attribute. + (resolve_unique_section): Likewise. + (get_variable_section): Likewise. + (switch_to_section): Likewise. Warn when a symbol without the + retain attribute and a symbol with the retain attribute are + placed in the section with the same name, instead of the used + attribute. + * doc/extend.texi: Document the "retain" attribute. + +2021-02-18 Nathan Sidwell + + PR c++/99023 + * doc/invoke.texi (flang-info-include-translate): Document header + lookup behaviour. + +2021-02-18 Richard Biener + + PR middle-end/99122 + * ipa-fnsummary.c (analyze_function_body): Set + CIF_FUNCTION_NOT_INLINABLE for VLA parameter calls. + * tree-inline.c (insert_init_debug_bind): Pass NULL for + error_mark_node values. + (force_value_to_type): Do not build V_C_Es for WITH_SIZE_EXPR + values. + (setup_one_parameter): Delay force_value_to_type until when + it's needed. + +2021-02-18 Hans-Peter Nilsson + + PR tree-optimization/99142 + * match.pd (clz cmp 0): Gate replacement on single_use of clz result. + +2021-02-18 Jakub Jelinek + + * wide-int-bitmask.h (wide_int_bitmask::wide_int_bitmask (), + wide_int_bitmask::wide_int_bitmask (uint64_t), + wide_int_bitmask::wide_int_bitmask (uint64_t, uint64_t), + wide_int_bitmask::operator ~ () const, + wide_int_bitmask::operator | (wide_int_bitmask) const, + wide_int_bitmask::operator & (wide_int_bitmask) const): Use constexpr + instead of inline. + * config/i386/i386.h (PTA_3DNOW, PTA_3DNOW_A, PTA_64BIT, PTA_ABM, + PTA_AES, PTA_AVX, PTA_BMI, PTA_CX16, PTA_F16C, PTA_FMA, PTA_FMA4, + PTA_FSGSBASE, PTA_LWP, PTA_LZCNT, PTA_MMX, PTA_MOVBE, PTA_NO_SAHF, + PTA_PCLMUL, PTA_POPCNT, PTA_PREFETCH_SSE, PTA_RDRND, PTA_SSE, PTA_SSE2, + PTA_SSE3, PTA_SSE4_1, PTA_SSE4_2, PTA_SSE4A, PTA_SSSE3, PTA_TBM, + PTA_XOP, PTA_AVX2, PTA_BMI2, PTA_RTM, PTA_HLE, PTA_PRFCHW, PTA_RDSEED, + PTA_ADX, PTA_FXSR, PTA_XSAVE, PTA_XSAVEOPT, PTA_AVX512F, PTA_AVX512ER, + PTA_AVX512PF, PTA_AVX512CD, PTA_NO_TUNE, PTA_SHA, PTA_PREFETCHWT1, + PTA_CLFLUSHOPT, PTA_XSAVEC, PTA_XSAVES, PTA_AVX512DQ, PTA_AVX512BW, + PTA_AVX512VL, PTA_AVX512IFMA, PTA_AVX512VBMI, PTA_CLWB, PTA_MWAITX, + PTA_CLZERO, PTA_NO_80387, PTA_PKU, PTA_AVX5124VNNIW, PTA_AVX5124FMAPS, + PTA_AVX512VPOPCNTDQ, PTA_SGX, PTA_AVX512VNNI, PTA_GFNI, PTA_VAES, + PTA_AVX512VBMI2, PTA_VPCLMULQDQ, PTA_AVX512BITALG, PTA_RDPID, + PTA_PCONFIG, PTA_WBNOINVD, PTA_AVX512VP2INTERSECT, PTA_PTWRITE, + PTA_AVX512BF16, PTA_WAITPKG, PTA_MOVDIRI, PTA_MOVDIR64B, PTA_ENQCMD, + PTA_CLDEMOTE, PTA_SERIALIZE, PTA_TSXLDTRK, PTA_AMX_TILE, PTA_AMX_INT8, + PTA_AMX_BF16, PTA_UINTR, PTA_HRESET, PTA_KL, PTA_WIDEKL, PTA_AVXVNNI, + PTA_X86_64_BASELINE, PTA_X86_64_V2, PTA_X86_64_V3, PTA_X86_64_V4, + PTA_CORE2, PTA_NEHALEM, PTA_WESTMERE, PTA_SANDYBRIDGE, PTA_IVYBRIDGE, + PTA_HASWELL, PTA_BROADWELL, PTA_SKYLAKE, PTA_SKYLAKE_AVX512, + PTA_CASCADELAKE, PTA_COOPERLAKE, PTA_CANNONLAKE, PTA_ICELAKE_CLIENT, + PTA_ICELAKE_SERVER, PTA_TIGERLAKE, PTA_SAPPHIRERAPIDS, PTA_ALDERLAKE, + PTA_KNL, PTA_BONNELL, PTA_SILVERMONT, PTA_GOLDMONT, PTA_GOLDMONT_PLUS, + PTA_TREMONT, PTA_KNM): Use constexpr instead of const. + +2021-02-18 Jakub Jelinek + + PR middle-end/99109 + * gimple-array-bounds.cc (build_zero_elt_array_type): Rename to ... + (build_printable_array_type): ... this. Add nelts argument. For + overaligned eltype, use TYPE_MAIN_VARIANT (eltype) instead. If + nelts, call build_array_type_nelts. + (array_bounds_checker::check_mem_ref): Use build_printable_array_type + instead of build_zero_elt_array_type and build_array_type_nelts. + +2021-02-18 Jakub Jelinek + + PR target/99104 + * config/i386/i386.c (distance_non_agu_define): Don't call + extract_insn_cached here. + (ix86_lea_outperforms): Save and restore recog_data around call + to distance_non_agu_define and distance_agu_use. + (ix86_ok_to_clobber_flags): Remove. + (ix86_avoid_lea_for_add): Don't call ix86_ok_to_clobber_flags. + (ix86_avoid_lea_for_addr): Likewise. Adjust function comment. + * config/i386/i386.md (*lea): Change from define_insn_and_split + into define_insn. Move the splitting to define_peephole2 and + check there using peep2_regno_dead_p if FLAGS_REG is dead. + 2021-02-17 Julian Brown * gimplify.c (gimplify_scan_omp_clauses): Handle ATTACH_DETACH diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 7ff393c1a0f..7d1b7878342 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210218 +20210219 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 8f33293b4ec..c6080480bd4 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,10 @@ +2021-02-18 H.J. Lu + + PR target/99113 + * c-attribs.c (c_common_attribute_table): Add the "retain" + attribute. + (handle_retain_attribute): New function. + 2021-02-16 Marek Polacek PR c++/99062 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 1fee3e76399..c979741f3ae 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2021-02-18 Jakub Jelinek + + PR c/99136 + * c-typeck.c (c_finish_return): Don't wrap retval into + EXCESS_PRECISION_EXPR in functions that return void. + 2021-02-11 Marek Polacek * c-parser.c (c_parser_if_statement): Use vec_free. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index e73f0d38cfc..afad9079074 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,18 @@ +2021-02-18 Nathan Sidwell + + PR c++/99023 + * module.cc (canonicalize_header_name): Use + cpp_probe_header_unit. + (maybe_translate_include): Fix note_includes comparison. + (init_modules): Fix note_includes string termination. + +2021-02-18 Jakub Jelinek + + PR c++/99132 + * cp-gimplify.c (cp_genericize_r) : Use + cp_get_callee_fndecl_nofold instead of cp_get_callee_fndecl to check + for immediate function calls. + 2021-02-17 Nathan Sidwell PR c++/99023 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 2e9d1a33f8d..3b3f178d019 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,88 @@ +2021-02-18 Vladimir N. Makarov + + PR rtl-optimization/96264 + * gcc.target/powerpc/pr96264.c: New. + +2021-02-18 H.J. Lu + + PR target/99113 + * c-c++-common/attr-retain-1.c: New test. + * c-c++-common/attr-retain-2.c: Likewise. + * c-c++-common/attr-retain-3.c: Likewise. + * c-c++-common/attr-retain-4.c: Likewise. + * c-c++-common/attr-retain-5.c: Likewise. + * c-c++-common/attr-retain-6.c: Likewise. + * c-c++-common/attr-retain-7.c: Likewise. + * c-c++-common/attr-retain-8.c: Likewise. + * c-c++-common/attr-retain-9.c: Likewise. + * c-c++-common/pr99113.c: Likewise. + * gcc.c-torture/compile/attr-retain-1.c: Likewise. + * gcc.c-torture/compile/attr-retain-2.c: Likewise. + * c-c++-common/attr-used.c: Don't expect SHF_GNU_RETAIN section. + * c-c++-common/attr-used-2.c: Likewise. + * c-c++-common/attr-used-3.c: Likewise. + * c-c++-common/attr-used-4.c: Likewise. + * c-c++-common/attr-used-9.c: Likewise. + * gcc.c-torture/compile/attr-used-retain-1.c: Likewise. + * gcc.c-torture/compile/attr-used-retain-2.c: Likewise. + * c-c++-common/attr-used-5.c: Don't expect warning for the used + attribute nor SHF_GNU_RETAIN section. + * c-c++-common/attr-used-6.c: Likewise. + * c-c++-common/attr-used-7.c: Likewise. + * c-c++-common/attr-used-8.c: Likewise. + +2021-02-18 Nathan Sidwell + + PR c++/99023 + * g++.dg/modules/modules.exp: Bail on cross-testing. Add support + for .X files. + * g++.dg/modules/pr99023_a.X: New. + * g++.dg/modules/pr99023_b.X: New. + +2021-02-18 Jakub Jelinek + + PR c/99136 + * gcc.dg/pr99136.c: New test. + +2021-02-18 Nathan Sidwell + + PR c++/99023 + * g++.dg/modules/modules.exp: Remove dg-module-headers support + * g++.dg/modules/alias-2_a.H: Delete. + * g++.dg/modules/sys/alias-2_a.H: Delete. + +2021-02-18 Nathan Sidwell + + PR c++/99150 + * g++.dg/modules/pr99023_a.H: Delete. + * g++.dg/modules/pr99023_b.H: Delete. + +2021-02-18 Jakub Jelinek + + PR c++/99132 + * g++.dg/cpp2a/constexpr-virtual18.C: New test. + +2021-02-18 Richard Biener + + PR middle-end/99122 + * gcc.dg/pr99122-1.c: New testcase. + * gcc.dg/pr99122-2.c: Likewise. + +2021-02-18 Hans-Peter Nilsson + + PR tree-optimization/99142 + * gcc.dg/tree-ssa/pr99142.c: New test. + +2021-02-18 Jakub Jelinek + + PR middle-end/99109 + * g++.dg/warn/Warray-bounds-17.C: New test. + +2021-02-18 Jakub Jelinek + + PR target/99104 + * gcc.dg/pr99104.c: New test. + 2021-02-17 David Malcolm PR analyzer/94596 diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 96ff3cae608..c59b0a6a1f1 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,15 @@ +2021-02-18 Nathan Sidwell + + PR c++/99023 + * include/cpplib.h (cpp_find_header_unit): Rename to ... + (cpp_probe_header_unit): ... this. + * internal.h (_cp_find_header_unit): Declare. + * files.c (cpp_find_header_unit): Break apart to .. + (test_header_unit): ... this, and ... + (_cpp_find_header_unit): ... and, or and ... + (cpp_probe_header_unit): ... this. + * macro.c (cpp_get_token_1): Call _cpp_find_header_unit. + 2021-02-16 Nathan Sidwell * files.c (_cpp_stack_file): Make buffers end in unread \n. -- 2.30.2