From: <sv...@op...> - 2024-07-19 10:42:41
|
Author: manx Date: Fri Jul 19 12:42:28 2024 New Revision: 21202 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21202 Log: [Var] Update links for <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049>. Fixed in GCC 13 and GCC 12. Modified: trunk/OpenMPT/src/mpt/base/detect_compiler.hpp Modified: trunk/OpenMPT/src/mpt/base/detect_compiler.hpp ============================================================================== --- trunk/OpenMPT/src/mpt/base/detect_compiler.hpp Thu Jul 18 20:26:32 2024 (r21201) +++ trunk/OpenMPT/src/mpt/base/detect_compiler.hpp Fri Jul 19 12:42:28 2024 (r21202) @@ -207,7 +207,7 @@ // detect compiler setting quirks #if MPT_COMPILER_GCC -#if MPT_GCC_BEFORE(15, 0, 0) && !MPT_GCC_AT_LEAST(14, 2, 0) +#if (MPT_GCC_AT_LEAST(14, 0, 0) && MPT_GCC_BEFORE(14, 2, 0)) || (MPT_GCC_AT_LEAST(13, 0, 0) && MPT_GCC_BEFORE(13, 4, 0)) || (MPT_GCC_AT_LEAST(12, 0, 0) && MPT_GCC_BEFORE(12, 5, 0)) || MPT_GCC_BEFORE(12, 0, 0) // GCC 14 causes severe miscompilation of inline functions on MinGW. // See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049>. // Current investigation suggests a general problem with -fipa-ra on non-ELF @@ -215,9 +215,13 @@ // As far as we understand the issue, it could possibly also manifest with // other inter-procedure-optimizations and with older GCC versions. // Fixed in GCC 15 -// (<https://gcc.gnu.org/git/?p=gcc.git;h=5080840d8fbf25a321dd27543a1462d393d338bc>) -// and GCC 14.2 +// (<https://gcc.gnu.org/git/?p=gcc.git;h=5080840d8fbf25a321dd27543a1462d393d338bc>), +// GCC 14.2 // (<https://gcc.gnu.org/git/?p=gcc.git;h=747c4b58573ea00419f64293a61537eb69f43307>). +// GCC 13.4 +// (<https://gcc.gnu.org/git/?p=gcc.git;h=953bf37690d22de956d75c6aef7a9690ad55b9a7>). +// and GCC 12.5 +// (<https://gcc.gnu.org/git/?p=gcc.git;h=2c5f48a43f26223cb8603b826d7c0d52cdbcfb46>). #if !defined(__ELF__) #define MPT_COMPILER_SETTING_QUIRK_GCC_BROKEN_IPA #endif |