[Bug libstdc++/106149] New: [13 regression] g++.dg/warn/Warray-bounds-16.C had bogus errors after r13-1366-g1eef21ccfa5988
seurer at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 30 18:21:52 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106149
Bug ID: 106149
Summary: [13 regression] g++.dg/warn/Warray-bounds-16.C had
bogus errors after r13-1366-g1eef21ccfa5988
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
Target Milestone: ---
g:1eef21ccfa5988a23a3b71a99613f27ea6a26da6, r13-1366-g1eef21ccfa5988
make -k check-gcc RUNTESTFLAGS="--target_board=unix'{-m32}'
dg.exp=g++.dg/warn/Warray-bounds-16.C"
FAIL: g++.dg/warn/Warray-bounds-16.C -std=gnu++98 pr102690 (test for bogus
messages, line 22)
FAIL: g++.dg/warn/Warray-bounds-16.C -std=gnu++14 pr102690 (test for bogus
messages, line 22)
FAIL: g++.dg/warn/Warray-bounds-16.C -std=gnu++17 pr102690 (test for bogus
messages, line 22)
FAIL: g++.dg/warn/Warray-bounds-16.C -std=gnu++20 pr102690 (test for bogus
messages, line 22)
# of expected passes 4
# of unexpected failures 4
I am seeing this only for -m32 test runs.
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/warn/Warray-bounds-16.C -m32
-fdiagnostics-plain-output -nostdinc++
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/32/libstdc++-v3/include/powerpc64-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-test/powerpc64-unknown-linux-gnu/32/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
-std=gnu++98 -O2 -Wall -fdump-tree-optimized -S -o Warray-bounds-16.s
In constructor 'S::S(int)',
inlined from 'void __static_initialization_and_destruction_0()' at
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C:26:7,
inlined from '(static initializers for
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C)' at
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C:26:8:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C:22:7:
warning: array subscript [0, 536870911] is outside array bounds of 'void [0]'
[-Warray-bounds]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/warn/Warray-bounds-16.C:19:51:
note: object of size 0 allocated by 'operator new []'
FAIL: g++.dg/warn/Warray-bounds-16.C -std=gnu++98 pr102690 (test for bogus
messages, line 22)
commit 1eef21ccfa5988a23a3b71a99613f27ea6a26da6
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Jun 28 16:09:21 2022 +0100
libstdc++: Improve exceptions thrown from fs::temp_directory_path
More information about the Gcc-bugs
mailing list