From: Matthias Klose Date: Thu, 28 Apr 2016 08:22:10 +0000 (+0000) Subject: decl.c (parse_version): Don't encode the minor version in the abi version. X-Git-Tag: basepoints/gcc-8~7359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a564d350951a990136fe6a5010b7eaa165f17c58;p=thirdparty%2Fgcc.git decl.c (parse_version): Don't encode the minor version in the abi version. 2016-04-28 Matthias Klose * decl.c (parse_version): Don't encode the minor version in the abi version. From-SVN: r235546 --- diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 7c20b060cc80..5ed24e42a968 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2016-04-28 Matthias Klose + + * decl.c (parse_version): Don't encode the minor version in the abi + version. + 2016-04-18 Michael Matz * class.c (add_method_1): Use SET_DECL_ALIGN. diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 93304daea007..4e50ce98c23f 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -540,9 +540,9 @@ parse_version (void) else /* C++ ABI */ { /* Implicit in this computation is the idea that we won't break the - old-style binary ABI in a sub-minor release (e.g., from 4.0.0 to - 4.0.1). */ - abi_version = 100000 * major + 1000 * minor; + old-style binary ABI in a sub-minor release (e.g., from 6.0 to + 6.1). */ + abi_version = 100000 * major; } if (flag_bootstrap_classes) abi_version |= FLAG_BOOTSTRAP_LOADER;