aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2025-01-08 20:07:47 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2025-01-08 20:07:47 +0100
commit21ee71afa72746367cab7847f950448f04607dd2 (patch)
treec39fd20683522c3374fce622e553b89a113cc7f2 /gcc
parent0de5c20b72a738782e31acce771c6f2085e1014b (diff)
downloadgcc-21ee71afa72746367cab7847f950448f04607dd2.zip
gcc-21ee71afa72746367cab7847f950448f04607dd2.tar.gz
gcc-21ee71afa72746367cab7847f950448f04607dd2.tar.bz2
fortran: Bump MOD_VERSION to "16" [PR118337]
As mentioned in the PR, there is a *.mod incompatibility between GCC 14 and GCC 15, at least when using iso_c_binding or iso_fortran_env intrinsic modules, because new entries have been added to those modules in the middle, causing changes in the constants emitted in the *.mod files. Also, I fear modules produced with GCC 15 with -funsigned and using UNSIGNED in the modules will be unreadable by GCC 14. The following patch just bumps MOD_VERSION for this. Note, a patch for accepting also MOD_VERSION "15" has been posted incrementally. 2025-01-08 Jakub Jelinek <jakub@redhat.com> PR fortran/118337 * module.cc (MOD_VERSION): Bump to "16".
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/module.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/module.cc b/gcc/fortran/module.cc
index 6ac51d7..a058a71 100644
--- a/gcc/fortran/module.cc
+++ b/gcc/fortran/module.cc
@@ -84,7 +84,7 @@ along with GCC; see the file COPYING3. If not see
/* Don't put any single quote (') in MOD_VERSION, if you want it to be
recognized. */
-#define MOD_VERSION "15"
+#define MOD_VERSION "16"
/* Structure that describes a position within a module file. */