]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 12 Sep 2020 00:17:11 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sat, 12 Sep 2020 00:17:11 +0000 (00:17 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/ada/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libiberty/ChangeLog

index a29b7c4bec47e7ed53b8a9c8c6e0122fa490f9fb..ae9f825d9564c5f1eec0566831cda490a3ff6e88 100644 (file)
@@ -1,3 +1,226 @@
+2020-09-11  Andrew Stubbs  <ams@codesourcery.com>
+
+       Backported from master:
+       2020-09-11  Andrew Stubbs  <ams@codesourcery.com>
+
+       * config/gcn/gcn.c (gcn_hard_regno_mode_ok): Align TImode registers.
+       * config/gcn/gcn.md: Assert that TImode registers do not early clobber.
+
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-08-27  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/96579
+       * tree-ssa-reassoc.c (linearize_expr_tree): If we expand
+       rhs via special ops make sure to swap operands.
+
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-07-30  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/96370
+       * tree-ssa-reassoc.c (rewrite_expr_tree): Add operation
+       code parameter and use it instead of picking it up from
+       the stmt that is being rewritten.
+       (reassociate_bb): Pass down the operation code.
+
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-08-07  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/96514
+       * tree-if-conv.c (if_convertible_bb_p): If the last stmt
+       is a call that is control-altering, fail.
+
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-07-31  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/96369
+       * fold-const.c (fold_range_test): Special-case constant
+       LHS for short-circuiting operations.
+
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-07-29  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/96349
+       * tree-ssa-loop-split.c (stmt_semi_invariant_p_1): When the
+       condition runs into a loop PHI with an abnormal entry value give up.
+
+2020-09-11  Matthias Klose  <doko@ubuntu.com>
+
+       Backported from master:
+       2020-07-27  Matthias Klose  <doko@ubuntu.com>
+
+       PR bootstrap/96203
+       * common.opt: Add -fcf-protection=check.
+       * flag-types.h (cf_protection_level): Add CF_CHECK.
+       * lto-wrapper.c (merge_and_complain): Issue an error for
+       mismatching -fcf-protection values with -fcf-protection=check.
+       Otherwise, merge -fcf-protection values.
+       * doc/invoke.texi: Document -fcf-protection=check.
+
+2020-09-11  Matthias Klose  <doko@ubuntu.com>
+
+       Backported from master:
+       2020-07-14  Matthias Klose  <doko@ubuntu.com>
+
+       PR lto/95604
+       * lto-wrapper.c (merge_and_complain): Add decoded options as parameter,
+       error on different values for -fcf-protection.
+       (append_compiler_options): Pass -fcf-protection option.
+       (find_and_merge_options): Add decoded options as parameter,
+       pass decoded_options to merge_and_complain.
+       (run_gcc): Pass decoded options to find_and_merge_options.
+       * lto-opts.c (lto_write_options): Pass -fcf-protection option.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * lto-streamer-out.c (collect_block_tree_leafs): Recurse on
+       root rather than BLOCK_SUBBLOCKS (root).
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * lto-streamer.h (LTO_minor_version): Bump.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/93865
+       * lto-streamer.h (struct output_block): Add emit_pwd member.
+       * lto-streamer-out.c: Include toplev.h.
+       (clear_line_info): Set emit_pwd.
+       (lto_output_location_1): Encode the ob->current_file != xloc.file
+       bit directly into the location number.  If changing file, emit
+       additionally a bit whether pwd is emitted and emit it before the
+       first relative pathname since clear_line_info.
+       (output_function, output_constructor): Don't call clear_line_info
+       here.
+       * lto-streamer-in.c (struct string_pair_map): New type.
+       (struct string_pair_map_hasher): New type.
+       (string_pair_map_hasher::hash): New method.
+       (string_pair_map_hasher::equal): New method.
+       (path_name_pair_hash_table, string_pair_map_allocator): New variables.
+       (relative_path_prefix, canon_relative_path_prefix,
+       canon_relative_file_name): New functions.
+       (canon_file_name): Add relative_prefix argument, if non-NULL
+       and string is a relative path, return canon_relative_file_name.
+       (lto_location_cache::input_location_and_block): Decode file change
+       bit from the location number.  If changing file, unpack bit whether
+       pwd is streamed and stream in pwd.  Adjust canon_file_name caller.
+       (lto_free_file_name_hash): Delete path_name_pair_hash_table
+       and string_pair_map_allocator.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/94235
+       * lto-streamer-out.c (output_cfg): Also stream goto_locus for edges.
+       Use bp_pack_var_len_unsigned instead of streamer_write_uhwi to stream
+       e->dest->index and e->flags.
+       (output_function): Call output_cfg before output_ssa_name, rather than
+       after streaming all bbs.
+       * lto-streamer-in.c (input_cfg): Stream in goto_locus for edges.
+       Use bp_unpack_var_len_unsigned instead of streamer_read_uhwi to stream
+       in dest_index and edge_flags.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * lto-streamer.h (stream_input_location_now): Remove declaration.
+       * lto-streamer-in.c (stream_input_location_now): Remove.
+       (input_eh_region, input_struct_function_base): Use
+       stream_input_location instead of stream_input_location_now.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-04  Jakub Jelinek  <jakub@redhat.com>
+
+       * lto-streamer.h (struct output_block): Add reset_locus member.
+       * lto-streamer-out.c (clear_line_info): Set reset_locus to true.
+       (lto_output_location_1): If reset_locus, clear it and ensure
+       current_{file,line,col} is different from xloc members.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/96901
+       * tree.h (struct decl_tree_traits): New type.
+       (decl_tree_map): New typedef.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR lto/94311
+       * gimple.h (gimple_location_ptr, gimple_phi_arg_location_ptr): New
+       functions.
+       * streamer-hooks.h (struct streamer_hooks): Add
+       output_location_and_block callback.  Fix up formatting for
+       output_location.
+       (stream_output_location_and_block): Define.
+       * lto-streamer.h (class lto_location_cache): Fix comment typo.  Add
+       current_block member.
+       (lto_location_cache::input_location_and_block): New method.
+       (lto_location_cache::lto_location_cache): Initialize current_block.
+       (lto_location_cache::cached_location): Add block member.
+       (struct output_block): Add current_block member.
+       (lto_output_location): Formatting fix.
+       (lto_output_location_and_block): Declare.
+       * lto-streamer.c (lto_streamer_hooks_init): Initialize
+       streamer_hooks.output_location_and_block.
+       * lto-streamer-in.c (lto_location_cache::cmp_loc): Also compare
+       block members.
+       (lto_location_cache::apply_location_cache): Handle blocks.
+       (lto_location_cache::accept_location_cache,
+       lto_location_cache::revert_location_cache): Fix up function comments.
+       (lto_location_cache::input_location_and_block): New method.
+       (lto_location_cache::input_location): Implement using
+       input_location_and_block.
+       (input_function): Invoke apply_location_cache after streaming in all
+       bbs.
+       * lto-streamer-out.c (clear_line_info): Set current_block.
+       (lto_output_location_1): New function, moved from lto_output_location,
+       added block handling.
+       (lto_output_location): Implement using lto_output_location_1.
+       (lto_output_location_and_block): New function.
+       * gimple-streamer-in.c (input_phi): Use input_location_and_block
+       to input and cache both location and block.
+       (input_gimple_stmt): Likewise.
+       * gimple-streamer-out.c (output_phi): Use
+       stream_output_location_and_block.
+       (output_gimple_stmt): Likewise.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-08-26  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/96729
+       * dwarf2out.c (dwarf2out_next_real_insn): Adjust function comment.
+       (dwarf2out_var_location): Look for next_note only if next_real is
+       non-NULL, in that case look for the first non-deleted
+       NOTE_INSN_VAR_LOCATION between loc_note and next_real, if any.
+
 2020-09-09  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
 
        PR target/96357
index 15fb79cba7d15dd1c929cc63955c0b6bdfeb7837..c977cef8bc2bb560c23bb5ee53113e172ef847ff 100644 (file)
@@ -1 +1 @@
-20200911
+20200912
index a12a69d759703377acba02cb83af95b7c7b0a583..f57eabd8f9de60ff3b6a5184a6c36d3a4e40ce37 100644 (file)
@@ -1,3 +1,15 @@
+2020-09-11  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/utils.c (type_has_variable_size): New function.
+       (create_field_decl): In the packed case, also force byte alignment
+       when the type of the field has variable size.
+
+2020-09-11  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Only
+       create extra subtypes for discriminants if the RM size of the base
+       type of the index type is lower than that of the index type.
+
 2020-09-10  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc-interface/decl.c (set_rm_size): Do not take into account the
index cfab5e4adc5871afa972570336dfeba551944e88..671441abf543eb473b41e03231def9f83c968fb6 100644 (file)
@@ -1,3 +1,21 @@
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/96901
+       * constexpr.c (fundef_copies_table): Change type from
+       hash_map<tree, tree> * to decl_tree_map *.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/96862
+       * constexpr.c (cxx_eval_outermost_constant_expr): Temporarily disable
+       flag_rounding_math during manifestly constant evaluation.
+
 2020-09-09  Marek Polacek  <polacek@redhat.com>
 
        Backported from master:
index 297cde508537588c355d0271d6388f43a1d5e276..5ee063bc0c9000dda9b77ccc799be6aa35605be9 100644 (file)
@@ -1,3 +1,13 @@
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/96859
+       * check.c (gfc_boz2real, gfc_boz2int): When clearing first two bits,
+       change also '2' to '0' and '3' to '1' rather than just handling '4'
+       through '7'.
+
 2020-09-09  Tobias Burnus  <tobias@codesourcery.com>
 
        Backported from master:
index 999e9f60948204b061fbd3c9ace4d4dc1262f318..8781ededfea43d7625898636447727fadd49021c 100644 (file)
@@ -1,3 +1,91 @@
+2020-09-11  Andrew Stubbs  <ams@codesourcery.com>
+
+       Backported from master:
+       2020-09-11  Andrew Stubbs  <ams@codesourcery.com>
+
+       * gcc.dg/gimplefe-44.c: Require exceptions.
+
+2020-09-11  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       Backported from master:
+       2020-08-28  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * gcc.dg/pr96579.c: Compile only with target dfp.
+
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-08-27  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/96579
+       * gcc.dg/pr96579.c: New testcase.
+
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-07-30  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/96370
+       * gcc.dg/pr96370.c: New testcase.
+
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-08-07  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/96514
+       * gcc.dg/pr96514.c: New testcase.
+
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-07-31  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/96369
+       * c-c++-common/pr96369.c: New testcase.
+
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-07-29  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/96349
+       * gcc.dg/torture/pr96349.c: New testcase.
+
+2020-09-11  Matthias Klose  <doko@ubuntu.com>
+
+       Backported from master:
+       2020-07-27  Matthias Klose  <doko@ubuntu.com>
+
+       PR bootstrap/96203
+       * gcc.target/i386/pr96203-1.c: New test.
+       * gcc.target/i386/pr96203-2.c: Likewise.
+
+2020-09-11  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/pack27.adb: New test.
+       * gnat.dg/pack27_pkg.ads: New helper.
+
+2020-09-11  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gnat.dg/specs/discr7.ads: New test.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/96862
+       * g++.dg/cpp1z/constexpr-96862.C: New test.
+
+2020-09-11  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from master:
+       2020-09-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR fortran/96859
+       * gfortran.dg/pr96859.f90: New test.
+
 2020-09-10  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gnat.dg/specs/size_clause5.ads: New test.
index ea67cd74431b429461335ccfb9c6fd25ae32a13a..4368ec9129ea41b0d47b79bfc8c20d36969470f3 100644 (file)
@@ -1,3 +1,13 @@
+2020-09-11  Richard Biener  <rguenther@suse.de>
+
+       Backported from master:
+       2020-08-03  Richard Biener  <rguenther@suse.de>
+
+       PR lto/96385
+       * simple-object-elf.c
+       (simple_object_elf_copy_lto_debug_sections): Localize global
+       UNDEFs and reuse the prevailing name.
+
 2020-07-23  Release Manager
 
        * GCC 10.2.0 released.