https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97392

            Bug ID: 97392
           Summary: [11 regression]  g++.dg/asan/asan_test.C compilation
                    failure starting with r11-3827
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

make -k check-gcc RUNTESTFLAGS=asan.exp=g++.dg/asan/asan_test.C

FAIL: g++.dg/asan/asan_test.C   -O2  (test for excess errors)

# of unexpected failures        1
# of unsupported tests          6
# of unresolved testcases       1

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test.C
-fsanitize=address -g
-I/home/seurer/gcc/git/gcc-test/gcc/testsuite/../../libsanitizer/include
-fdiagnostics-plain-output -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/util -fmessage-length=0
-O2 -std=c++11 -fsanitize=address -fno-builtin -Wall -Werror
-Wno-alloc-size-larger-than -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 -D__NO_INLINE__
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_globals_test-wrapper.cc
-dumpbase 
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libsanitizer/
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libsanitizer/asan/
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libsanitizer/asan/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libstdc++-v3/src/.libs
-B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libitm/
-L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libitm/.libs
-lm -o ./asan_test.exe
In file included from
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/sanitizer_test_config.h:23,
                 from
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/sanitizer_test_utils.h:26,
                 from
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test_utils.h:21,
                 from
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test.cc:11,
                 from
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test.C:15:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test.cc: In
function 'void {anonymous}::AddressSanitizer_WildAddressTest_fn()':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test.cc:255:19:
error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/dejagnu-gtest.h:63:9:
note: in definition of macro 'EXPECT_DEATH'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test.cc: In
function 'void AddressSanitizer_ShadowGapTest_fn()':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test.cc:939:22:
error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/dejagnu-gtest.h:63:9:
note: in definition of macro 'EXPECT_DEATH'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test.cc: In
function 'void {anonymous}::AddressSanitizer_SignalTest_fn()':
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test.cc:279:19:
error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/dejagnu-gtest.h:63:9:
note: in definition of macro 'EXPECT_DEATH'
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test.cc:282:19:
error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/dejagnu-gtest.h:63:9:
note: in definition of macro 'EXPECT_DEATH'
cc1plus: all warnings being treated as errors

Reply via email to