https://gcc.gnu.org/g:7925d3263950585c5e081b039e59e26bec539cac

commit r15-9679-g7925d3263950585c5e081b039e59e26bec539cac
Author: GCC Administrator <gccadmin@gcc.gnu.org>
Date:   Wed May 14 00:25:57 2025 +0000

    Daily bump.

Diff:
---
 gcc/ChangeLog           |  8 +++++
 gcc/DATESTAMP           |  2 +-
 gcc/fortran/ChangeLog   | 24 ++++++++++++++
 gcc/m2/ChangeLog        | 57 +++++++++++++++++++++++++++++++++
 gcc/testsuite/ChangeLog | 85 +++++++++++++++++++++++++++++++++++++++++++++++++
 libgfortran/ChangeLog   | 54 +++++++++++++++++++++++++++++++
 libgm2/ChangeLog        | 44 +++++++++++++++++++++++++
 7 files changed, 273 insertions(+), 1 deletion(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5f5264259b08..8af941d59248 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       Backported from master:
+       2025-05-12  Gaius Mulley  <gaiusm...@gmail.com>
+
+       PR modula2/120188
+       * doc/gm2.texi (Semantic checking): Add -fm2-plugin command line option.
+
 2025-05-11  Richard Biener  <rguent...@suse.de>
 
        PR tree-optimization/120211
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 83f5cb2658ec..cfb9239653b0 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20250513
+20250514
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 2697deb45328..3181168abfff 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,27 @@
+2025-05-13  Thomas Koenig  <tkoe...@gcc.gnu.org>
+
+       PR fortran/120163
+       * gfortran.h: Add formal_resolved to gfc_symbol.
+       * resolve.cc (gfc_resolve_formal_arglist): Set it.
+       (resolve_function): Do not call gfc_get_formal_from_actual_arglist
+       if we already resolved a formal arglist.
+       (resolve_call): Likewise.
+
+2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       Backported from master:
+       2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+                   Daniil Kochergin  <daniil24...@gmail.com>
+                   Tobias Burnus  <tbur...@baylibre.com>
+
+       PR fortran/120191
+       * trans-intrinsic.cc (strip_kind_from_actual): Remove.
+       (gfc_conv_intrinsic_minmaxloc): Don't call strip_kind_from_actual.
+       Free and clear kind_arg->expr if non-NULL.  Set back_arg->name to
+       "%VAL" instead of a loop looking for last argument.  Remove actual
+       variable, use array_arg instead.  Free and clear dim_arg->expr if
+       non-NULL for BT_CHARACTER cases instead of using a loop.
+
 2025-05-11  Thomas Koenig  <tkoe...@gcc.gnu.org>
 
        PR fortran/119928
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index f56104bd92be..cb70f1ccabdf 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,60 @@
+2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       Backported from master:
+       2025-05-05  Gaius Mulley  <gaiusm...@gmail.com>
+
+       PR modula2/120117
+       * gm2-compiler/M2GenGCC.mod (FoldBecomes): Remove the call to
+       RemoveQuad since this is performed by TypeCheckBecomes.
+       * gm2-compiler/PCSymBuild.mod (buildConstFunction): Rewrite
+       header comment.
+       Check for a set or a type aliased set and appropriately
+       skip type equivalences and obtain the element type.
+       * gm2-compiler/SymbolTable.mod (PutConst): Add call to
+       CheckBreak.
+
+2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       Backported from master:
+       2025-04-24  Gaius Mulley  <gaiusm...@gmail.com>
+
+       PR modula2/119915
+       * gm2-libs/FormatStrings.mod (PerformFormatString): Handle
+       the %u and %x format specifiers in a similar way to the %d
+       specifier.  Avoid using Slice and use Copy instead.
+
+2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       Backported from master:
+       2025-04-24  Gaius Mulley  <gaiusm...@gmail.com>
+
+       PR modula2/119914
+       * gm2-compiler/M2Check.mod (checkConstMeta): Add check for
+       Ztype, Rtype and Ctype and unbounded arrays.
+       (IsZRCType): New procedure function.
+       (isZRC): Add comment.
+       * gm2-compiler/M2Quads.mod:
+       * gm2-compiler/M2Range.mod (gdbinit): New procedure.
+       (BreakWhenRangeCreated): Ditto.
+       (CheckBreak): Ditto.
+       (InitRange): Call CheckBreak.
+       (Init): Add gdbhook and initialize interactive watch point.
+       * gm2-compiler/SymbolTable.def (GetNthParamAnyClosest): New
+       procedure function.
+       * gm2-compiler/SymbolTable.mod (BreakSym): Remove constant.
+       (BreakSym): Add Variable.
+       (stop): Remove.
+       (gdbhook): New procedure.
+       (BreakWhenSymCreated): Ditto.
+       (CheckBreak): Ditto.
+       (NewSym): Call CheckBreak.
+       (Init): Add gdbhook and initialize interactive watch point.
+       (MakeProcedure): Replace guarded call to stop with CheckBreak.
+       (GetNthParamChoice): New procedure function.
+       (GetNthParamOrdered): Ditto.
+       (GetNthParamAnyClosest): Ditto.
+       (GetOuterModuleScope): Ditto.
+
 2025-04-25  Release Manager
 
        * GCC 15.1.0 released.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 848def77f4b6..2977f75c56f3 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,88 @@
+2025-05-13  Thomas Koenig  <tkoe...@gcc.gnu.org>
+
+       PR fortran/120163
+       * gfortran.dg/interface_61.f90: New test.
+
+2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       Backported from master:
+       2025-05-05  Gaius Mulley  <gaiusm...@gmail.com>
+
+       PR modula2/120117
+       * gm2/pim/pass/highbit.mod: New test.
+       * gm2/pim/pass/highbit2.mod: New test.
+
+2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       Backported from master:
+       2025-04-24  Gaius Mulley  <gaiusm...@gmail.com>
+
+       PR modula2/119915
+       * gm2/pimlib/run/pass/format2.mod: New test.
+
+2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       Backported from master:
+       2025-04-24  Gaius Mulley  <gaiusm...@gmail.com>
+
+       PR modula2/119914
+       * gm2/pim/fail/constintarraybyte.mod: New test.
+
+2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       Backported from master:
+       2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       PR modula2/120188
+       * gm2.dg/doc/examples/plugin/fail/doc-examples-plugin-fail.exp:
+       Remove call to gm2-dg-frontend-configure-check and replace with
+       tests for whether plugin variables exist.
+
+2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       Backported from master:
+       2025-05-12  Gaius Mulley  <gaiusm...@gmail.com>
+
+       PR modula2/120188
+       * lib/gm2-dg.exp (gm2-dg-frontend-configure-check): New function.
+       (gm2-dg-runtest): Add -O2 to the option_list.
+       * gm2.dg/doc/examples/plugin/fail/assignvalue.mod: New test.
+       * gm2.dg/doc/examples/plugin/fail/doc-examples-plugin-fail.exp: New 
test.
+
+2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       Backported from master:
+       2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       PR libfortran/120196
+       * gfortran.dg/pr120196.f90: New test.
+
+2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       Backported from master:
+       2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       PR fortran/120191
+       * gfortran.dg/pr120191_3.f90: New test.
+
+2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       Backported from master:
+       2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       PR fortran/120191
+       * gfortran.dg/pr120191_2.f90: New test.
+
+2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       Backported from master:
+       2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+                   Daniil Kochergin  <daniil24...@gmail.com>
+                   Tobias Burnus  <tbur...@baylibre.com>
+
+       PR fortran/120191
+       * gfortran.dg/pr120191_1.f90: New test.
+
 2025-05-12  Jason Merrill  <ja...@redhat.com>
 
        Backported from master:
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 674978137322..3187863cc9a4 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,57 @@
+2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       Backported from master:
+       2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       PR libfortran/120196
+       * m4/ifindloc2.m4 (header1, header2): For back use i > 0 rather than
+       i >= 0 as for condition.
+       * generated/findloc2_s1.c: Regenerate.
+       * generated/findloc2_s4.c: Regenerate.
+
+2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       Backported from master:
+       2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       PR fortran/120191
+       * m4/ifunction-s.m4 (SCALAR_ARRAY_FUNCTION): Don't multiply
+       GFC_DESCRIPTOR_EXTENT(array,) by string_len.
+       * generated/maxloc1_4_s1.c: Regenerate.
+       * generated/maxloc1_4_s4.c: Regenerate.
+       * generated/maxloc1_8_s1.c: Regenerate.
+       * generated/maxloc1_8_s4.c: Regenerate.
+       * generated/maxloc1_16_s1.c: Regenerate.
+       * generated/maxloc1_16_s4.c: Regenerate.
+       * generated/minloc1_4_s1.c: Regenerate.
+       * generated/minloc1_4_s4.c: Regenerate.
+       * generated/minloc1_8_s1.c: Regenerate.
+       * generated/minloc1_8_s4.c: Regenerate.
+       * generated/minloc1_16_s1.c: Regenerate.
+       * generated/minloc1_16_s4.c: Regenerate.
+
+2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       Backported from master:
+       2025-05-13  Jakub Jelinek  <ja...@redhat.com>
+
+       PR fortran/120191
+       * m4/maxloc2s.m4: For smaxloc2 call maxloc2 if mask is NULL or *mask.
+       Swap back and len arguments.
+       * m4/minloc2s.m4: Likewise.
+       * generated/maxloc2_4_s1.c: Regenerate.
+       * generated/maxloc2_4_s4.c: Regenerate.
+       * generated/maxloc2_8_s1.c: Regenerate.
+       * generated/maxloc2_8_s4.c: Regenerate.
+       * generated/maxloc2_16_s1.c: Regenerate.
+       * generated/maxloc2_16_s4.c: Regenerate.
+       * generated/minloc2_4_s1.c: Regenerate.
+       * generated/minloc2_4_s4.c: Regenerate.
+       * generated/minloc2_8_s1.c: Regenerate.
+       * generated/minloc2_8_s4.c: Regenerate.
+       * generated/minloc2_16_s1.c: Regenerate.
+       * generated/minloc2_16_s4.c: Regenerate.
+
 2025-05-08  Jakub Jelinek  <ja...@redhat.com>
 
        Backported from master:
diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog
index 0c57c3319273..a90dccf4e37d 100644
--- a/libgm2/ChangeLog
+++ b/libgm2/ChangeLog
@@ -1,3 +1,47 @@
+2025-05-13  Gaius Mulley  <gaiusm...@gmail.com>
+
+       Backported from master:
+       2025-04-24  Gaius Mulley  <gaiusm...@gmail.com>
+
+       PR modula2/115276
+       * config.h.in: Regenerate.
+       * configure: Regenerate.
+       * configure.ac (AC_STRUCT_TIMEZONE): Add.
+       (AC_CHECK_MEMBER): Test for struct tm.tm_year.
+       (AC_CHECK_MEMBER): Test for struct tm.tm_mon.
+       (AC_CHECK_MEMBER): Test for struct tm.tm_mday.
+       (AC_CHECK_MEMBER): Test for struct tm.tm_hour.
+       (AC_CHECK_MEMBER): Test for struct tm.tm_min.
+       (AC_CHECK_MEMBER): Test for struct tm.tm_sec.
+       (AC_CHECK_MEMBER): Test for struct tm.tm_year.
+       (AC_CHECK_MEMBER): Test for struct tm.tm_yday.
+       (AC_CHECK_MEMBER): Test for struct tm.tm_wday.
+       (AC_CHECK_MEMBER): Test for struct tm.tm_isdst.
+       (AC_CHECK_MEMBER): Test for struct timeval.tv_sec.
+       (AC_CHECK_MEMBER): Test for struct timeval.tv_sec.
+       (AC_CHECK_MEMBER): Test for struct timeval.tv_usec.
+       * libm2iso/wraptime.cc (InitTimeval): Guard against lack
+       struct timeval and malloc.
+       (InitTimezone): Guard against lack of struct tm.tm_zone
+       and malloc.
+       (KillTimezone): Ditto.
+       (InitTimeval): Guard against lack of struct timeval
+       and malloc.
+       (KillTimeval): Guard against lack of malloc.
+       (settimeofday): Guard against lack of struct tm.tm_zone.
+       (GetFractions): Guard against lack of struct timeval.
+       (localtime_r): Ditto.
+       (GetYear): Guard against lack of struct tm.
+       (GetMonth): Ditto.
+       (GetDay): Ditto.
+       (GetHour): Ditto.
+       (GetMinute): Ditto.
+       (GetSecond): Ditto.
+       (GetSummerTime): Ditto.
+       (GetDST): Guards against lack of struct timezone.
+       (SetTimezone): Ditto.
+       (SetTimeval): Guard against lack of struct tm.
+
 2025-04-25  Release Manager
 
        * GCC 15.1.0 released.

Reply via email to