mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
d2020b8c9b
Attempting to build Bug 137707 fails with Linux 64 PGO (and only with Linux 64 PGO) with the following error: INFO - /builds/worker/workspace/build/src/js/src/irregexp/RegExpEngine.cpp:2326:5: error: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Werror=strict-overflow] INFO - for (int i = interval.from(); i <= interval.to(); i++) { INFO - ^^^ I suspect that this is actually a bug in PGO itself, rather than in the code. However, replacing `<= interval.to()` with `!= interval.to() + 1` seems to do the trick. MozReview-Commit-ID: IsayKhgkwWq --HG-- extra : rebase_source : 6c2fa14a5fe49c1cc5d42afc9f7d57be568f662b |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure |