mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
LibUnicode: Remove GCC codegen workaround
Reverts commits:ffbf5596cd
f190e394b3
This commit is contained in:
parent
e897008449
commit
f08a979b96
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;
|
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)
|
static ErrorOr<void> parse_special_casing(Core::Stream::BufferedFile& file, UnicodeData& unicode_data)
|
||||||
{
|
{
|
||||||
Array<u8, 1024> buffer;
|
Array<u8, 1024> buffer;
|
||||||
|
@ -692,9 +687,6 @@ static ErrorOr<void> parse_unicode_data(Core::Stream::BufferedFile& file, Unicod
|
||||||
|
|
||||||
return {};
|
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)
|
static ErrorOr<void> generate_unicode_data_header(Core::Stream::BufferedFile& file, UnicodeData& unicode_data)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue