Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix OOM crash when doing arm64 builds with old gcc-10
Gcc compiler crashes when trying optimize if statement with 3 boolean due to compiler bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 However issue was only fixed in gcc-11 and above, unfortunately we run gcc-10 on ci. Note it happens for us only with 64 bit arm gcc, however issue is most likely also present without cross compiling with 64-bit gcc-10. Avoid optimization in that specific case. Task-number: QTBUG-123822 Change-Id: I660e759fad8d01b4aa5f9b02095d79a18f06ade2 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/553656 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
- Loading branch information