diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 50af7ab23b9..69f16135bb3 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2020-06-24 Ilya Leoshkevich + + * download_prerequisites: Support AIX and OpenBSD unames. + Pipe `{gzip,bzip2} -d` to `tar -xf -`. + 2020-06-18 Martin Liska * gcc-changelog/git_update_version.py: First checkout and then diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2c5649338d..57659843e77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,179 @@ +2020-06-24 Will Schmidt + + PR target/94954 + * config/rs6000/altivec.h (vec_pack_to_short_fp32): Update. + * config/rs6000/altivec.md (UNSPEC_CONVERT_4F32_8F16): New unspec. + (convert_4f32_8f16): New define_expand + * config/rs6000/rs6000-builtin.def (convert_4f32_8f16): New builtin define + and overload. + * config/rs6000/rs6000-call.c (P9V_BUILTIN_VEC_CONVERT_4F32_8F16): New + overloaded builtin entry. + * config/rs6000/vsx.md (UNSPEC_VSX_XVCVSPHP): New unspec. + (vsx_xvcvsphp): New define_insn. + +2020-06-24 Roger Sayle + Segher Boessenkool + + * simplify-rtx.c (simplify_unary_operation_1): Simplify rotates by 0. + +2020-06-24 Roger Sayle + + * simplify-rtx.c (simplify_unary_operation_1): Simplify + (parity (parity x)) as (parity x), i.e. PARITY is idempotent. + +2020-06-24 Richard Biener + + PR tree-optimization/95866 + * tree-vect-slp.c (vect_slp_tree_uniform_p): New. + (vect_build_slp_tree_2): Properly reset matches[0], + ignore uniform constants. + +2020-06-24 H.J. Lu + + PR target/95660 + * common/config/i386/cpuinfo.h (get_intel_cpu): Remove brand_id. + (cpu_indicator_init): Likewise. + * config/i386/driver-i386.c (host_detect_local_cpu): Updated. + +2020-06-24 H.J. Lu + + PR target/95774 + * common/config/i386/cpuinfo.h (get_intel_cpu): Add Cooper Lake + detection with AVX512BF16. + +2020-06-24 H.J. Lu + + PR target/95843 + * common/config/i386/i386-isas.h: New file. Extracted from + gcc/config/i386/i386-builtins.c. + (_isa_names_table): Add option. + (ISA_NAMES_TABLE_START): New. + (ISA_NAMES_TABLE_END): Likewise. + (ISA_NAMES_TABLE_ENTRY): Likewise. + (isa_names_table): Defined with ISA_NAMES_TABLE_START, + ISA_NAMES_TABLE_END and ISA_NAMES_TABLE_ENTRY. Add more ISAs + from enum processor_features. + * config/i386/driver-i386.c: Include + "common/config/i386/cpuinfo.h" and + "common/config/i386/i386-isas.h". + (has_feature): New macro. + (host_detect_local_cpu): Call cpu_indicator_init to get CPU + features. Use has_feature to detect processor features. Call + Call get_intel_cpu to get the newer Intel CPU name. Use + isa_names_table to generate command-line options. + * config/i386/i386-builtins.c: Include + "common/config/i386/i386-isas.h". + (_arch_names_table): Removed. + (isa_names_table): Likewise. + +2020-06-24 H.J. Lu + + PR target/95259 + * common/config/i386/cpuinfo.h: New file. + (__processor_model): Moved from libgcc/config/i386/cpuinfo.h. + (__processor_model2): New. + (CHECK___builtin_cpu_is): New. Defined as empty if not defined. + (has_cpu_feature): New function. + (set_cpu_feature): Likewise. + (get_amd_cpu): Moved from libgcc/config/i386/cpuinfo.c. Use + CHECK___builtin_cpu_is. Return AMD CPU name. + (get_intel_cpu): Moved from libgcc/config/i386/cpuinfo.c. Use + Use CHECK___builtin_cpu_is. Return Intel CPU name. + (get_available_features): Moved from libgcc/config/i386/cpuinfo.c. + Also check FEATURE_3DNOW, FEATURE_3DNOWP, FEATURE_ADX, + FEATURE_ABM, FEATURE_CLDEMOTE, FEATURE_CLFLUSHOPT, FEATURE_CLWB, + FEATURE_CLZERO, FEATURE_CMPXCHG16B, FEATURE_CMPXCHG8B, + FEATURE_ENQCMD, FEATURE_F16C, FEATURE_FSGSBASE, FEATURE_FXSAVE, + FEATURE_HLE, FEATURE_IBT, FEATURE_LAHF_LM, FEATURE_LM, + FEATURE_LWP, FEATURE_LZCNT, FEATURE_MOVBE, FEATURE_MOVDIR64B, + FEATURE_MOVDIRI, FEATURE_MWAITX, FEATURE_OSXSAVE, + FEATURE_PCONFIG, FEATURE_PKU, FEATURE_PREFETCHWT1, FEATURE_PRFCHW, + FEATURE_PTWRITE, FEATURE_RDPID, FEATURE_RDRND, FEATURE_RDSEED, + FEATURE_RTM, FEATURE_SERIALIZE, FEATURE_SGX, FEATURE_SHA, + FEATURE_SHSTK, FEATURE_TBM, FEATURE_TSXLDTRK, FEATURE_VAES, + FEATURE_WAITPKG, FEATURE_WBNOINVD, FEATURE_XSAVE, FEATURE_XSAVEC, + FEATURE_XSAVEOPT and FEATURE_XSAVES + (cpu_indicator_init): Moved from libgcc/config/i386/cpuinfo.c. + Also update cpu_model2. + * common/config/i386/i386-cpuinfo.h (processor_vendor): Add + Add VENDOR_CENTAUR, VENDOR_CYRIX and VENDOR_NSC. + (processor_features): Moved from gcc/config/i386/i386-builtins.c. + Renamed F_XXX to FEATURE_XXX. Add FEATURE_3DNOW, FEATURE_3DNOWP, + FEATURE_ADX, FEATURE_ABM, FEATURE_CLDEMOTE, FEATURE_CLFLUSHOPT, + FEATURE_CLWB, FEATURE_CLZERO, FEATURE_CMPXCHG16B, + FEATURE_CMPXCHG8B, FEATURE_ENQCMD, FEATURE_F16C, + FEATURE_FSGSBASE, FEATURE_FXSAVE, FEATURE_HLE, FEATURE_IBT, + FEATURE_LAHF_LM, FEATURE_LM, FEATURE_LWP, FEATURE_LZCNT, + FEATURE_MOVBE, FEATURE_MOVDIR64B, FEATURE_MOVDIRI, + FEATURE_MWAITX, FEATURE_OSXSAVE, FEATURE_PCONFIG, + FEATURE_PKU, FEATURE_PREFETCHWT1, FEATURE_PRFCHW, + FEATURE_PTWRITE, FEATURE_RDPID, FEATURE_RDRND, FEATURE_RDSEED, + FEATURE_RTM, FEATURE_SERIALIZE, FEATURE_SGX, FEATURE_SHA, + FEATURE_SHSTK, FEATURE_TBM, FEATURE_TSXLDTRK, FEATURE_VAES, + FEATURE_WAITPKG, FEATURE_WBNOINVD, FEATURE_XSAVE, FEATURE_XSAVEC, + FEATURE_XSAVEOPT, FEATURE_XSAVES and CPU_FEATURE_MAX. + (SIZE_OF_CPU_FEATURES): New. + * config/i386/i386-builtins.c (processor_features): Removed. + (isa_names_table): Replace F_XXX with FEATURE_XXX. + (fold_builtin_cpu): Change __cpu_features2 to an array. + +2020-06-24 H.J. Lu + + PR target/95842 + * common/config/i386/i386-common.c (processor_alias_table): Add + processor model and priority to each entry. + (pta_size): Updated with -6. + (num_arch_names): New. + * common/config/i386/i386-cpuinfo.h: New file. + * config/i386/i386-builtins.c (feature_priority): Removed. + (processor_model): Likewise. + (_arch_names_table): Likewise. + (arch_names_table): Likewise. + (_isa_names_table): Replace P_ZERO with P_NONE. + (get_builtin_code_for_version): Replace P_ZERO with P_NONE. Use + processor_alias_table. + (fold_builtin_cpu): Replace arch_names_table with + processor_alias_table. + * config/i386/i386.h: Include "common/config/i386/i386-cpuinfo.h". + (pta): Add model and priority. + (num_arch_names): New. + +2020-06-24 Richard Biener + + * tree-vectorizer.h (vect_find_first_scalar_stmt_in_slp): + Declare. + * tree-vect-data-refs.c (vect_preserves_scalar_order_p): + Simplify for new position of vectorized SLP loads. + (vect_slp_analyze_node_dependences): Adjust for it. + (vect_slp_analyze_and_verify_node_alignment): Compute alignment + for the first stmts dataref. + * tree-vect-slp.c (vect_find_first_scalar_stmt_in_slp): New. + (vect_schedule_slp_instance): Emit loads before the + first scalar stmt. + * tree-vect-stmts.c (vectorizable_load): Do what the comment + says and use vect_find_first_scalar_stmt_in_slp. + +2020-06-24 Richard Biener + + PR tree-optimization/95856 + * tree-vectorizer.c (vect_stmt_dominates_stmt_p): Honor + region marker -1u. + +2020-06-24 Jakub Jelinek + + PR middle-end/95810 + * fold-const.c (fold_cond_expr_with_comparison): Optimize + A <= 0 ? A : -A into (type)-absu(A) rather than -abs(A). + +2020-06-24 Jakub Jelinek + + * omp-low.c (lower_omp_for): Fix two pastos. + +2020-06-24 Martin Liska + + * optc-save-gen.awk: Compare string options in cl_optimization_compare + by strcmp. + 2020-06-23 Aaron Sawdey * config.gcc: Identify power10 as a 64-bit processor and as valid diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 1e6790229fe..ab7687c5b0d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200624 +20200625 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2e8275e7ebb..adf54ef5b24 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,27 @@ +2020-06-24 Nicholas Krause + + PR c++/95672 + * typeck2.c (cxx_incomplete_type_diagnostic): Add missing + TYPE_EXPANSION_PACK check for diagnosing incomplete types in + cxx_incomplete_type_diagnostic. + +2020-06-24 Iain Sandoe + + PR c++/95518 + PR c++/95813 + * coroutines.cc (act_des_fn): Copy function + attributes onto the outlined coroutine helpers. + +2020-06-24 Jason Merrill + + * call.c (build_over_call): Only call build_base_path once. + +2020-06-24 Jason Merrill + + PR c++/95719 + * call.c (build_over_call): Look up the overrider in base_binfo. + * class.c (lookup_vfn_in_binfo): Look through BINFO_PRIMARY_P. + 2020-06-23 Jason Merrill PR c++/93976 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index f8f918c67d5..bca863171fb 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2020-06-24 Harald Anlauf + + PR fortran/95827 + * iresolve.c (gfc_get_string): Enlarge internal buffer used in + generating the mangled name. + 2020-06-23 Thomas Koenig PR fortran/95812 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 21925d631f9..1bf13251754 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,90 @@ +2020-06-24 Will Schmidt + + PR target/94954 + * gcc.target/powerpc/builtins-1-p9-runnable.c: Update. + +2020-06-24 Alexandre Oliva + + PR testsuite/95416 + PR testsuite/95577 + * gcc.misc-tests/outputs.exp (gsplit_dwarf): Move -g into it. + (outest): Introduce conditionals and string/variable/expr + expansion. Drop special-casing of $aout and .dwo. + (gspd): New conditional. Guard all .dwo files with it. + (ltop): New conditional. Guard files created by the LTO + plugin with it. Guard files created by fat LTO compilation + with its negation. Add a few -fno-use-linker-plugin tests + guarded by it. + +2020-06-24 Nicholas Krause + + PR c++/95672 + * g++.dg/template/pr95672.C: New test. + +2020-06-24 Iain Sandoe + + PR c++/95518 + PR c++/95813 + * g++.dg/coroutines/pr95518.C: New test. + * g++.dg/coroutines/pr95813.C: New test. + +2020-06-24 Iain Sandoe + + * g++.dg/coroutines/void-gro-non-class-coro.C: Moved to... + * g++.dg/coroutines/coro-bad-gro-01-void-gro-non-class-coro.C: ...here. + * g++.dg/coroutines/coro-bad-gro-00-class-gro-scalar-return.C: New test. + +2020-06-24 Jason Merrill + + PR c++/95719 + * g++.dg/tree-ssa/final4.C: New test. + +2020-06-24 Harald Anlauf + + PR fortran/95827 + * gfortran.dg/pr95827.f90: New file. + +2020-06-24 Richard Biener + + PR tree-optimization/95866 + * gcc.target/i386/pr95866-1.c: New testcase. + +2020-06-24 H.J. Lu + + PR target/95660 + * gcc.target/i386/builtin_target.c (check_detailed): Updated. + +2020-06-24 H.J. Lu + + PR target/95843 + * gcc.target/i386/builtin_target.c: Include , + ../../../common/config/i386/i386-cpuinfo.h and + ../../../common/config/i386/cpuinfo.h. + (check_amd_cpu_model): Removed. + (check_intel_cpu_model): Likewise, + (CHECK___builtin_cpu_is): New. + (gcc_assert): New. Defined as assert. + (gcc_unreachable): New. Defined as abort. + (inline): New. Defined as empty. + (ISA_NAMES_TABLE_START): Likewise. + (ISA_NAMES_TABLE_END): Likewise. + (ISA_NAMES_TABLE_ENTRY): New. + (check_features): Include + "../../../common/config/i386/i386-isas.h". + (check_detailed): Call cpu_indicator_init. Always call + check_features. Call get_amd_cpu instead of check_amd_cpu_model. + Call get_intel_cpu instead of check_intel_cpu_model. + +2020-06-24 Richard Biener + + PR tree-optimization/95856 + * gcc.dg/vect/pr95856.c: New testcase. + +2020-06-24 Jakub Jelinek + + PR middle-end/95810 + * gcc.dg/ubsan/pr95810.c: New test. + 2020-06-23 Jason Merrill * g++.dg/cpp2a/class-deduction-aggr3.C: New test. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index fab5078cad7..9678abd8787 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,16 @@ +2020-06-24 H.J. Lu + + PR target/95259 + * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include + "common/config/i386/i386-cpuinfo.h" and + "common/config/i386/cpuinfo.h". + (__cpu_features2): Changed to array. + (get_amd_cpu): Removed. + (get_intel_cpu): Likewise. + (get_available_features): Likewise. + (__cpu_indicator_init): Call cpu_indicator_init. + * config/i386/cpuinfo.h: Removed. + 2020-06-23 David Edelsohn * Makefile.in: Remove uses of empty.mk. Use -include. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index ca0a2b58216..c72b2d508be 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,23 @@ +2020-06-24 Jonathan Wakely + + * include/std/charconv (__from_chars_binary): Ignore leading zeros. + * testsuite/20_util/from_chars/1.cc: Check "0x1" for all bases, + not just 10 and 16. + * testsuite/20_util/from_chars/3.cc: New test. + +2020-06-24 Jonathan Wakely + + * include/bits/stl_algobase.h (__find_if): Add FALLTHRU markers. + * include/std/charconv (__detail::__to_chars): Avoid + -Wsign-compare warning. + +2020-06-24 Jonathan Wakely + + PR libstdc++/95851 + * include/std/charconv (__to_chars_i): Check for zero-sized + buffer unconditionally. + * testsuite/20_util/to_chars/95851.cc: New test. + 2020-06-23 Jonathan Wakely * testsuite/20_util/from_chars/1_c++20_neg.cc: Check enumeration