Version: master
OS: chromecast
What steps will reproduce the problem?
Build net_unittests
Compiler version is armv7a-cros-linux-gnueabi-g++.real.elf (4.9.2_cos_gg_21201ea_4.9.2-r116)
4.9.x-google 20150123 (prerelease)
What is the expected output?
Tests should build
What do you see instead?
In file included from
../../net/quic/congestion_control/windowed_filter_test.cc:5:0:
../../net/quic/congestion_control/windowed_filter.h: In member function 'virtual
void
net::test::{anonymous}::WindowedFilterTest_SampleChangesThirdBestMin_Test::TestBody()':
../../net/quic/congestion_control/windowed_filter.h:84:12: error: assuming
signed overflow does not occur when assuming that (X - c) <= X is always true
[-Werror=strict-overflow]
} else if (Compare()(new_sample, estimates_[2].sample)) {
^
../../net/quic/congestion_control/windowed_filter.h: In member function 'virtual
void
net::test::{anonymous}::WindowedFilterTest_SampleChangesSecondBestMin_Test::TestBody()':
../../net/quic/congestion_control/windowed_filter.h:81:5: error: assuming signed
overflow does not occur when assuming that (X - c) <= X is always true
[-Werror=strict-overflow]
if (Compare()(new_sample, estimates_[1].sample)) {
^
../../net/quic/congestion_control/windowed_filter.h: In member function 'virtual
void
net::test::{anonymous}::WindowedFilterTest_SampleChangesAllMins_Test::TestBody()':
../../net/quic/congestion_control/windowed_filter.h:74:5: error: assuming signed
overflow does not occur when assuming that (X - c) <= X is always true
[-Werror=strict-overflow]
if (estimates_[0].sample == zero_value_ ||
^
../../net/quic/congestion_control/windowed_filter.h: In member function 'virtual
void net::test::{anonymous}::WindowedFilterTest_ExpireAllMins_Test::TestBody()':
../../net/quic/congestion_control/windowed_filter.h:84:12: error: assuming
signed overflow does not occur when assuming that (X + c) < X is always false
[-Werror=strict-overflow]
} else if (Compare()(new_sample, estimates_[2].sample)) {
Comment 1 by bugdroid1@chromium.org
, Jun 6 2016