RESOLVED FIXED 273838
[JSC] Use simde in JSON
https://bugs.webkit.org/show_bug.cgi?id=273838
Summary [JSC] Use simde in JSON
Yusuke Suzuki
Reported 2024-05-07 13:05:18 PDT
...
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-07 13:05:38 PDT
Yusuke Suzuki
Comment 2 2024-05-07 13:14:16 PDT
EWS
Comment 3 2024-05-08 00:34:54 PDT
Committed 278494@main (4855c7a1dc42): <https://commits.webkit.org/278494@main> Reviewed commits have been landed. Closing PR #28251 and removing active labels.
Carlos Alberto Lopez Perez
Comment 4 2024-05-08 13:48:21 PDT
This commit causes GCC 12 to crash. Confirmed both cross-building for ARM64 with GCC 12.3.0 (from Yocto) as well as building natively for x86_64 with GCC 12.2.0 and GCC 12.3.0 from Debian: ./Source/JavaScriptCore/runtime/JSONObject.cpp: In lambda function: ./Source/JavaScriptCore/runtime/JSONObject.cpp:1124:89: internal compiler error: unexpected expression ‘static_cast<UnsignedType>('\"')’ of kind static_cast_expr 1124 | constexpr auto quoteMask = WTF::splatBulk(static_cast<UnsignedType>('"')); | ^ 0x7ffb005ff1c9 __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7ffb005ff284 __libc_start_main_impl ../csu/libc-start.c:360 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. It doesn't affect GCC 13 ... only version 12. Will try to report a bug in the GCC bug-tracker and then we have to workaround this somehow here in WebKit for GCC-12 compilers
Carlos Alberto Lopez Perez
Comment 5 2024-05-08 14:25:56 PDT
(In reply to Carlos Alberto Lopez Perez from comment #4) > This commit causes GCC 12 to crash. > Will try to report a bug in the GCC bug-tracker and then we have to > workaround this somehow here in WebKit for GCC-12 compilers Reported bug to GCC at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114997
Carlos Alberto Lopez Perez
Comment 6 2024-05-08 15:09:18 PDT
Ok, this was already work-arounded here on https://commits.webkit.org/278511@main
Mark Lam
Comment 7 2024-05-10 09:25:47 PDT
*** Bug 273791 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.