diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2020-03-05 17:51:11 +0100 |
---|---|---|
committer | Uros Bizjak <ubizjak@gmail.com> | 2020-03-05 17:51:11 +0100 |
commit | a5090de45af6c9c0f93306de4b6a4d3b56fccd94 (patch) | |
tree | 3bbb614cae7bc58e11131d3c12a8384fd216e03c /libstdc++-v3/testsuite/experimental/filesystem | |
parent | 6a7052832a4791047b0ff4f18dcbb55c93a7336c (diff) | |
download | gcc-a5090de45af6c9c0f93306de4b6a4d3b56fccd94.zip gcc-a5090de45af6c9c0f93306de4b6a4d3b56fccd94.tar.gz gcc-a5090de45af6c9c0f93306de4b6a4d3b56fccd94.tar.bz2 |
testsuite: Compile asan_test.C with -Wno-alloc-size-larger-than
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.
* g++.dg/asan/asan_test.C (dg-options): Add
-Wno-alloc-size-larger-than.
Diffstat (limited to 'libstdc++-v3/testsuite/experimental/filesystem')
0 files changed, 0 insertions, 0 deletions