From: <sv...@op...> - 2024-05-12 11:07:04
|
Author: manx Date: Sun May 12 13:06:52 2024 New Revision: 20798 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20798 Log: [Var] Link to <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049>. Modified: trunk/OpenMPT/common/BuildSettings.h trunk/OpenMPT/src/mpt/base/detect_quirks.hpp trunk/OpenMPT/src/mpt/check/compiler.hpp Modified: trunk/OpenMPT/common/BuildSettings.h ============================================================================== --- trunk/OpenMPT/common/BuildSettings.h Sun May 12 12:50:15 2024 (r20797) +++ trunk/OpenMPT/common/BuildSettings.h Sun May 12 13:06:52 2024 (r20798) @@ -391,6 +391,7 @@ #if MPT_COMPILER_GCC #ifdef MPT_COMPILER_QUIRK_GCC_NO_O2 +// See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049>. #if defined(__OPTIMIZE__) #pragma GCC optimize("O1") #endif Modified: trunk/OpenMPT/src/mpt/base/detect_quirks.hpp ============================================================================== --- trunk/OpenMPT/src/mpt/base/detect_quirks.hpp Sun May 12 12:50:15 2024 (r20797) +++ trunk/OpenMPT/src/mpt/base/detect_quirks.hpp Sun May 12 13:06:52 2024 (r20798) @@ -21,7 +21,7 @@ #if MPT_GCC_AT_LEAST(14, 0, 0) && MPT_GCC_BEFORE(15, 0, 0) // GCC 14 causes severe miscompilation of inline functions. -// Link to bug report will follow. +// See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049>. #if defined(__OPTIMIZE__) #define MPT_COMPILER_QUIRK_GCC_NO_O2 #endif Modified: trunk/OpenMPT/src/mpt/check/compiler.hpp ============================================================================== --- trunk/OpenMPT/src/mpt/check/compiler.hpp Sun May 12 12:50:15 2024 (r20797) +++ trunk/OpenMPT/src/mpt/check/compiler.hpp Sun May 12 13:06:52 2024 (r20798) @@ -9,6 +9,7 @@ #ifndef MPT_CHECK_CXX_IGNORE_WARNING_O2 #if defined(MPT_COMPILER_QUIRK_GCC_NO_O2) +// See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115049>. MPT_WARNING("GCC 14 is known to cause severe miscompilation of inline functions. OpenMPT has forced optimization settings down to -O1. This comes at a roughly 15% performance cost. It is strongly recommended to stay with GCC 13 for the time being. You will need to edit the source to opt-out of this safety guard.") #endif #endif |