From f08a979b96e92680dd0305e6d9b9d979d1e33602 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 7 Oct 2022 09:02:08 -0400 Subject: [PATCH] LibUnicode: Remove GCC codegen workaround Reverts commits: ffbf5596cd8e2d0e44451034b2e508d06df4c77b f190e394b3ba227028baed06ab5c89f1b193e0f4 --- .../CodeGenerators/LibUnicode/GenerateUnicodeData.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeData.cpp b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeData.cpp index 91a1d94831d..46aadc960ea 100644 --- a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeData.cpp +++ b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/GenerateUnicodeData.cpp @@ -210,11 +210,6 @@ static CodePointRange parse_code_point_range(StringView list) return code_point_range; } -// gcc-11, gcc-12 have a codegen bug, see #15449. -#if defined(AK_COMPILER_GCC) -# pragma GCC push_options -# pragma GCC optimize("O0") -#endif static ErrorOr parse_special_casing(Core::Stream::BufferedFile& file, UnicodeData& unicode_data) { Array buffer; @@ -692,9 +687,6 @@ static ErrorOr parse_unicode_data(Core::Stream::BufferedFile& file, Unicod return {}; } -#if defined(AK_COMPILER_GCC) -# pragma GCC pop_options -#endif static ErrorOr generate_unicode_data_header(Core::Stream::BufferedFile& file, UnicodeData& unicode_data) {