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

--- Comment #2 from Torbjorn SVENSSON <azoff at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> They definitely work on x86_64-linux (and aarch64-linux, i686-linux,
> s390x-linux, powerpc64le-linux).

I am a bit confused here.

I've built r16-8253-geb50d28a9353e9 with the following commands:

$ mkdir build
$ cd build
$ ../gcc/configure --prefix=$PWD/../install --disable-multilib
--enable-languages=c,c++ && make -j8 && make install

$ cd ..
$ mkdir test
$ cd test
$ cat > site.exp <<EOF
set rootme "$PWD"
set srcdir "$PWD/../gcc"
set host_triplet x86_64-pc-linux-gnu
set build_triplet x86_64-pc-linux-gnu
set target_triplet x86_64-pc-linux-gnu
set target_alias x86_64-pc-linux-gnu
set libiconv ""
set CFLAGS ""
set CXXFLAGS ""
set HOSTCC "gcc"
set HOSTCXX "g++"
set HOSTCFLAGS "-g -O2  "
set HOSTCXXFLAGS "-g -O2  "
set HAVE_LIBSTDCXX_V3 1
set ENABLE_PLUGIN 1
set PLUGINCC "g++"
set PLUGINCFLAGS "-g"
set tmpdir $PWD/test
set srcdir "\${srcdir}/testsuite"
EOF
$ PATH=$PWD/../install/bin:$PATH runtest --tool g++ --verbose
'dg.exp=reflect_constant_*2.C'
.....

$ cat g++.sum
Test run by user on Tue Mar 24 16:01:15 2026
Native configuration is x86_64-pc-linux-gnu

                === g++ tests ===

Schedule of variations:
    unix

Running target unix
Running /build/gcc_src/gcc/testsuite/g++.dg/dg.exp ...
FAIL: g++.dg/reflect/reflect_constant_array2.C  -std=c++26  at line 13 (test
for errors, line 12)
FAIL: g++.dg/reflect/reflect_constant_array2.C  -std=c++26  at line 17 (test
for errors, line 16)
FAIL: g++.dg/reflect/reflect_constant_array2.C  -std=c++26 (test for excess
errors)
PASS: g++.dg/reflect/reflect_constant_string2.C  -std=c++26  (test for errors,
line 12)
PASS: g++.dg/reflect/reflect_constant_string2.C  -std=c++26  (test for errors,
line 13)
FAIL: g++.dg/reflect/reflect_constant_string2.C  -std=c++26  (test for errors,
line 14)
FAIL: g++.dg/reflect/reflect_constant_string2.C  -std=c++26 (test for excess
errors)

                === g++ Summary ===

# of expected passes            2
# of unexpected failures        5
/build/install/bin/c++  version 16.0.1 20260323 (experimental) (GCC)



Am I missing something here?

Reply via email to