Work around freeze if built with GCC8+ due to pointer overflow optimizations in test.c
Recent GCC optimizes away pointer comparisons used by overflow checks in test.c implementation.
This causes memtest to calculate wrong memory addresses which ends up in endless loops, freezes or crashes.
Disable strict pointer overflow check optimization via -fno-strict-overflow flag until code is amended to comply.
Signed-off-by: Igor V. Kovalenko <email@example.com>
Tested-by: build bot (Jenkins) <firstname.lastname@example.org>
Reviewed-by: Martin Roth <email@example.com>
1 file changed