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

            Bug ID: 117274
           Summary: New test case g++.dg/cpp2a/decomp10.C from
                    r14-10826-g7de78f7353f125 fails
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:7de78f7353f125663a22f5514159ea966a120049, r14-10826-g7de78f7353f125
make  -k check-gcc RUNTESTFLAGS="dg.exp=g++.dg/cpp2a/decomp10.C"
FAIL: g++.dg/cpp2a/decomp10.C  -std=gnu++14  (test for warnings, line 15)
FAIL: g++.dg/cpp2a/decomp10.C  -std=gnu++17  (test for warnings, line 15)

Looks like it is looking for a message that is not generated.

spawn -ignore SIGHUP
/home/seurer/gcc/git/build/gcc-14-test/gcc/testsuite/g++/../../xg++
-B/home/seurer/gcc/git/build/gcc-14-test/gcc/testsuite/g++/../../
/home/seurer/gcc/git/gcc-14-test/gcc/testsuite/g++.dg/cpp2a/decomp10.C
-fdiagnostics-plain-output -nostdinc++
-I/home/seurer/gcc/git/build/gcc-14-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include/powerpc64le-unknown-linux-gnu
-I/home/seurer/gcc/git/build/gcc-14-test/powerpc64le-unknown-linux-gnu/libstdc++-v3/include
-I/home/seurer/gcc/git/gcc-14-test/libstdc++-v3/libsupc++
-I/home/seurer/gcc/git/gcc-14-test/libstdc++-v3/include/backward
-I/home/seurer/gcc/git/gcc-14-test/libstdc++-v3/testsuite/util
-fmessage-length=0 -std=gnu++14 -S -o decomp10.s
/home/seurer/gcc/git/gcc-14-test/gcc/testsuite/g++.dg/cpp2a/decomp10.C: In
member function 'void tuple::check_tuple_like()':
/home/seurer/gcc/git/gcc-14-test/gcc/testsuite/g++.dg/cpp2a/decomp10.C:14:10:
warning: structured bindings only available with '-std=c++17' or '-std=gnu++17'
[-Wc++17-extensions]
PASS: g++.dg/cpp2a/decomp10.C  -std=gnu++14  (test for warnings, line 14)
FAIL: g++.dg/cpp2a/decomp10.C  -std=gnu++14  (test for warnings, line 15)


commit 7de78f7353f125663a22f5514159ea966a120049 (HEAD)
Author: Jason Merrill <ja...@redhat.com>
Date:   Tue Oct 22 16:37:49 2024 -0400

    c++: non-dep structured binding decltype again [PR117107]

            * g++.dg/cpp2a/decomp10.C: New test.

Reply via email to