aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/ChangeLog42
-rw-r--r--gcc/ChangeLog151
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/ada/ChangeLog20
-rw-r--r--gcc/cp/ChangeLog8
-rw-r--r--gcc/fortran/ChangeLog11
-rw-r--r--gcc/jit/ChangeLog52
-rw-r--r--gcc/testsuite/ChangeLog68
-rw-r--r--libgfortran/ChangeLog12
-rw-r--r--libsanitizer/ChangeLog6
-rw-r--r--libstdc++-v3/ChangeLog10
-rw-r--r--lto-plugin/ChangeLog8
12 files changed, 389 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 8d3e292..122f395 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,45 @@
+2020-05-26 Pierre-Marie de Rodat <derodat@adacore.com>
+
+ * 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 <derodat@adacore.com>
+
+ * 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 <mliska@suse.cz>
+
+ * gcc-changelog/git_update_version.py: Add 2 new options.
+
+2020-05-26 Alexandre Oliva <oliva@gnu.org>
+
+ * gcc-changelog/git_commit.py (changelog_regex): Accept optional
+ 'for' prefix.
+
+2020-05-26 Alexandre Oliva <oliva@adacore.com>
+
+ * compare-debug: Adjust for .gkd files named as dump files,
+ with the source suffix rather than the object suffix.
+
+2020-05-26 Martin Liska <mliska@suse.cz>
+
+ * 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 <jason@redhat.com>
+
+ * 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 <mliska@suse.cz>
* gcc-changelog/git_commit.py: Add trailing '/'
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a96dedc..dcea8ea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,154 @@
+2020-05-27 Jeff Law <law@redhat.com>
+
+ * 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 <ubizjak@gmail.com>
+
+ * config/i386/mmx.md (mmx_pswapdv2si2): Add SSE2 alternative.
+
+2020-05-26 Tobias Burnus <tobias@codesourcery.com>
+
+ PR ipa/95320
+ * ipa-utils.h (odr_type_p): Also permit calls with
+ only flag_generate_offload set.
+
+2020-05-26 Alexandre Oliva <oliva@adacore.com>
+
+ * 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 <rguenther@suse.de>
+
+ 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 <ubizjak@gmail.com>
+
+ * 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 <jh@suse.cz>
+
+ * tree.c (free_lang_data_in_type): Simpify types of TYPE_VALUES in
+ enumeral types.
+
+2020-05-26 Jakub Jelinek <jakub@redhat.com>
+
+ 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 <oliva@adacore.com>
+
+ * 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 <hongtao.liu@intel.com>
+ Uroš Bizjak <ubizjak@gmail.com>
+
+ PR target/95211
+ PR target/95256
+ * config/i386/sse.md (<floatunssuffix>v2div2sf2): New expander.
+ (fix<fixunssuffix>_truncv2sfv2di2): Ditto.
+ (avx512dq_float<floatunssuffix>v2div2sf2): Renaming from
+ float<floatunssuffix>v2div2sf2.
+ (avx512dq_fix<fixunssuffix>_truncv2sfv2di2<mask_name>):
+ Renaming from fix<fixunssuffix>_truncv2sfv2di2<mask_name>.
+ (vec_pack<floatprefix>_float_<mode>): Adjust icode name.
+ (vec_unpack_<fixprefix>fix_trunc_lo_<mode>): Ditto.
+ (vec_unpack_<fixprefix>fix_trunc_hi_<mode>): 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 <ebotcazou@adacore.com>
* gimple-ssa-store-merging.c (merged_store_group::can_be_merged_into):
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 997e5b5..b7b667a 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20200526
+20200527
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 4e1b34d..baac0be 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,23 @@
+2020-05-26 Eric Botcazou <ebotcazou@gcc.gnu.org>
+
+ PR ada/95333
+ * gcc-interface/decl.c (gnat_to_gnu_param): Never make a variant of
+ the type.
+
+2020-05-26 Alexandre Oliva <oliva@adacore.com>
+
+ * 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 <oliva@adacore.com>
+
+ * 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 <moy@adacore.com>
* sem_util.adb (Check_No_Hidden_State): Stop propagation at
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2feeb12..7e263f7 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,11 @@
+2020-05-26 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/95197
+ * cp-gimplify.c: Include omp-general.h.
+ (cp_genericize_r) <case OMP_DISTRIBUTE>: For class iteration
+ variables in composite distribute parallel for, instantiate copy
+ ctor of their types.
+
2020-05-23 Patrick Palka <ppalka@redhat.com>
PR c++/94038
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 7ddc2b8..48284ed 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,14 @@
+2020-05-26 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/95089
+ * trans-types.c (gfc_get_derived_type): Enlarge temporary to hold
+ mangled name "_caf_symbol".
+
+2020-05-26 Alexandre Oliva <oliva@adacore.com>
+
+ * options.c (gfc_get_option_string): Drop auxbase, add
+ dumpbase_ext.
+
2020-05-24 Harald Anlauf <anlauf@gmx.de>
PR fortran/95106
diff --git a/gcc/jit/ChangeLog b/gcc/jit/ChangeLog
index d69a6a8..7be7fb0 100644
--- a/gcc/jit/ChangeLog
+++ b/gcc/jit/ChangeLog
@@ -1,3 +1,55 @@
+2020-05-26 David Malcolm <dmalcolm@redhat.com>
+
+ 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 <dmalcolm@redhat.com>
+
+ * 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 <dmalcolm@redhat.com>
+
+ 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 <andrea.corallo@arm.com>
David Malcolm <dmalcolm@redhat.com>
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index aec3a21..97d673fc 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,71 @@
+2020-05-26 David Malcolm <dmalcolm@redhat.com>
+
+ 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 <anlauf@gmx.de>
+ Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR libfortran/95104
+ * gfortran.dg/pr95104.f90: New test.
+
+2020-05-26 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/95195
+ * gfortran.dg/namelist_97.f90: New test.
+
+2020-05-26 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/95089
+ * gfortran.dg/pr95089.f90: New test.
+
+2020-05-26 David Malcolm <dmalcolm@redhat.com>
+
+ 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 <ubizjak@gmail.com>
+
+ * gcc.target/i386/vperm-v2si.c: New test.
+ * gcc.target/i386/vperm-v4hi.c: Ditto.
+
+2020-05-26 Iain Sandoe <iain@sandoe.co.uk>
+
+ * g++.dg/coroutines/torture/co-ret-17-void-ret-coro.C: Check for
+ promise destruction via a global variable.
+
+2020-05-26 Alexandre Oliva <oliva@adacore.com>
+
+ * 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 <hongtao.liu@intel.com>
+ Uroš Bizjak <ubizjak@gmail.com>
+
+ * gcc.target/i386/pr95211.c: New test.
+
2020-05-25 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/opt84.adb: New test.
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index ddb1af1..83f079c 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,15 @@
+2020-05-26 Harald Anlauf <anlauf@gmx.de>
+ Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR libfortran/95104
+ * io/transfer.c (st_wait_async): Do not dereference NULL pointer.
+
+2020-05-26 Harald Anlauf <anlauf@gmx.de>
+
+ PR fortran/95195
+ * io/transfer.c (finalize_transfer): Generate runtime error for
+ namelist input/output to unformatted file.
+
2020-05-23 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/95191
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog
index 001483b..d5d0a9b 100644
--- a/libsanitizer/ChangeLog
+++ b/libsanitizer/ChangeLog
@@ -1,3 +1,9 @@
+2020-05-26 Martin Liska <mliska@suse.cz>
+
+ * 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 <hongjiu.lu@intel.com>
PR bootstrap/95147
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d899c69..ec13cf3 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,13 @@
+2020-05-26 Patrick Palka <ppalka@redhat.com>
+
+ 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 <ppalka@redhat.com>
PR libstdc++/93978
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog
index 7be98a1..21d3df6 100644
--- a/lto-plugin/ChangeLog
+++ b/lto-plugin/ChangeLog
@@ -1,3 +1,11 @@
+2020-05-26 Alexandre Oliva <oliva@adacore.com>
+
+ * 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 <hongjiu.lu@intel.com>
PR bootstrap/94998