diff --git a/ChangeLog b/ChangeLog index 40aa7590517..420e9d78f2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2021-10-28 Richard Purdie + + * Makefile.tpl: Add CPP_FOR_BUILD and CPPFLAGS_FOR_BUILD support + * Makefile.in: Regenerate. + * configure: Regenerate. + * configure.ac: Add CPP_FOR_BUILD and CPPFLAGS_FOR_BUILD support + 2021-10-26 Jeff Law * MAINTAINERS: Fix up Maciej's entries. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c68f4cd4d64..7feb03c27fe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,156 @@ +2021-10-28 Aldy Hernandez + Andrew MacLeod + + * value-relation.cc (path_oracle::killing_def): Walk the + equivalency list and remove SSA from any equivalencies. + +2021-10-28 Stafford Horne + + * config/or1k/or1k.h (PROFILE_HOOK): Add return address argument + to _mcount. + +2021-10-28 Jakub Jelinek + + PR tree-optimization/102951 + * fold-const.h (address_compare): Declare. + * fold-const.c (address_compare): New function. + * match.pd (cmp (convert1?@2 addr@0) (convert2? addr@1)): Use + address_compare helper. + (minmax cmp (convert1?@2 addr@0) (convert2?@3 addr@1)): New + simplification. + +2021-10-28 Andrew MacLeod + + * vr-values.c (simplify_using_ranges::fold_cond): Change fold message. + +2021-10-28 Andrew MacLeod + + PR tree-optimization/102940 + * tree-vrp.c (execute_ranger_vrp): Reset scev. + +2021-10-28 Richard Purdie + + * config/nios2/linux.h (MUSL_DYNAMIC_LINKER): Add musl linker + +2021-10-28 Richard Purdie + + * configure: Regenerate. + * configure.ac: Use CPPFLAGS_FOR_BUILD for GMPINC + +2021-10-28 Eric Botcazou + + * doc/invoke.texi (%X): Remove obsolete reference to -Wl. + +2021-10-28 Richard Biener + + PR middle-end/84407 + * fold-const.c (fold_convert_const): Avoid int to float + constant folding with -frounding-math and inexact result. + * simplify-rtx.c (simplify_const_unary_operation): Likewise + for both float and unsigned_float. + +2021-10-28 Aldy Hernandez + + * tree-ssa-threadbackward.c + (back_threader::find_taken_edge_switch): Use find_case_label_range + instead of find_taken_edge. + +2021-10-28 Aldy Hernandez + + * tree-ssa-threadbackward.c (class back_threader_registry): + Inherit from back_jt_path_registry. + (back_threader_registry::thread_through_all_blocks): Remove. + (back_threader_registry::register_path): Remove + m_lowlevel_registry prefix. + +2021-10-28 Richard Biener + + PR middle-end/57245 + * fold-const.c (fold_convert_const_real_from_real): Honor + -frounding-math if the conversion is not exact. + * simplify-rtx.c (simplify_const_unary_operation): Do not + simplify FLOAT_TRUNCATE with sign dependent rounding. + +2021-10-28 Richard Biener + + PR tree-optimization/102949 + * tree-vect-stmts.c (ensure_base_align): Look at the + dr_info of a group leader and assert we are looking at + one with analyzed alignment. + +2021-10-28 Kewen Lin + + PR target/102767 + * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Consider + V1T1 mode for unaligned load and store. + +2021-10-28 Kito Cheng + + * config/riscv/riscv.md (zero_extendsidi2_internal): Allow ZBB + use this pattern. + +2021-10-28 Kito Cheng + + * config/riscv/arch-canonicalize (CANONICAL_ORDER): Add `i` to + CANONICAL_ORDER. + +2021-10-28 Alexandre Oliva + + * common.opt (fharden-compares): New. + (fharden-conditional-branches): New. + * doc/invoke.texi: Document new options. + * gimple-harden-conditionals.cc: New. + * Makefile.in (OBJS): Build it. + * passes.def: Add new passes. + * tree-pass.h (make_pass_harden_compares): Declare. + (make_pass_harden_conditional_branches): Declare. + +2021-10-28 Xionghu Luo + + PR target/94613 + * config/rs6000/altivec.md: Add vsx register constraints. + * config/rs6000/vsx.md (vsx_xxsel): Delete. + (vsx_xxsel2): Likewise. + (vsx_xxsel3): Likewise. + (vsx_xxsel4): Likewise. + +2021-10-28 Xionghu Luo + + PR target/94613 + * config/rs6000/altivec.md (*altivec_vsel): Change to ... + (altivec_vsel): ... this and update define. + (*altivec_vsel_uns): Delete. + (altivec_vsel2): New define_insn. + (altivec_vsel3): Likewise. + (altivec_vsel4): Likewise. + * config/rs6000/rs6000-call.c (altivec_expand_vec_sel_builtin): New. + (altivec_expand_builtin): Call altivec_expand_vec_sel_builtin to expand + vel_sel. + * config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Use bit-wise + selection instead of per element. + * config/rs6000/vector.md: + * config/rs6000/vsx.md (*vsx_xxsel): Change to ... + (vsx_xxsel): ... this and update define. + (*vsx_xxsel_uns): Delete. + (vsx_xxsel2): New define_insn. + (vsx_xxsel3): Likewise. + (vsx_xxsel4): Likewise. + +2021-10-28 Hongyu Wang + + * config/i386/i386.c (use_rsqrt_p): Add mode parameter, enable + HFmode rsqrt without TARGET_SSE_MATH. + (ix86_optab_supported_p): Refactor rint, adjust floor, ceil, + btrunc condition to be restricted by -ftrapping-math, adjust + use_rsqrt_p function call. + * config/i386/i386.md (rcphf2): New define_insn. + (rsqrthf2): Likewise. + * config/i386/sse.md (div3): Change VF2H to VF2. + (div3): New expander for HF mode. + (rsqrt2): Likewise. + (*avx512fp16_vmrcpv8hf2): New define_insn for rpad pass. + (*avx512fp16_vmrsqrtv8hf2): Likewise. + 2021-10-27 Saagar Jha * config.gcc: Adjust for Darwin21. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 0549f272057..2b0e14155ab 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20211028 +20211029 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index ab7c0f587bb..a298881b779 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2021-10-28 Alexandre Oliva + + * doc/gnat_rm/security_hardening_features.rst + (Hardened Conditionals): New. + 2021-10-25 Arnaud Charlet * gcc-interface/Make-lang.in, gcc-interface/Makefile.in: Remove diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9bb19f22406..db9d1c14699 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,27 @@ +2021-10-28 Patrick Palka + + PR c++/102933 + * parser.c (cp_parser_simple_type_specifier): Adjust diagnostic + for using auto in parameter declaration. + * pt.c (extract_autos_r): Ignore CTAD placeholders. + (extract_autos): Use range-based for. + (do_auto_deduction): Use extract_autos only for the concepts TS + and not also for standard concepts. + (type_uses_auto): Likewise with for_each_template_parm. + (check_auto_in_tmpl_args): Just return false outside of the + concepts TS. Simplify. + +2021-10-28 Patrick Palka + + PR c++/102780 + * constexpr.c (potential_constant_expression_1) : + When tf_error isn't set, preemptively check potentiality of the + second operand before performing trial evaluation of the first + operand. + (potential_constant_expression_1): When tf_error is set, first check + potentiality quietly and return true if successful, otherwise + proceed noisily to give errors. + 2021-10-27 Jakub Jelinek PR c++/102854 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b69666d2fa0..9e3462bf94e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,70 @@ +2021-10-28 Jakub Jelinek + + PR tree-optimization/102951 + * gcc.dg/tree-ssa/pr102951.c: New test. + * gcc.dg/Wstringop-overflow-62.c: Adjust expected diagnostics. + +2021-10-28 Andrew MacLeod + + * gcc.dg/ifcvt-4.c: Adjust. + +2021-10-28 Andrew MacLeod + + * gcc.dg/tree-ssa/evrp9.c: Adjust message scanned for. + * gcc.dg/tree-ssa/pr21458-2.c: Ditto. + +2021-10-28 Patrick Palka + + PR c++/102933 + * g++.dg/cpp2a/nontype-class50.C: New test. + * g++.dg/cpp2a/nontype-class50a.C: New test. + +2021-10-28 Patrick Palka + + PR c++/102780 + * g++.dg/cpp1z/fold13.C: New test. + +2021-10-28 Richard Biener + + PR middle-end/84407 + * gcc.dg/torture/fp-uint64-convert-double-1.c: New testcase. + * gcc.dg/torture/fp-uint64-convert-double-2.c: Likewise. + +2021-10-28 Aldy Hernandez + + * gcc.dg/tree-ssa/vrp106.c: Adjust for threading. + * gcc.dg/tree-ssa/vrp113.c: Same. + +2021-10-28 Richard Biener + + PR middle-end/57245 + * gcc.dg/torture/fp-double-convert-float-1.c: New testcase. + +2021-10-28 Kewen Lin + + PR target/102767 + * gcc.target/powerpc/ppc-fortran/pr102767.f90: New file. + +2021-10-28 Alexandre Oliva + + * c-c++-common/torture/harden-comp.c: New. + * c-c++-common/torture/harden-cond.c: New. + +2021-10-28 Xionghu Luo + + * gcc.target/powerpc/builtins-1.c: Adjust. + +2021-10-28 Xionghu Luo + + PR target/94613 + * gcc.target/powerpc/pr94613.c: New test. + +2021-10-28 Hongyu Wang + + * gcc.target/i386/avx512fp16-recip-1.c: New test. + * gcc.target/i386/avx512fp16-recip-2.c: Ditto. + * gcc.target/i386/pr102464.c: Add -fno-trapping-math. + 2021-10-27 Martin Sebor * gcc.dg/Warray-bounds-90.c: Fix a typo.