[Bug testsuite/93058] New: FAIL: g++.dg/asan/asan_test.C -O2 (test for excess errors)
slyfox at inbox dot ru
gcc-bugzilla@gcc.gnu.org
Mon Dec 23 22:05:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93058
Bug ID: 93058
Summary: FAIL: g++.dg/asan/asan_test.C -O2 (test for excess
errors)
Product: gcc
Version: 9.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: slyfox at inbox dot ru
Target Milestone: ---
Noticed asan test failure:
$ make check-c++ -j9 RUNTESTFLAGS='asan.exp=asan_test.C'
FAIL: g++.dg/asan/asan_test.C -O2 (test for excess errors)
Executing on host: /home/slyfox/dev/git/gcc-clean/gcc/testsuite/g++2/../../xg++
-B/home/slyfox/dev/git/gcc-clean/gcc/testsuite/g++2/../../
/home/slyfox/dev/git/gcc/gcc/testsuite/g++.dg/asan/asan_test.C
-fsanitize=address -g
-I/home/slyfox/dev/git/gcc/gcc/testsuite/../../libsanitizer/include
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++
-I/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/slyfox/dev/git/gcc/libstdc++-v3/libsupc++
-I/home/slyfox/dev/git/gcc/libstdc++-v3/include/backward
-I/home/slyfox/dev/git/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -O2
-std=c++11 -fsanitize=address -fno-builtin -Wall -Werror -g -DASAN_UAR=0
-DASAN_HAS_EXCEPTIONS=1 -DASAN_HAS_BLACKLIST=0 -DSANITIZER_USE_DEJAGNU_GTEST=1
-lasan -lpthread -ldl -DASAN_NEEDS_SEGV=1 -DASAN_AVOID_EXPENSIVE_TESTS=1 -msse2
-D__NO_INLINE__
/home/slyfox/dev/git/gcc/gcc/testsuite/g++.dg/asan/asan_globals_test-wrapper.cc
-B/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libsanitizer/
-B/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libsanitizer/asan/
-L/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libsanitizer/asan/.libs
-L/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs
-B/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs
-L/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs
-B/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libitm/
-L/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libitm/.libs -lm -o
./asan_test.exe (timeout = 300)
spawn -ignore SIGHUP
/home/slyfox/dev/git/gcc-clean/gcc/testsuite/g++2/../../xg++
-B/home/slyfox/dev/git/gcc-clean/gcc/testsuite/g++2/../../
/home/slyfox/dev/git/gcc/gcc/testsuite/g++.dg/asan/asan_test.C
-fsanitize=address -g
-I/home/slyfox/dev/git/gcc/gcc/testsuite/../../libsanitizer/include
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++
-I/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/slyfox/dev/git/gcc/libstdc++-v3/libsupc++
-I/home/slyfox/dev/git/gcc/libstdc++-v3/include/backward
-I/home/slyfox/dev/git/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -O2
-std=c++11 -fsanitize=address -fno-builtin -Wall -Werror -g -DASAN_UAR=0
-DASAN_HAS_EXCEPTIONS=1 -DASAN_HAS_BLACKLIST=0 -DSANITIZER_USE_DEJAGNU_GTEST=1
-lasan -lpthread -ldl -DASAN_NEEDS_SEGV=1 -DASAN_AVOID_EXPENSIVE_TESTS=1 -msse2
-D__NO_INLINE__
/home/slyfox/dev/git/gcc/gcc/testsuite/g++.dg/asan/asan_globals_test-wrapper.cc
-B/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libsanitizer/
-B/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libsanitizer/asan/
-L/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libsanitizer/asan/.libs
-L/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs
-B/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs
-L/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libstdc++-v3/src/.libs
-B/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libitm/
-L/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/./libitm/.libs -lm -o
./asan_test.exe
In file included from
/home/slyfox/dev/git/gcc/gcc/testsuite/g++.dg/asan/asan_test.C:14:
/home/slyfox/dev/git/gcc/gcc/testsuite/g++.dg/asan/asan_test.cc: In function
'void AddressSanitizer_PvallocTest_fn()':
/home/slyfox/dev/git/gcc/gcc/testsuite/g++.dg/asan/asan_test.cc:129:22: error:
writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
/home/slyfox/dev/git/gcc/gcc/testsuite/g++.dg/asan/asan_test.cc:127:27: note:
at offset 4197 to an object with size 4196 allocated by 'pvalloc' here
/home/slyfox/dev/git/gcc/gcc/testsuite/g++.dg/asan/asan_test.cc:134:10: error:
writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
/home/slyfox/dev/git/gcc/gcc/testsuite/g++.dg/asan/asan_test.cc:132:21: note:
at offset 101 to an object with size 0 allocated by 'pvalloc' here
cc1plus: all warnings being treated as errors
compiler exited with status 1
Executing on host: /home/slyfox/dev/git/gcc-clean/gcc/testsuite/g++2/../../xg++
-B/home/slyfox/dev/git/gcc-clean/gcc/testsuite/g++2/../../
exceptions_enabled1444830.c -fsanitize=address -g
-I/home/slyfox/dev/git/gcc/gcc/testsuite/../../libsanitizer/include
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++
-I/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/slyfox/dev/git/gcc/libstdc++-v3/libsupc++
-I/home/slyfox/dev/git/gcc/libstdc++-v3/include/backward
-I/home/slyfox/dev/git/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -S
-o exceptions_enabled1444830.s (timeout = 300)
spawn -ignore SIGHUP
/home/slyfox/dev/git/gcc-clean/gcc/testsuite/g++2/../../xg++
-B/home/slyfox/dev/git/gcc-clean/gcc/testsuite/g++2/../../
exceptions_enabled1444830.c -fsanitize=address -g
-I/home/slyfox/dev/git/gcc/gcc/testsuite/../../libsanitizer/include
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -fdiagnostics-urls=never -nostdinc++
-I/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/home/slyfox/dev/git/gcc-clean/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/slyfox/dev/git/gcc/libstdc++-v3/libsupc++
-I/home/slyfox/dev/git/gcc/libstdc++-v3/include/backward
-I/home/slyfox/dev/git/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -S -o
exceptions_enabled1444830.s
FAIL: g++.dg/asan/asan_test.C -O2 (test for excess errors)
More information about the Gcc-bugs
mailing list