From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EC7743857C5B; Mon, 12 Oct 2020 22:46:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC7743857C5B From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/97392] New: [11 regression] g++.dg/asan/asan_test.C compilation failure starting with r11-3827 Date: Mon, 12 Oct 2020 22:46:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2020 22:46:25 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97392 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=3Dasan.exp=3Dg++.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=3Daddress -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-lengt= h=3D0 -O2 -std=3Dc++11 -fsanitize=3Daddress -fno-builtin -Wall -Werror -Wno-alloc-size-larger-than -g -DASAN_UAR=3D0 -DASAN_HAS_EXCEPTIONS=3D1 -DASAN_HAS_BLACKLIST=3D0 -DSANITIZER_USE_DEJAGNU_GTEST=3D1 -lasan -lpthread= -ldl -DASAN_NEEDS_SEGV=3D1 -DASAN_AVOID_EXPENSIVE_TESTS=3D1 -D__NO_INLINE__ /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_globals_test-w= rapper.cc -dumpbase=20 -B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libsani= tizer/ -B/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libsani= tizer/asan/ -L/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/./libsani= tizer/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_conf= ig.h:23, from /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/sanitizer_test_util= s.h:26, from /home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/asan/asan_test_utils.h:2= 1, 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=3Dstringop-overflow= =3D] /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=3Dstringop-overflow= =3D] /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=3Dstringop-overflow= =3D] /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=3Dstringop-overflow= =3D] /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=