https://gcc.gnu.org/g:4a0b5f2747df0c0862169f254265e4675de9462b commit 4a0b5f2747df0c0862169f254265e4675de9462b Author: GCC Administrator Date: Wed May 27 07:45:56 2020 +0000 Daily bump. Diff: --- contrib/ChangeLog | 42 ++++++++++++++ gcc/ChangeLog | 151 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 20 +++++++ gcc/cp/ChangeLog | 8 +++ gcc/fortran/ChangeLog | 11 ++++ gcc/jit/ChangeLog | 52 +++++++++++++++++ gcc/testsuite/ChangeLog | 68 ++++++++++++++++++++++ libgfortran/ChangeLog | 12 ++++ libsanitizer/ChangeLog | 6 ++ libstdc++-v3/ChangeLog | 10 ++++ lto-plugin/ChangeLog | 8 +++ 12 files changed, 389 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 8d3e2929d6a..122f395fb40 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,45 @@ +2020-05-26 Pierre-Marie de Rodat + + * gcc-changelog/git_commit.py (ChangeLogEntry): Handle entries + with multi-line file lists. + * gcc-changelog/test_email.py: New testcase. + * gcc-changelog/test_patches.txt: Likewise. + +2020-05-26 Pierre-Marie de Rodat + + * gcc-changelog/git_update_version.py: Close file objects after + use. + * gcc-changelog/git_email.py: Likewise. + * gcc-changelog/test_email.py: Likewise. + +2020-05-26 Martin Liska + + * gcc-changelog/git_update_version.py: Add 2 new options. + +2020-05-26 Alexandre Oliva + + * gcc-changelog/git_commit.py (changelog_regex): Accept optional + 'for' prefix. + +2020-05-26 Alexandre Oliva + + * compare-debug: Adjust for .gkd files named as dump files, + with the source suffix rather than the object suffix. + +2020-05-26 Martin Liska + + * gcc-changelog/git_commit.py: Parse changelog entries for + ignored locations. + * gcc-changelog/test_email.py: Add new test for it. + * gcc-changelog/test_patches.txt: Likewise. + +2020-05-26 Jason Merrill + + * prepare-commit-msg: New file. + * gcc-git-customization.sh: Install it. Add commit-mklog alias. + * mklog.py: Add new option -c which appends + to a ChangeLog file. + 2020-05-25 Martin Liska * gcc-changelog/git_commit.py: Add trailing '/' diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a96dedc8838..dcea8ea9264 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,154 @@ +2020-05-27 Jeff Law + + * config/h8300/testcompare.md (tst_extzv_1_n): Do not accept constants + for the primary input operand. + (tstsi_variable_bit_qi): Similarly. + +2020-05-26 Uroš Bizjak + + * config/i386/mmx.md (mmx_pswapdv2si2): Add SSE2 alternative. + +2020-05-26 Tobias Burnus + + PR ipa/95320 + * ipa-utils.h (odr_type_p): Also permit calls with + only flag_generate_offload set. + +2020-05-26 Alexandre Oliva + + * gcc.c (validate_switches): Add braced parameter. Adjust all + callers. Expected and skip trailing brace only if braced. + Return after handling one atom otherwise. + (DUMPS_OPTIONS): New. + (cpp_debug_options): Define in terms of it. + +2020-05-26 Richard Biener + + PR tree-optimization/95327 + * tree-vect-stmts.c (vectorizable_shift): Compute op1_vectype + when we are not using a scalar shift. + +2020-05-26 Uroš Bizjak + + * config/i386/mmx.md (*mmx_pshufd_1): New insn pattern. + * config/i386/i386-expand.c (ix86_vectorize_vec_perm_const): + Handle E_V2SImode and E_V4HImode. + (expand_vec_perm_even_odd_1): Handle E_V4HImode. + Assert that E_V2SImode is already handled. + (expand_vec_perm_broadcast_1): Assert that E_V2SImode + is already handled by standard shuffle patterns. + +2020-05-26 Jan Hubicka + + * tree.c (free_lang_data_in_type): Simpify types of TYPE_VALUES in + enumeral types. + +2020-05-26 Jakub Jelinek + + PR c++/95197 + * gimplify.c (find_combined_omp_for): Move to omp-general.c. + * omp-general.h (find_combined_omp_for): Declare. + * omp-general.c: Include tree-iterator.h. + (find_combined_omp_for): New function, moved from gimplify.c. + +2020-05-26 Alexandre Oliva + + * common.opt (aux_base_name): Define. + (dumpbase, dumpdir): Mark as Driver options. + (-dumpbase, -dumpdir): Likewise. + (dumpbase-ext, -dumpbase-ext): New. + (auxbase, auxbase-strip): Drop. + * doc/invoke.texi (-dumpbase, -dumpbase-ext, -dumpdir): + Document. + (-o): Introduce the notion of primary output, mention it + influences auxiliary and dump output names as well, add + examples. + (-save-temps): Adjust, move examples into -dump*. + (-save-temps=cwd, -save-temps=obj): Likewise. + (-fdump-final-insns): Adjust. + * dwarf2out.c (gen_producer_string): Drop auxbase and + auxbase_strip; add dumpbase_ext. + * gcc.c (enum save_temps): Add SAVE_TEMPS_DUMP. + (save_temps_prefix, save_temps_length): Drop. + (save_temps_overrides_dumpdir): New. + (dumpdir, dumpbase, dumpbase_ext): New. + (dumpdir_length, dumpdir_trailing_dash_added): New. + (outbase, outbase_length): New. + (The Specs Language): Introduce %". Adjust %b and %B. + (ASM_FINAL_SPEC): Use %b.dwo for an aux output name always. + Precede object file with %w when it's the primary output. + (cpp_debug_options): Do not pass on incoming -dumpdir, + -dumpbase and -dumpbase-ext options; recompute them with + %:dumps. + (cc1_options): Drop auxbase with and without compare-debug; + use cpp_debug_options instead of dumpbase. Mark asm output + with %w when it's the primary output. + (static_spec_functions): Drop %:compare-debug-auxbase-opt and + %:replace-exception. Add %:dumps. + (driver_handle_option): Implement -save-temps=*/-dumpdir + mutual overriding logic. Save dumpdir, dumpbase and + dumpbase-ext options. Do not save output_file in + save_temps_prefix. + (adds_single_suffix_p): New. + (single_input_file_index): New. + (process_command): Combine output dir, output base name, and + dumpbase into dumpdir and outbase. + (set_collect_gcc_options): Pass a possibly-adjusted -dumpdir. + (do_spec_1): Optionally dumpdir instead of save_temps_prefix, + and outbase instead of input_basename in %b, %B and in + -save-temps aux files. Handle empty argument %". + (driver::maybe_run_linker): Adjust dumpdir and auxbase. + (compare_debug_dump_opt_spec_function): Adjust gkd dump file + naming. Spec-quote the computed -fdump-final-insns file name. + (debug_auxbase_opt): Drop. + (compare_debug_self_opt_spec_function): Drop auxbase-strip + computation. + (compare_debug_auxbase_opt_spec_function): Drop. + (not_actual_file_p): New. + (replace_extension_spec_func): Drop. + (dumps_spec_func): New. + (convert_white_space): Split-out parts into... + (quote_string, whitespace_to_convert_p): ... these. New. + (quote_spec_char_p, quote_spec, quote_spec_arg): New. + (driver::finalize): Release and reset new variables; drop + removed ones. + * lto-wrapper.c (HAVE_TARGET_EXECUTABLE_SUFFIX): Define if... + (TARGET_EXECUTABLE_SUFFIX): ... is defined; define this to the + empty string otherwise. + (DUMPBASE_SUFFIX): Drop leading period. + (debug_objcopy): Use concat. + (run_gcc): Recognize -save-temps=* as -save-temps too. Obey + -dumpdir. Pass on empty dumpdir and dumpbase with a directory + component. Simplify temp file names. + * opts.c (finish_options): Drop aux base name handling. + (common_handle_option): Drop auxbase-strip handling. + * toplev.c (print_switch_values): Drop auxbase, add + dumpbase-ext. + (process_options): Derive aux_base_name from dump_base_name + and dump_base_ext. + (lang_dependent_init): Compute dump_base_ext along with + dump_base_name. Disable stack usage and callgraph-info during + lto generation and compare-debug recompilation. + +2020-05-26 Hongtao Liu + Uroš Bizjak + + PR target/95211 + PR target/95256 + * config/i386/sse.md (v2div2sf2): New expander. + (fix_truncv2sfv2di2): Ditto. + (avx512dq_floatv2div2sf2): Renaming from + floatv2div2sf2. + (avx512dq_fix_truncv2sfv2di2): + Renaming from fix_truncv2sfv2di2. + (vec_pack_float_): Adjust icode name. + (vec_unpack_fix_trunc_lo_): Ditto. + (vec_unpack_fix_trunc_hi_): Ditto. + * config/i386/i386-builtin.def: Ditto. + * emit-rtl.c (validate_subreg): Allow use of *paradoxical* vector + subregs when both omode and imode are vector mode and + have the same inner mode. + 2020-05-25 Eric Botcazou * gimple-ssa-store-merging.c (merged_store_group::can_be_merged_into): diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 997e5b57791..b7b667a34d1 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200526 +20200527 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 4e1b34d2aec..baac0be7757 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,23 @@ +2020-05-26 Eric Botcazou + + PR ada/95333 + * gcc-interface/decl.c (gnat_to_gnu_param): Never make a variant of + the type. + +2020-05-26 Alexandre Oliva + + * gcc-interface/lang-specs.h (ADA_DUMPS_OPTIONS): Define in + terms of DUMPS_OPTIONS. Replace occurrences of %{d*} %:dumps + with it. + +2020-05-26 Alexandre Oliva + + * gcc-interface/lang-specs.h: Drop auxbase and auxbase-strip. + Use %:dumps instead of -dumpbase. Add %w for implicit .s + primary output. + * switch.adb (Is_Internal_GCC_Switch): Recognize dumpdir and + dumpbase-ext. Drop auxbase and auxbase-strip. + 2020-05-25 Yannick Moy * sem_util.adb (Check_No_Hidden_State): Stop propagation at diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2feeb12bcb0..7e263f72c8d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,11 @@ +2020-05-26 Jakub Jelinek + + PR c++/95197 + * cp-gimplify.c: Include omp-general.h. + (cp_genericize_r) : For class iteration + variables in composite distribute parallel for, instantiate copy + ctor of their types. + 2020-05-23 Patrick Palka PR c++/94038 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 7ddc2b81945..48284ed74e4 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,14 @@ +2020-05-26 Harald Anlauf + + PR fortran/95089 + * trans-types.c (gfc_get_derived_type): Enlarge temporary to hold + mangled name "_caf_symbol". + +2020-05-26 Alexandre Oliva + + * options.c (gfc_get_option_string): Drop auxbase, add + dumpbase_ext. + 2020-05-24 Harald Anlauf PR fortran/95106 diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog index d69a6a84c2c..7be7fb0a974 100644 --- a/gcc/jit/ChangeLog +++ b/gcc/jit/ChangeLog @@ -1,3 +1,55 @@ +2020-05-26 David Malcolm + + PR jit/95306 + * docs/topics/functions.rst + (gcc_jit_context_get_builtin_function): Document. + * docs/_build/texinfo/libgccjit.texi: Regenerate. + * dummy-frontend.c (jit_langhook_global_bindings_p): Remove + gcc_unreachable. + * jit-builtins.c (type_names): New array. + (get_string_for_type_id): New function. + (gcc::jit::builtins_manager::make_primitive_type): Show name of + type in error messages. Update cases to reflect the order in + builtin-types.def. Implement cases for BT_INT8, BT_INT16, + BT_UINT8, BT_CONST_PTR, BT_VOLATILE_PTR, BT_INT_PTR, BT_FLOAT_PTR, + BT_CONST_DOUBLE_PTR, BT_SIZE, BT_CONST_SIZE. + +2020-05-26 David Malcolm + + * docs/topics/compatibility.rst: Fix underline. + Fix missing labels. + * docs/topics/types.rst: Fix missing blank line. + * docs/_build/texinfo/libgccjit.texi: Regenerate. + +2020-05-26 David Malcolm + + PR jit/95296 + * docs/topics/expressions.rst (Unary Operations): Document that + result_type of gcc_jit_context_new_unary_op must be a numeric type. + (Binary Operations): Likewise for gcc_jit_context_new_binary_op. + (Global variables): Document that "type" of + gcc_jit_context_new_global must be non-`void`. + * docs/topics/function-pointers.rst + (gcc_jit_context_new_function_ptr_type): Document that the + param_types must be non-void, but that return_type may be. + * docs/topics/functions.rst (Params): Document that + gcc_jit_context_new_param's type must be non-void. + (Functions): Likewise for gcc_jit_function_new_local. + * docs/topics/types.rst (gcc_jit_context_new_array_type): Document + that the type must be non-void. + (gcc_jit_context_new_field): Likewise. + * docs/_build/texinfo/Makefile: Regenerate. + * docs/_build/texinfo/libgccjit.texi: Regenerate. + * libgccjit.c (gcc_jit_context_new_array_type): Fail if + element_type is void. + (gcc_jit_context_new_field): Likewise for "type". + (gcc_jit_context_new_function_ptr_type): Likewise for each + element of param_types. + (gcc_jit_context_new_param): Likewise for "type". + (gcc_jit_context_new_global): Likewise. + (gcc_jit_function_new_local): Likewise. + (gcc_jit_type_get_aligned): Likewise. + 2020-03-31 Andrea Corallo David Malcolm diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index aec3a219953..97d673fcd6d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,71 @@ +2020-05-26 David Malcolm + + PR jit/95306 + * jit.dg/all-non-failing-tests.h: Add test-builtin-memcpy.c and + test-pr95306-builtin-types.c. + * jit.dg/test-builtin-memcpy.c: New test. + * jit.dg/test-error-gcc_jit_context_get_builtin_function-unimplemented-type.c: + New test. + * jit.dg/test-pr95306-builtin-types.c: New test. + +2020-05-26 Harald Anlauf + Steven G. Kargl + + PR libfortran/95104 + * gfortran.dg/pr95104.f90: New test. + +2020-05-26 Harald Anlauf + + PR fortran/95195 + * gfortran.dg/namelist_97.f90: New test. + +2020-05-26 Harald Anlauf + + PR fortran/95089 + * gfortran.dg/pr95089.f90: New test. + +2020-05-26 David Malcolm + + PR jit/95296 + * jit.dg/test-error-gcc_jit_context_new_global-void-type.c: New + test. + * jit.dg/test-error-gcc_jit_function_new_local-void-type.c: New + test. + * jit.dg/test-fuzzer.c (fuzzer_init): Allow for make_random_type + to return NULL. + (get_random_type): Allow for elements in f->types to be NULL. + +2020-05-26 Uroš Bizjak + + * gcc.target/i386/vperm-v2si.c: New test. + * gcc.target/i386/vperm-v4hi.c: Ditto. + +2020-05-26 Iain Sandoe + + * g++.dg/coroutines/torture/co-ret-17-void-ret-coro.C: Check for + promise destruction via a global variable. + +2020-05-26 Alexandre Oliva + + * gcc.misc-tests/outputs.exp: New. + * gcc.misc-tests/outputs-0.c: New. + * gcc.misc-tests/outputs-1.c: New. + * gcc.misc-tests/outputs-2.c: New. + * lib/gcc-defs.exp (gcc_adjusted_linker_flags): New. + (gcc_adjust_linker_flags): New. + (dg-additional-files-options): Call it. Pass -dumpbase "" + when there are additional sources. + * lib/profopt.exp (profopt-execute): Pass the executable + suffix with -dumpbase-ext. + * lib/scandump.exp (dump-base): Mention -dumpbase "" use. + * lib/scanltranstree.exp: Adjust dump suffix expectation. + * lib/scanwpaipa.exp: Likewise. + +2020-05-26 Hongtao Liu + Uroš Bizjak + + * gcc.target/i386/pr95211.c: New test. + 2020-05-25 Eric Botcazou * gnat.dg/opt84.adb: New test. diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index ddb1af1721f..83f079c75dc 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,15 @@ +2020-05-26 Harald Anlauf + Steven G. Kargl + + PR libfortran/95104 + * io/transfer.c (st_wait_async): Do not dereference NULL pointer. + +2020-05-26 Harald Anlauf + + PR fortran/95195 + * io/transfer.c (finalize_transfer): Generate runtime error for + namelist input/output to unformatted file. + 2020-05-23 Thomas Koenig PR libfortran/95191 diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 001483b6ca6..d5d0a9bf9ad 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,9 @@ +2020-05-26 Martin Liska + + * LOCAL_PATCHES: Use git hash instead of SVN id. + * merge.sh: Use git instead of VCS. Update paths + relative to upstream git repository. + 2020-05-15 H.J. Lu PR bootstrap/95147 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index d899c69940d..ec13cf35c34 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,13 @@ +2020-05-26 Patrick Palka + + PR libstdc++/95322 + * include/bits/stl_iterator.h (__detail::_Common_iter_proxy): + Remove and instead define it ... + (common_iterator::_Proxy): ... here. + (common_iterator::operator->): Use it. + * testsuite/24_iterators/common_iterator/2.cc: New test. + * testsuite/std/ranges/adaptors/95322.cc: New test. + 2020-05-23 Patrick Palka PR libstdc++/93978 diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index 7be98a1a12e..21d3df630e0 100644 --- a/lto-plugin/ChangeLog +++ b/lto-plugin/ChangeLog @@ -1,3 +1,11 @@ +2020-05-26 Alexandre Oliva + + * lto-plugin.c (skip_in_suffix): New. + (exec_lto_wrapper): Use skip_in_suffix and concat to build + non-temporary output names. + (onload): Look for -dumpdir in COLLECT_GCC_OPTIONS, and + override link_output_name with it. + 2020-05-12 H.J. Lu PR bootstrap/94998