On Thu, Mar 05, 2020 at 10:05:43AM +0100, Uros Bizjak wrote:
> asan_test.cc tries to allocate 0xf0000000 bytes for 32bit targets in
> a disabled DISABLED_DemoOOM test. Since the testcase is compiled with
> -Werror, the compilation fails with:
>
> error: argument 1 value '4026531840' exceeds maximum object size 2147483647
>
> Compile with -Wno-alloc-size-larger-than to avoid compilation failure.
>
> 2020-03-05 Uroš Bizjak <[email protected]>
>
> * g++.de/asan/asan_test.C (dg-options): Add
s/de/dg/
> -Wno-alloc-size-larger-than.
Ok, thanks.
Jakub