mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibUnicode: Remove GCC codegen workaround
Reverts commits:ffbf5596cd
f190e394b3
This commit is contained in:
parent
e897008449
commit
f08a979b96
Notes:
sideshowbarker
2024-07-17 06:10:35 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/f08a979b96 Pull-request: https://github.com/SerenityOS/serenity/pull/15501 Issue: https://github.com/SerenityOS/serenity/issues/15449
1 changed files with 0 additions and 8 deletions
|
@ -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<void> parse_special_casing(Core::Stream::BufferedFile& file, UnicodeData& unicode_data)
|
||||
{
|
||||
Array<u8, 1024> buffer;
|
||||
|
@ -692,9 +687,6 @@ static ErrorOr<void> parse_unicode_data(Core::Stream::BufferedFile& file, Unicod
|
|||
|
||||
return {};
|
||||
}
|
||||
#if defined(AK_COMPILER_GCC)
|
||||
# pragma GCC pop_options
|
||||
#endif
|
||||
|
||||
static ErrorOr<void> generate_unicode_data_header(Core::Stream::BufferedFile& file, UnicodeData& unicode_data)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue