]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 8 Jan 2021 00:17:11 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Fri, 8 Jan 2021 00:17:11 +0000 (00:17 +0000)
contrib/ChangeLog
gcc/ChangeLog
gcc/DATESTAMP
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libcpp/po/ChangeLog

index 3dfc95858fed042da661dd8251fd0614f32a3c69..a2b1c6020a9df4de316e7f6b286e5a6b7a14cc5e 100644 (file)
@@ -1,3 +1,11 @@
+2021-01-07  Martin Liska  <mliska@suse.cz>
+
+       * gcc-changelog/git_commit.py: Sync from master.
+       * gcc-changelog/git_email.py: Likewise.
+       * gcc-changelog/git_repository.py: Likewise.
+       * gcc-changelog/test_email.py: Likewise.
+       * gcc-changelog/test_patches.txt: Likewise.
+
 2020-11-25  Martin Liska  <mliska@suse.cz>
 
        * gcc-changelog/git_commit.py: Use revert_regex instead
index ad11874402d2ac68a54bff38e265167a261e5627..cb9e8b5c7601d3df60eb50d6f14c3ca94faf161b 100644 (file)
@@ -1,3 +1,18 @@
+2021-01-07  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       Backported from master:
+       2020-12-11  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * config/arc/arc-protos.h (arc_scheduling_not_expected): Remove
+       it.
+       (arc_sets_cc_p): Likewise.
+       (arc_need_delay): Likewise.
+       * config/arc/arc.c (arc_sets_cc_p): Likewise.
+       (arc_need_delay): Likewise.
+       (arc_scheduling_not_expected): Likewise.
+       * config/arc/arc.md: Convert adc/sbc patterns to simple
+       instruction definitions.
+
 2021-01-06  Jakub Jelinek  <jakub@redhat.com>
 
        Backported from master:
index 804e6b24a1b3287847ee11f421a553b1bb970b28..cb4ae0bba9926ffe03cca9461a89935aa2d3724c 100644 (file)
@@ -1 +1 @@
-20210107
+20210108
index ac1629e9a5c4b810d48d04d5665355370a82e43d..e5d42f24fc16559a3850366441b3e6b2ef5c2c72 100644 (file)
@@ -1,3 +1,83 @@
+2021-01-07  Harald Anlauf  <anlauf@gmx.de>
+
+       Backported from master:
+       2021-01-06  Harald Anlauf  <anlauf@gmx.de>
+
+       * resolve.c (resolve_component): Add check for valid CLASS
+       reference before trying to access CLASS data.
+
+2021-01-07  Paul Thomas  <pault@gcc.gnu.org>
+
+       Backported from master:
+       2020-08-02  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/96325
+       * primary.c (gfc_match_varspec): In the case that a component
+       reference is added to an intrinsic type component, emit the
+       error message in this function.
+
+2021-01-07  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/83118
+       * trans-array.c (gfc_alloc_allocatable_for_assignment): Make
+       sure that class expressions are captured for dummy arguments by
+       use of gfc_get_class_from_gfc_expr otherwise the wrong vptr is
+       used.
+       * trans-expr.c (gfc_get_class_from_gfc_expr): New function.
+       (gfc_get_class_from_expr): If a constant expression is
+       encountered, return NULL_TREE;
+       (gfc_trans_assignment_1): Deallocate rhs allocatable components
+       after passing derived type function results to class lhs.
+       * trans.h : Add prototype for gfc_get_class_from_gfc_expr.
+
+2021-01-07  Paul Thomas  <pault@gcc.gnu.org>
+
+       Backported from master:
+       2020-12-18  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/83118
+       PR fortran/96012
+       * resolve.c (resolve_ordinary_assign): Generate a vtable if
+       necessary for scalar non-polymorphic rhs's to unlimited lhs's.
+       * trans-array.c (get_class_info_from_ss): New function.
+       (gfc_trans_allocate_array_storage): Defer obtaining class
+       element type until all sources of class exprs are tried. Use
+       class API rather than TREE_OPERAND. Look for class expressions
+       in ss->info by calling get_class_info_from_ss. After, obtain
+       the element size for class descriptors. Where the element type
+       is unknown, cast the data as character(len=size) to overcome
+       unlimited polymorphic problems.
+       (gfc_conv_ss_descriptor): Do not fix class variable refs.
+       (build_class_array_ref, structure_alloc_comps): Replace code
+       replicating the new function gfc_resize_class_size_with_len.
+       (gfc_alloc_allocatable_for_assignment): Obtain element size
+       for lhs in cases of deferred characters and class enitities.
+       Move code for the element size of rhs to start of block. Clean
+       up extraction of class parameters throughout this function.
+       After the shape check test whether or not the lhs and rhs
+       element sizes are the same. Use earlier evaluation of
+       'cond_null'. Reallocation of lhs only to happen if size changes
+       or element size changes.
+       * trans-expr.c (gfc_resize_class_size_with_len): New function.
+       (gfc_get_class_from_expr): If a constant expression is
+       encountered, return NULL_TREE;
+       (trans_scalar_class_assign): New function.
+       (gfc_conv_procedure_call): Ensure the vtable is present for
+       passing a non-class actual to an unlimited formal.
+       (trans_class_vptr_len_assignment): For expressions of type
+       BT_CLASS, extract the class expression if necessary. Use a
+       statement block outside the loop body. Ensure that 'rhs' is
+       of the correct type. Obtain rhs vptr in all circumstances.
+       (gfc_trans_scalar_assign): Call trans_scalar_class_assign to
+       make maximum use of the vptr copy in place of assignment.
+       (trans_class_assignment): Actually do reallocation if needed.
+       (gfc_trans_assignment_1): Simplify some of the logic with
+       'realloc_flag'. Set 'vptr_copy' for all array assignments to
+       unlimited polymorphic lhs.
+       * trans.c (gfc_build_array_ref): Call gfc_resize_class_size_
+       with_len to correct span for unlimited polymorphic decls.
+       * trans.h : Add prototype for gfc_resize_class_size_with_len.
+
 2021-01-04  Harald Anlauf  <anlauf@gmx.de>
 
        Backported from master:
index 16bc464f5c7f511f9da8f7696c700c347e4d3d57..79f52825fa2efe120f89c4d54e8c71754b8f581e 100644 (file)
@@ -1,3 +1,32 @@
+2021-01-07  Paul Thomas  <pault@gcc.gnu.org>
+
+       Backported from master:
+       2020-08-04  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/96325
+       * gfortran.dg/pr96325.f90: Change from run to compile.
+
+2021-01-07  Paul Thomas  <pault@gcc.gnu.org>
+
+       Backported from master:
+       2020-08-02  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/96325
+       * gfortran.dg/pr96325.f90: New test.
+       * gfortran.dg/pr91589.f90: Update error message.
+
+2021-01-07  Paul Thomas  <pault@gcc.gnu.org>
+
+       Backported from master:
+       2020-12-18  Paul Thomas  <pault@gcc.gnu.org>
+
+       PR fortran/83118
+       PR fortran/96012
+       * gfortran.dg/dependency_60.f90: New test.
+       * gfortran.dg/class_allocate_25.f90: New test.
+       * gfortran.dg/class_assign_4.f90: New test.
+       * gfortran.dg/unlimited_polymorphic_32.f03: New test.
+
 2021-01-06  Jakub Jelinek  <jakub@redhat.com>
 
        Backported from master:
index b30b808bff1525a003d7f2dd753d18148472d026..0b7f09bfcc574556a91e8f72d74c3e033cbd1884 100644 (file)
@@ -1,3 +1,7 @@
+2021-01-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * es.po: Update.
+
 2020-07-23  Release Manager
 
        * GCC 10.2.0 released.