diff options
-rw-r--r-- | contrib/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/ChangeLog | 228 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/c-family/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 25 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 101 | ||||
-rw-r--r-- | libgcc/ChangeLog | 6 | ||||
-rw-r--r-- | libgfortran/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | lto-plugin/ChangeLog | 6 |
11 files changed, 406 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 73ee9d5..1e05f0e 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,12 @@ +2021-09-13 Andrew Pinski <apinski@marvell.com> + + * config-list.mk: Remove m32r-linux and m32rle-linux + from the list. + +2021-09-13 Jan-Benedict Glaw <jbglaw@lug-owl.de> + + * config-list.mk (LIST): --enable-obsolete for cr16-elf. + 2021-09-06 Serge Belyshev <belyshev@depni.sinp.msu.ru> * gcc_update: Derive human readable name for HEAD using git describe diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c470c8..2c5a27b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,231 @@ +2021-09-13 Thomas Schwinge <thomas@codesourcery.com> + + PR bootstrap/101574 + * diagnostic-spec.c (warning_suppressed_at, copy_warning): Handle + 'RESERVED_LOCATION_P' locations. + * warning-control.cc (get_nowarn_spec, suppress_warning) + (copy_warning): Likewise. + +2021-09-13 Thomas Schwinge <thomas@codesourcery.com> + + * diagnostic-spec.h (typedef xint_hash_t): Use 'location_t' instead of... + (typedef key_type_t): ... this. Remove. + (nowarn_map): Document. + * diagnostic-spec.c (nowarn_map): Likewise. + * warning-control.cc (convert_to_key): Evolve functions into... + (get_location): ... these. Adjust all users. + +2021-09-13 Thomas Schwinge <thomas@codesourcery.com> + + * warning-control.cc (copy_warning): Remove 'nowarn_map' setup. + +2021-09-13 Jason Merrill <jason@redhat.com> + + * params.opt: Add destructive-interference-size and + constructive-interference-size. + * doc/invoke.texi: Document them. + * config/aarch64/aarch64.c (aarch64_override_options_internal): + Set them. + * config/arm/arm.c (arm_option_override): Set them. + * config/i386/i386-options.c (ix86_option_override_internal): + Set them. + +2021-09-13 Martin Liska <mliska@suse.cz> + H.J. Lu <hjl.tools@gmail.com> + + PR target/101696 + * common/config/i386/cpuinfo.h (cpu_indicator_init): Add support + for x86-64 micro levels for __builtin_cpu_supports. + * common/config/i386/i386-cpuinfo.h (enum feature_priority): + Add priorities for the micro-arch levels. + (enum processor_features): Add new features. + * common/config/i386/i386-isas.h: Add micro-arch features. + * config/i386/i386-builtins.c (get_builtin_code_for_version): + Support the micro-arch levels by callsing + __builtin_cpu_supports. + * doc/extend.texi: Document that the levels are support by + __builtin_cpu_supports. + +2021-09-13 Andrew Pinski <apinski@marvell.com> + + PR target/95969 + * config/aarch64/aarch64-builtins.c (aarch64_fold_builtin_lane_check): + New function. + (aarch64_general_fold_builtin): Handle AARCH64_SIMD_BUILTIN_LANE_CHECK. + (aarch64_general_gimple_fold_builtin): Likewise. + +2021-09-13 Andrew Pinski <apinski@marvell.com> + + * config.gcc: Add m32r-*-linux* and m32rle-*-linux* + to the Unsupported targets list. + Remove support for m32r-*-linux* and m32rle-*-linux*. + * config/m32r/linux.h: Removed. + * config/m32r/t-linux: Removed. + +2021-09-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com> + + PR target/102252 + * config/aarch64/aarch64.c (aarch64_classify_address): Don't allow + register index for SVE predicate modes. + +2021-09-13 Aldy Hernandez <aldyh@redhat.com> + + * tree-ssa-threadbackward.c + (back_threader_profitability::profitable_path_p): Remove FSM + references. + (back_threader_registry::register_path): Same. + * tree-ssa-threadedge.c + (jump_threader::simplify_control_stmt_condition): Same. + * tree-ssa-threadupdate.c (jt_path_registry::jt_path_registry): + Add backedge_threads argument. + (fwd_jt_path_registry::fwd_jt_path_registry): Pass + backedge_threads argument. + (back_jt_path_registry::back_jt_path_registry): Same. + (dump_jump_thread_path): Adjust for FSM removal. + (back_jt_path_registry::rewire_first_differing_edge): Same. + (back_jt_path_registry::adjust_paths_after_duplication): Same. + (back_jt_path_registry::update_cfg): Same. + (jt_path_registry::register_jump_thread): Same. + * tree-ssa-threadupdate.h (enum jump_thread_edge_type): Remove + EDGE_FSM_THREAD. + (class back_jt_path_registry): Add backedge_threads to + constructor. + +2021-09-13 Martin Liska <mliska@suse.cz> + + PR c++/101331 + * asan.h (sanitize_coverage_p): Handle when fn == NULL. + +2021-09-13 H.J. Lu <hjl.tools@gmail.com> + + PR target/101935 + * config/i386/i386.h (TARGET_AVX256_MOVE_BY_PIECES): New. + (TARGET_AVX256_STORE_BY_PIECES): Likewise. + (MOVE_MAX): Check TARGET_AVX256_MOVE_BY_PIECES and + TARGET_AVX256_STORE_BY_PIECES instead of + TARGET_AVX256_SPLIT_UNALIGNED_LOAD and + TARGET_AVX256_SPLIT_UNALIGNED_STORE. + (STORE_MAX_PIECES): Check TARGET_AVX256_STORE_BY_PIECES instead + of TARGET_AVX256_SPLIT_UNALIGNED_STORE. + * config/i386/x86-tune.def (X86_TUNE_AVX256_MOVE_BY_PIECES): New. + (X86_TUNE_AVX256_STORE_BY_PIECES): Likewise. + +2021-09-13 liuhongt <hongtao.liu@intel.com> + + PR bootstrap/102302 + * expmed.c (extract_bit_field_using_extv): Use + gen_lowpart_if_possible instead of gen_lowpart to avoid ICE. + +2021-09-13 Aldy Hernandez <aldyh@redhat.com> + + * Makefile.in (OBJS): Add value-pointer-equiv.o. + * gimple-ssa-evrp.c (class ssa_equiv_stack): Move to + value-pointer-equiv.*. + (ssa_equiv_stack::ssa_equiv_stack): Same. + (ssa_equiv_stack::enter): Same. + (ssa_equiv_stack::leave): Same. + (ssa_equiv_stack::push_replacement): Same. + (ssa_equiv_stack::get_replacement): Same. + (is_pointer_ssa): Same. + (class pointer_equiv_analyzer): Same. + (pointer_equiv_analyzer::pointer_equiv_analyzer): Same. + (pointer_equiv_analyzer::~pointer_equiv_analyzer): Same. + (pointer_equiv_analyzer::set_global_equiv): Same. + (pointer_equiv_analyzer::set_cond_equiv): Same. + (pointer_equiv_analyzer::get_equiv): Same. + (pointer_equiv_analyzer::enter): Same. + (pointer_equiv_analyzer::leave): Same. + (pointer_equiv_analyzer::get_equiv_expr): Same. + (pta_valueize): Same. + (pointer_equiv_analyzer::visit_stmt): Same. + (pointer_equiv_analyzer::visit_edge): Same. + (hybrid_folder::value_of_expr): Same. + (hybrid_folder::value_on_edge): Same. + * value-pointer-equiv.cc: New file. + * value-pointer-equiv.h: New file. + +2021-09-13 Richard Earnshaw <rearnsha@arm.com> + + PR target/102125 + * gimple-fold.c (gimple_fold_builtin_memory_op): Allow folding + memcpy if the size is not more than MOVE_MAX * MOVE_RATIO. + +2021-09-13 Richard Earnshaw <rearnsha@arm.com> + + PR target/102125 + * config/arm/arm.md (movmisaligndi): New define_expand. + * config/arm/vec-common.md (movmisalign<mode>): Iterate over VDQ mode. + +2021-09-13 Richard Earnshaw <rearnsha@arm.com> + + PR target/102125 + * emit-rtl.c (gen_highpart): Use adjust_address to handle + MEM rather than calling simplify_gen_subreg. + +2021-09-13 Jan-Benedict Glaw <jbglaw@ług-owl.de> + + * config/alpha/vms.h (INIT_CUMULATIVE_ARGS): Wrap multi-statment + define into a block. + +2021-09-13 Richard Biener <rguenther@suse.de> + + * config/darwin.h (DARWIN_PREFER_DWARF): Do not define. + * config/i386/darwin.h (PREFERRED_DEBUGGING_TYPE): Do not + change based on DARWIN_PREFER_DWARF not being defined. + +2021-09-13 Richard Biener <rguenther@suse.de> + + * config/i386/lynx.h: Remove undef of PREFERRED_DEBUGGING_TYPE + to inherit from elfos.h + +2021-09-13 Richard Biener <rguenther@suse.de> + + * config.gcc: Add cr16-*-* to the list of obsoleted targets. + +2021-09-13 Richard Biener <rguenther@suse.de> + + * config/avr/elf.h (PREFERRED_DEBUGGING_TYPE): Remove + override, pick up DWARF2_DEBUG define from elfos.h + +2021-09-13 Richard Biener <rguenther@suse.de> + + * config/rx/rx.h (PREFERRED_DEBUGGING_TYPE): Always define to + DWARF2_DEBUG. + +2021-09-13 Richard Biener <rguenther@suse.de> + + * config/alpha/vms.h (PREFERRED_DEBUGGING_TYPE): Define to + DWARF2_DEBUG. + +2021-09-13 Richard Biener <rguenther@suse.de> + + * config/i386/cygming.h: Always default to DWARF2 debugging. + Do not define DBX_DEBUGGING_INFO, that's done via dbxcoff.h + already. + * doc/install.texi: Document binutils 2.16 as minimum + requirement for mingw. + +2021-09-13 Kewen Lin <linkw@linux.ibm.com> + + * config/rs6000/rs6000.c (struct rs6000_cost_data): New members + nstmts, nloads and extra_ctor_cost. + (rs6000_density_test): Add load density related heuristics. Do + extra costing on vector construction statements if need. + (rs6000_init_cost): Init new members. + (rs6000_update_target_cost_per_stmt): New function. + (rs6000_add_stmt_cost): Factor vect_nonmem hunk out to function + rs6000_update_target_cost_per_stmt and call it. + +2021-09-13 Kewen Lin <linkw@linux.ibm.com> + + * config/rs6000/rs6000.c (struct rs6000_cost_data): Remove typedef. + (rs6000_init_cost): Adjust. + +2021-09-13 liuhongt <hongtao.liu@intel.com> + + * config/i386/i386.md: (UNSPEC_COPYSIGN): Remove. + (UNSPEC_XORSIGN): Ditto. + 2021-09-12 Roger Sayle <roger@nextmovesoftware.com> * expr.c (convert_move): Preserve SUBREG_PROMOTED_VAR_P when diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 14ef576..d0d6604 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210913 +20210914 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 684d7d0..d4be236 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2021-09-13 Jason Merrill <jason@redhat.com> + + * c.opt: Add -Winterference-size. + * c-cppbuiltin.c (cpp_atomic_builtins): Add __GCC_DESTRUCTIVE_SIZE + and __GCC_CONSTRUCTIVE_SIZE. + 2021-09-10 Jakub Jelinek <jakub@redhat.com> * c-common.h (c_finish_omp_atomic): Add r and weak arguments. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8d1ec5d..50f3562 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,28 @@ +2021-09-13 Jason Merrill <jason@redhat.com> + + * constexpr.c (maybe_warn_about_constant_value): + Complain about std::hardware_destructive_interference_size. + (cxx_eval_constant_expression): Call it. + * decl.c (cxx_init_decl_processing): Check + --param *-interference-size values. + +2021-09-13 Patrick Palka <ppalka@redhat.com> + + PR c++/101764 + * cp-tree.h (PACK_EXPANSION_FORCE_EXTRA_ARGS_P): New accessor + macro. + * pt.c (has_extra_args_mechanism_p): New function. + (find_parameter_pack_data::found_extra_args_tree_p): New data + member. + (find_parameter_packs_r): Set ppd->found_extra_args_tree_p + appropriately. + (make_pack_expansion): Set PACK_EXPANSION_FORCE_EXTRA_ARGS_P if + ppd.found_extra_args_tree_p. + (use_pack_expansion_extra_args_p): Return true if there were + unsubstituted packs and PACK_EXPANSION_FORCE_EXTRA_ARGS_P. + (tsubst_pack_expansion): Pass the pack expansion to + use_pack_expansion_extra_args_p. + 2021-09-10 Jakub Jelinek <jakub@redhat.com> * parser.c (cp_parser_omp_atomic): Allow acq_rel on atomic read/write diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 991f3cf..c36d1b6 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,16 @@ +2021-09-13 Harald Anlauf <anlauf@gmx.de> + + PR fortran/82314 + * decl.c (add_init_expr_to_sym): For proper initialization of + array-valued named constants the array bounds need to be + simplified before adding the initializer. + +2021-09-13 Harald Anlauf <anlauf@gmx.de> + + PR fortran/85130 + * expr.c (find_substring_ref): Handle given substring start and + end indices as signed integers, not unsigned. + 2021-09-09 Harald Anlauf <anlauf@gmx.de> PR fortran/98490 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 137382c..22409ad 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,104 @@ +2021-09-13 Harald Anlauf <anlauf@gmx.de> + + PR fortran/82314 + * gfortran.dg/pr82314.f90: New test. + +2021-09-13 Harald Anlauf <anlauf@gmx.de> + + PR fortran/85130 + * gfortran.dg/substr_6.f90: Revert commit r8-7574, adding again + test that was erroneously considered as illegal. + +2021-09-13 Jason Merrill <jason@redhat.com> + + * g++.dg/warn/Winterference.H: New file. + * g++.dg/warn/Winterference.C: New test. + * g++.target/aarch64/interference.C: New test. + * g++.target/arm/interference.C: New test. + * g++.target/i386/interference.C: New test. + * g++.dg/warn/Winterference-2.C: New file. + +2021-09-13 Martin Liska <mliska@suse.cz> + H.J. Lu <hjl.tools@gmail.com> + + PR target/101696 + * g++.target/i386/mv30.C: New test. + * gcc.target/i386/mvc16.c: New test. + * gcc.target/i386/builtin_target.c (CHECK___builtin_cpu_supports): + New. + +2021-09-13 Andrew Pinski <apinski@marvell.com> + + PR target/95969 + * gcc.target/aarch64/lane-bound-1.c: New test. + * gcc.target/aarch64/lane-bound-2.c: New test. + +2021-09-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com> + + PR target/102252 + * g++.target/aarch64/sve/pr102252.C: New test. + +2021-09-13 Aldy Hernandez <aldyh@redhat.com> + + * gcc.dg/tree-ssa/pr21417.c: Adjust for FSM removal. + * gcc.dg/tree-ssa/pr66752-3.c: Same. + * gcc.dg/tree-ssa/pr68198.c: Same. + * gcc.dg/tree-ssa/pr69196-1.c: Same. + * gcc.dg/tree-ssa/pr70232.c: Same. + * gcc.dg/tree-ssa/pr77445.c: Same. + * gcc.dg/tree-ssa/ranger-threader-4.c: Same. + * gcc.dg/tree-ssa/ssa-dom-thread-18.c: Same. + * gcc.dg/tree-ssa/ssa-dom-thread-6.c: Same. + * gcc.dg/tree-ssa/ssa-thread-12.c: Same. + * gcc.dg/tree-ssa/ssa-thread-13.c: Same. + +2021-09-13 Patrick Palka <ppalka@redhat.com> + + PR c++/101764 + * g++.dg/cpp1z/constexpr-if35.C: New test. + +2021-09-13 Martin Liska <mliska@suse.cz> + + PR c++/101331 + * g++.dg/pr101331.C: New test. + +2021-09-13 Aldy Hernandez <aldyh@redhat.com> + + * gcc.dg/tree-ssa/ssa-dom-thread-7.c: Adjust for aarch64. + +2021-09-13 H.J. Lu <hjl.tools@gmail.com> + + PR target/101935 + * g++.target/i386/pr80566-1.C: Add + -mtune-ctrl=avx256_store_by_pieces. + * gcc.target/i386/pr100865-4a.c: Likewise. + * gcc.target/i386/pr100865-10a.c: Likewise. + * gcc.target/i386/pr90773-20.c: Likewise. + * gcc.target/i386/pr90773-21.c: Likewise. + * gcc.target/i386/pr90773-22.c: Likewise. + * gcc.target/i386/pr90773-23.c: Likewise. + * g++.target/i386/pr80566-2.C: Add + -mtune-ctrl=avx256_move_by_pieces. + * gcc.target/i386/eh_return-1.c: Likewise. + * gcc.target/i386/pr90773-26.c: Likewise. + * gcc.target/i386/pieces-memcpy-12.c: Replace -mtune=haswell + with -mtune-ctrl=avx256_move_by_pieces. + * gcc.target/i386/pieces-memcpy-15.c: Likewise. + * gcc.target/i386/pieces-memset-2.c: Replace -mtune=haswell + with -mtune-ctrl=avx256_store_by_pieces. + * gcc.target/i386/pieces-memset-5.c: Likewise. + * gcc.target/i386/pieces-memset-11.c: Likewise. + * gcc.target/i386/pieces-memset-14.c: Likewise. + * gcc.target/i386/pieces-memset-20.c: Likewise. + * gcc.target/i386/pieces-memset-23.c: Likewise. + * gcc.target/i386/pieces-memset-29.c: Likewise. + * gcc.target/i386/pieces-memset-30.c: Likewise. + * gcc.target/i386/pieces-memset-33.c: Likewise. + * gcc.target/i386/pieces-memset-34.c: Likewise. + * gcc.target/i386/pieces-memset-44.c: Likewise. + * gcc.target/i386/pieces-memset-37.c: Replace -mtune=generic + with -mtune-ctrl=avx256_store_by_pieces. + 2021-09-12 Iain Buclaw <ibuclaw@gdcproject.org> PR d/102185 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 04d17ac..abd38fe 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2021-09-13 Andrew Pinski <apinski@marvell.com> + + * config.host: Remove m32r-*-linux* and m32rle-*-linux*. + * config/m32r/libgcc-glibc.ver: Removed. + * config/m32r/t-linux: Removed. + 2021-09-08 liuhongt <hongtao.liu@intel.com> * config/i386/t-softfp: Compile __{mul,div}hc3 into diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 89ef63d..739ccbc 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2021-09-13 Andreas Schwab <schwab@linux-m68k.org> + + * ISO_Fortran_binding.h (CFI_type_long_double) + (CFI_type_long_double_Complex) [LDBL_MANT_DIG == 64 && + LDBL_MIN_EXP == -16382 && LDBL_MAX_EXP == 16384]: Define. + 2021-09-07 Tobias Burnus <tobias@codesourcery.com> * Makefile.am (gfor_built_src): Depend on diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f2edd40..84c7e83 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2021-09-13 Jason Merrill <jason@redhat.com> + + * include/std/version: Define __cpp_lib_hardware_interference_size. + * libsupc++/new: Define hardware interference size variables. + 2021-09-10 Jonathan Wakely <jwakely@redhat.com> * testsuite/experimental/net/internet/resolver/ops/lookup.cc: diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index cf88276..0a849d2 100644 --- a/lto-plugin/ChangeLog +++ b/lto-plugin/ChangeLog @@ -1,3 +1,9 @@ +2021-09-13 Andrew Pinski <apinski@marvell.com> + + PR lto/49664 + * Makefile.am: Export only onload. + * Makefile.in: Regenerate. + 2021-06-25 Richard Biener <rguenther@suse.de> * lto-plugin.c (ltrans_objects): New global. |