diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 016f92c4d53..87eab28cb03 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,171 @@ +2020-09-14 Sergei Trofimovich + + * doc/invoke.texi: fix '-fprofile-reproducibility' option + spelling in manual. + +2020-09-14 Jose E. Marchesi + + * config/bpf/bpf.md ("nop"): Re-define as `ja 0'. + +2020-09-14 Eric Botcazou + + * cgraphunit.c (cgraph_node::expand_thunk): Make sure to set + cfun->tail_call_marked when forcing a tail call. + * function.c (assign_parm_setup_reg): Always use a register to + load a parameter passed by reference if cfun->tail_call_marked. + +2020-09-14 Pat Haugen + + * config/rs6000/power10.md (power10-mffgpr, power10-mftgpr): Rename to + power10-mtvsr/power10-mfvsr. + * config/rs6000/power6.md (X2F_power6, power6-mftgpr, power6-mffgpr): + Remove. + * config/rs6000/power8.md (power8-mffgpr, power8-mftgpr): Rename to + power8-mtvsr/power8-mfvsr. + * config/rs6000/power9.md (power9-mffgpr, power9-mftgpr): Rename to + power9-mtvsr/power9-mfvsr. + * config/rs6000/rs6000.c (rs6000_adjust_cost): Remove Power6 + TYPE_MFFGPR cases. + * config/rs6000/rs6000.md (mffgpr, mftgpr, zero_extendsi2, + extendsi2, @signbit2_dm, lfiwax, lfiwzx, *movsi_internal1, + movsi_from_sf, *movdi_from_sf_zero_ext, *mov_internal, + movsd_hardfloat, movsf_from_si, *mov_hardfloat64, p8_mtvsrwz, + p8_mtvsrd_df, p8_mtvsrd_sf, p8_mfvsrd_3_, *movdi_internal64, + unpack_dm): Rename mffgpr/mftgpr to mtvsr/mfvsr. + * config/rs6000/vsx.md (vsx_mov_64bit, vsx_extract_, + vsx_extract_si, *vsx_extract__p8): Likewise. + +2020-09-14 Jakub Jelinek + + * config/arm/arm.opt (x_arm_arch_string, x_arm_cpu_string, + x_arm_tune_string): Remove TargetSave entries. + (march=, mcpu=, mtune=): Add Save keyword. + * config/arm/arm.c (arm_option_save): Remove. + (TARGET_OPTION_SAVE): Don't redefine. + (arm_option_restore): Don't restore x_arm_*_string here. + +2020-09-14 Jakub Jelinek + + * opt-read.awk: Also initialize extra_target_var_types array. + * opth-gen.awk: Emit explicit_mask arrays to struct cl_optimization + and cl_target_option. Adjust cl_optimization_save, + cl_optimization_restore, cl_target_option_save and + cl_target_option_restore declarations. + * optc-save-gen.awk: Add opts_set argument to cl_optimization_save, + cl_optimization_restore, cl_target_option_save and + cl_target_option_restore functions and save or restore opts_set + next to the opts values into or from explicit_mask arrays. + In cl_target_option_eq and cl_optimization_option_eq compare + explicit_mask arrays, in cl_target_option_hash and cl_optimization_hash + hash them and in cl_target_option_stream_out, + cl_target_option_stream_in, cl_optimization_stream_out and + cl_optimization_stream_in stream them. + * tree.h (build_optimization_node, build_target_option_node): Add + opts_set argument. + * tree.c (build_optimization_node): Add opts_set argument, pass it + to cl_optimization_save. + (build_target_option_node): Add opts_set argument, pass it to + cl_target_option_save. + * function.c (invoke_set_current_function_hook): Adjust + cl_optimization_restore caller. + * ipa-inline-transform.c (inline_call): Adjust cl_optimization_restore + and build_optimization_node callers. + * target.def (TARGET_OPTION_SAVE, TARGET_OPTION_RESTORE): Add opts_set + argument. + * target-globals.c (save_target_globals_default_opts): Adjust + cl_optimization_restore callers. + * toplev.c (process_options): Adjust build_optimization_node and + cl_optimization_restore callers. + (target_reinit): Adjust cl_optimization_restore caller. + * tree-streamer-in.c (lto_input_ts_function_decl_tree_pointers): + Adjust build_optimization_node and cl_optimization_restore callers. + * doc/tm.texi: Updated. + * config/aarch64/aarch64.c (aarch64_override_options): Adjust + build_target_option_node caller. + (aarch64_option_save, aarch64_option_restore): Add opts_set argument. + (aarch64_set_current_function): Adjust cl_target_option_restore + caller. + (aarch64_option_valid_attribute_p): Adjust cl_target_option_save, + cl_target_option_restore, cl_optimization_restore, + build_optimization_node and build_target_option_node callers. + * config/aarch64/aarch64-c.c (aarch64_pragma_target_parse): Adjust + cl_target_option_restore and build_target_option_node callers. + * config/arm/arm.c (arm_option_save, arm_option_restore): Add + opts_set argument. + (arm_option_override): Adjust cl_target_option_save, + build_optimization_node and build_target_option_node callers. + (arm_set_current_function): Adjust cl_target_option_restore caller. + (arm_valid_target_attribute_tree): Adjust build_target_option_node + caller. + (add_attribute): Formatting fix. + (arm_valid_target_attribute_p): Adjust cl_optimization_restore, + cl_target_option_restore, arm_valid_target_attribute_tree and + build_optimization_node callers. + * config/arm/arm-c.c (arm_pragma_target_parse): Adjust + cl_target_option_restore callers. + * config/csky/csky.c (csky_option_override): Adjust + build_target_option_node and cl_target_option_save callers. + * config/gcn/gcn.c (gcn_fixup_accel_lto_options): Adjust + build_optimization_node and cl_optimization_restore callers. + * config/i386/i386-builtins.c (get_builtin_code_for_version): + Adjust cl_target_option_save and cl_target_option_restore + callers. + * config/i386/i386-c.c (ix86_pragma_target_parse): Adjust + build_target_option_node and cl_target_option_restore callers. + * config/i386/i386-options.c (ix86_function_specific_save, + ix86_function_specific_restore): Add opts_set arguments. + (ix86_valid_target_attribute_tree): Adjust build_target_option_node + caller. + (ix86_valid_target_attribute_p): Adjust build_optimization_node, + cl_optimization_restore, cl_target_option_restore, + ix86_valid_target_attribute_tree and build_optimization_node callers. + (ix86_option_override_internal): Adjust build_target_option_node + caller. + (ix86_reset_previous_fndecl, ix86_set_current_function): Adjust + cl_target_option_restore callers. + * config/i386/i386-options.h (ix86_function_specific_save, + ix86_function_specific_restore): Add opts_set argument. + * config/nios2/nios2.c (nios2_option_override): Adjust + build_target_option_node caller. + (nios2_option_save, nios2_option_restore): Add opts_set argument. + (nios2_valid_target_attribute_tree): Adjust build_target_option_node + caller. + (nios2_valid_target_attribute_p): Adjust build_optimization_node, + cl_optimization_restore, cl_target_option_save and + cl_target_option_restore callers. + (nios2_set_current_function, nios2_pragma_target_parse): Adjust + cl_target_option_restore callers. + * config/pru/pru.c (pru_option_override): Adjust + build_target_option_node caller. + (pru_set_current_function): Adjust cl_target_option_restore + callers. + * config/rs6000/rs6000.c (rs6000_debug_reg_global): Adjust + cl_target_option_save caller. + (rs6000_option_override_internal): Adjust build_target_option_node + caller. + (rs6000_valid_attribute_p): Adjust build_optimization_node, + cl_optimization_restore, cl_target_option_save, + cl_target_option_restore and build_target_option_node callers. + (rs6000_pragma_target_parse): Adjust cl_target_option_restore and + build_target_option_node callers. + (rs6000_activate_target_options): Adjust cl_target_option_restore + callers. + (rs6000_function_specific_save, rs6000_function_specific_restore): + Add opts_set argument. + * config/s390/s390.c (s390_function_specific_restore): Likewise. + (s390_option_override_internal): Adjust s390_function_specific_restore + caller. + (s390_option_override, s390_valid_target_attribute_tree): Adjust + build_target_option_node caller. + (s390_valid_target_attribute_p): Adjust build_optimization_node, + cl_optimization_restore and cl_target_option_restore callers. + (s390_activate_target_options): Adjust cl_target_option_restore + caller. + * config/s390/s390-c.c (s390_cpu_cpp_builtins): Adjust + cl_target_option_save caller. + (s390_pragma_target_parse): Adjust build_target_option_node and + cl_target_option_restore callers. + 2020-09-13 Roger Sayle * config/pa/pa.c (hppa_rtx_costs) [ASHIFT, ASHIFTRT, LSHIFTRT]: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 112e93fe6b5..792c97ce32d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200914 +20200915 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index e54c6aaaaf8..280b834ed9e 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2020-09-14 Jakub Jelinek + + * gcc-interface/trans.c (gigi): Adjust build_optimization_node + caller. + 2020-09-12 Eric Botcazou * fe.h: Fix pilot error in previous change. diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index 90ecac8b753..d0f84017ea8 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,25 @@ +2020-09-14 David Malcolm + + * analyzer.opt (-param=analyzer-max-constraints=): New param. + * constraint-manager.cc + (constraint_manager::add_constraint_internal): Silently reject + attempts to add constraints when the above limit is reached. + +2020-09-14 David Malcolm + + PR analyzer/96653 + * constraint-manager.cc + (constraint_manager::get_or_add_equiv_class): Don't accumulate + transitive closure of all constraints on constants. + +2020-09-14 David Malcolm + + PR analyzer/97029 + * analyzer.cc (is_setjmp_call_p): Require the initial arg to be a + pointer. + * region-model.cc (region_model::deref_rvalue): Assert that the + svalue is of pointer type. + 2020-09-11 David Malcolm PR analyzer/96798 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 8f185fe69d1..738083910d7 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,15 @@ +2020-09-14 Jakub Jelinek + + * c-attribs.c (handle_optimize_attribute): Adjust + cl_optimization_save, cl_optimization_restore and + build_optimization_node callers. + * c-pragma.c (handle_pragma_optimize): Adjust + build_optimization_node caller. + (handle_pragma_push_options): Adjust + build_optimization_node and build_target_option_node callers. + (handle_pragma_pop_options, handle_pragma_reset_options): + Adjust cl_optimization_restore callers. + 2020-08-28 Martin Sebor * c.opt (Wstringop-overread): New option. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index d11d92f1ce4..7bf1b25aa4c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,15 @@ +2020-09-14 Marek Polacek + + * pt.c (push_template_decl_real): Use VAR_OR_FUNCTION_DECL_P. + +2020-09-14 Nathan Sidwell + + * pt.c (push_template_decl_real): Don't attach a template head to + local externs. + (tsubst_function_decl): Add support for headless local extern + decls. + (tsubst_decl): Add support for headless local extern decls. + 2020-09-11 Nathan Sidwell * decl.c (grokfndecl): Don't attach to local extern. diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index bda9993a7cd..b25aa0cd423 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,9 @@ +2020-09-14 Jakub Jelinek + + * go-gcc.cc (Gcc_backend::function): Adjust + cl_optimization_save, cl_optimization_restore and + build_optimization_node callers. + 2020-08-10 Clément Chigot * go-c.h (struct go_create_gogo_args): Add need_eqtype field. diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index 5b321c8311a..48bd54d13dd 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,7 @@ +2020-09-14 Andrea Corallo + + * docs/_build/texinfo/libgccjit.texi: Regenerate. + 2020-09-11 Andrea Corallo * docs/topics/compatibility.rst (LIBGCCJIT_ABI_14): New ABI tag. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index da288afc212..ec179a321a9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,40 @@ +2020-09-14 Jose E. Marchesi + + * gcc.target/bpf/nop-1.c: New test. + +2020-09-14 Iain Sandoe + + * gcc.target/i386/avx512f-broadcast-pr87767-1.c: Make the test + run as non-dynamic for m32 Darwin. + * gcc.target/i386/avx512f-broadcast-pr87767-3.c: Likewise. + * gcc.target/i386/avx512f-broadcast-pr87767-5.c: Likewise. + * gcc.target/i386/avx512f-broadcast-pr87767-7.c: Likewise. + * gcc.target/i386/avx512vl-broadcast-pr87767-1.c: Likewise. + * gcc.target/i386/avx512vl-broadcast-pr87767-3.c: Likewise. + * gcc.target/i386/avx512vl-broadcast-pr87767-5.c: Likewise. + * gcc.target/i386/avx512f-broadcast-pr87767-6.c: Adjust dg-requires + clause. + +2020-09-14 David Malcolm + + PR analyzer/96653 + * gcc.dg/analyzer/pr96653.c: New test. + +2020-09-14 David Malcolm + + * gcc.dg/analyzer/rhbz1878600.c: New test. + +2020-09-14 David Malcolm + + * gcc.dg/analyzer/pr97029.c: New test. + +2020-09-14 Eric Botcazou + + * gnat.dg/thunk1.adb: New test. + * gnat.dg/thunk1_pkg1.ads: New helper. + * gnat.dg/thunk1_pkg2.ads: Likewise. + * gnat.dg/thunk1_pkg2.adb: Likewise. + 2020-09-12 Iain Buclaw PR d/97002 diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 8a13ef97f24..76ff7fd6389 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,96 @@ +2020-09-14 Ian Lance Taylor + + PR libbacktrace/93608 + Add support for MiniDebugInfo. + * elf.c (struct elf_view): Define. Replace most uses of + backtrace_view with elf_view. + (elf_get_view): New static functions. Replace most calls of + backtrace_get_view with elf_get_view. + (elf_release_view): New static functions. Replace most calls of + backtrace_release_view with elf_release_view. + (elf_uncompress_failed): Rename from elf_zlib_failed. Change all + callers. + (LZMA_STATES, LZMA_POS_STATES, LZMA_DIST_STATES): Define. + (LZMA_DIST_SLOTS, LZMA_DIST_MODEL_START): Define. + (LZMA_DIST_MODEL_END, LZMA_FULL_DISTANCES): Define. + (LZMA_ALIGN_SIZE, LZMA_LEN_LOW_SYMBOLS): Define. + (LZMA_LEN_MID_SYMBOLS, LZMA_LEN_HIGH_SYMBOLS): Define. + (LZMA_LITERAL_CODERS_MAX, LZMA_LITERAL_CODER_SIZE): Define. + (LZMA_PROB_IS_MATCH_LEN, LZMA_PROB_IS_REP_LEN): Define. + (LZMA_PROB_IS_REP0_LEN, LZMA_PROB_IS_REP1_LEN): Define. + (LZMA_PROB_IS_REP2_LEN, LZMA_PROB_IS_REP0_LONG_LEN): Define. + (LZMA_PROB_DIST_SLOT_LEN, LZMA_PROB_DIST_SPECIAL_LEN): Define. + (LZMA_PROB_DIST_ALIGN_LEN): Define. + (LZMA_PROB_MATCH_LEN_CHOICE_LEN): Define. + (LZMA_PROB_MATCH_LEN_CHOICE2_LEN): Define. + (LZMA_PROB_MATCH_LEN_LOW_LEN): Define. + (LZMA_PROB_MATCH_LEN_MID_LEN): Define. + (LZMA_PROB_MATCH_LEN_HIGH_LEN): Define. + (LZMA_PROB_REP_LEN_CHOICE_LEN): Define. + (LZMA_PROB_REP_LEN_CHOICE2_LEN): Define. + (LZMA_PROB_REP_LEN_LOW_LEN): Define. + (LZMA_PROB_REP_LEN_MID_LEN): Define. + (LZMA_PROB_REP_LEN_HIGH_LEN): Define. + (LZMA_PROB_LITERAL_LEN): Define. + (LZMA_PROB_IS_MATCH_OFFSET, LZMA_PROB_IS_REP_OFFSET): Define. + (LZMA_PROB_IS_REP0_OFFSET, LZMA_PROB_IS_REP1_OFFSET): Define. + (LZMA_PROB_IS_REP2_OFFSET): Define. + (LZMA_PROB_IS_REP0_LONG_OFFSET): Define. + (LZMA_PROB_DIST_SLOT_OFFSET): Define. + (LZMA_PROB_DIST_SPECIAL_OFFSET): Define. + (LZMA_PROB_DIST_ALIGN_OFFSET): Define. + (LZMA_PROB_MATCH_LEN_CHOICE_OFFSET): Define. + (LZMA_PROB_MATCH_LEN_CHOICE2_OFFSET): Define. + (LZMA_PROB_MATCH_LEN_LOW_OFFSET): Define. + (LZMA_PROB_MATCH_LEN_MID_OFFSET): Define. + (LZMA_PROB_MATCH_LEN_HIGH_OFFSET): Define. + (LZMA_PROB_REP_LEN_CHOICE_OFFSET): Define. + (LZMA_PROB_REP_LEN_CHOICE2_OFFSET): Define. + (LZMA_PROB_REP_LEN_LOW_OFFSET): Define. + (LZMA_PROB_REP_LEN_MID_OFFSET): Define. + (LZMA_PROB_REP_LEN_HIGH_OFFSET): Define. + (LZMA_PROB_LITERAL_OFFSET): Define. + (LZMA_PROB_TOTAL_COUNT): Define. + (LZMA_IS_MATCH, LZMA_IS_REP, LZMA_IS_REP0): Define. + (LZMA_IS_REP1, LZMA_IS_REP2, LZMA_IS_REP0_LONG): Define. + (LZMA_DIST_SLOT, LZMA_DIST_SPECIAL, LZMA_DIST_ALIGN): Define. + (LZMA_MATCH_LEN_CHOICE, LZMA_MATCH_LEN_CHOICE2): Define. + (LZMA_MATCH_LEN_LOW, LZMA_MATCH_LEN_MID): Define. + (LZMA_MATCH_LEN_HIGH, LZMA_REP_LEN_CHOICE): Define. + (LZMA_REP_LEN_CHOICE2, LZMA_REP_LEN_LOW): Define. + (LZMA_REP_LEN_MID, LZMA_REP_LEN_HIGH, LZMA_LITERAL): Define. + (elf_lzma_varint): New static function. + (elf_lzma_range_normalize): New static function. + (elf_lzma_bit, elf_lzma_integer): New static functions. + (elf_lzma_reverse_integer): New static function. + (elf_lzma_len, elf_uncompress_lzma_block): New static functions. + (elf_uncompress_lzma): New static function. + (backtrace_uncompress_lzma): New function. + (elf_add): Add memory and memory_size parameters. Change all + callers. Look for .gnu_debugdata section, and, if found, + decompress it and use it for symbols and debug info. Permit the + descriptor parameter to be -1. + * internal.h (backtrace_uncompress_lzma): Declare. + * mtest.c: New file. + * xztest.c: New file. + * configure.ac: Check for nm, xz, and comm programs. Check for + liblzma library. + (HAVE_MINIDEBUG): Define. + * Makefile.am (mtest_SOURCES): Define. + (mtest_CFLAGS, mtest_LDADD): Define. + (TESTS): Add mtest_minidebug if HAVE_MINIDEBUG. + (%_minidebug): New pattern rule, if HAVE_MINIDEBUG. + (xztest_SOURCES, xztest_CFLAGS, xztest_LDADD): Define. + (xztest_alloc_SOURCES, xztest_alloc_CFLAGS): Define + (xztest_alloc_LDADD): Define. + (BUILDTESTS): Add mtest, xztest, xztest_alloc. + (CLEANFILES): Add files created by minidebug pattern. + (btest.lo): Correct INCDIR reference. + (mtest.lo, xztest.lo, ztest.lo): New targets. + * configure: Regenerate. + * config.h.in: Regenerate. + * Makefile.in: Regenerate. + 2020-09-09 Ian Lance Taylor * pecoff.c (coff_initialize_syminfo): Add is_64 parameter. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index e74c2dd2f0a..bed76d0c855 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,10 @@ +2020-09-14 Tom de Vries + + * config/nvptx/atomic.c: New file. Add + __sync_val_compare_and_swap_16. + * testsuite/libgomp.c-c++-common/reduction-16.c: Add -latomic for + target offload_target_nvptx. + 2020-09-08 Julian Brown * testsuite/libgomp.oacc-c-c++-common/atomic_capture-2.c: Remove