https://gcc.gnu.org/g:55a920367eb34cb33a3ff22f5487a56baa1f93c6

commit r15-9762-g55a920367eb34cb33a3ff22f5487a56baa1f93c6
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Wed Jun 4 00:27:33 2025 +0000

    Daily bump.

Diff:
---
 gcc/DATESTAMP           |  2 +-
 gcc/fortran/ChangeLog   | 42 ++++++++++++++++++++++++++++++++++++++++++
 gcc/testsuite/ChangeLog | 17 +++++++++++++++++
 3 files changed, 60 insertions(+), 1 deletion(-)

diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 42c54799b73c..932c2dd9fa20 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20250603
+20250604
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index b9879381d1bc..e98b205dffe5 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,45 @@
+2025-06-03  Harald Anlauf  <anl...@gmx.de>
+
+       Backported from master:
+       2025-05-30  Harald Anlauf  <anl...@gmx.de>
+
+       PR fortran/102599
+       PR fortran/114022
+       * expr.cc (simplify_complex_array_inquiry_ref): Helper function for
+       simplification of inquiry references (%re/%im) of constant complex
+       arrays.
+       (find_inquiry_ref): Use it for handling %re/%im inquiry references
+       of complex arrays.
+       (scalarize_intrinsic_call): Fix frontend memleak.
+       * primary.cc (gfc_match_varspec): When the reference is NULL, the
+       previous simplification has succeeded in evaluating inquiry
+       references also of arrays.
+
+2025-06-03  Harald Anlauf  <anl...@gmx.de>
+
+       Backported from master:
+       2025-05-27  Harald Anlauf  <anl...@gmx.de>
+
+       PR fortran/101735
+       * primary.cc (gfc_match_varspec): Correct order of logic.
+
+2025-06-03  Harald Anlauf  <anl...@gmx.de>
+
+       Backported from master:
+       2025-05-27  Harald Anlauf  <anl...@gmx.de>
+
+       PR fortran/101735
+       * expr.cc (find_inquiry_ref): If an inquiry reference applies to
+       a substring, use that, and calculate substring length if needed.
+       * primary.cc (extend_ref): Also handle attaching to end of
+       reference chain for appending.
+       (gfc_match_varspec): Discrimate between arrays of character and
+       substrings of them.  If a substring is taken from a character
+       component of a derived type, get the proper typespec so that
+       inquiry references work correctly.
+       (gfc_match_rvalue): Handle corner case where we hit a seemingly
+       dangling '%' and missed an inquiry reference. Try another match.
+
 2025-06-02  Jakub Jelinek  <ja...@redhat.com>
 
        Backported from master:
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 73ae83d71a78..9674984b79c1 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,20 @@
+2025-06-03  Harald Anlauf  <anl...@gmx.de>
+
+       Backported from master:
+       2025-05-30  Harald Anlauf  <anl...@gmx.de>
+
+       PR fortran/102599
+       PR fortran/114022
+       * gfortran.dg/inquiry_type_ref_8.f90: New test.
+
+2025-06-03  Harald Anlauf  <anl...@gmx.de>
+
+       Backported from master:
+       2025-05-27  Harald Anlauf  <anl...@gmx.de>
+
+       PR fortran/101735
+       * gfortran.dg/inquiry_type_ref_7.f90: New test.
+
 2025-06-02  Jason Merrill  <ja...@redhat.com>
 
        PR c++/120123

Reply via email to