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

            Bug ID: 124474
           Summary: [reflection] Excess errors in g++.dg/reflect/init11.C
                    on arm-linux-gnueabihf
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thiago.bauermann at linaro dot org
  Target Milestone: ---

This test fails on arm-linux-gnueabihf (tested on today's
r16-8067-g82656ffb6f1ed4):

Running /home/bauermann/src/gcc/gcc/testsuite/g++.dg/dg.exp ...
FAIL: g++.dg/reflect/init11.C  -std=c++26 (test for excess errors)

The excess errors are:

Excess errors:
/home/bauermann/src/gcc/gcc/testsuite/g++.dg/reflect/init11.C:19:24: error:
consteval-only expressions are only allowed in a constant-evaluated context
/home/bauermann/src/gcc/gcc/testsuite/g++.dg/reflect/init11.C:24:14: error:
consteval-only expressions are only allowed in a constant-evaluated context

I'll attach g++.log of the run (g++.dg/dg.exp was modified to only run the
g++.dg/reflect/ tests).

GCC configured with:

~/src/gcc/configure \
    SHELL=/bin/bash \
    --disable-gdb \
    --disable-gdbserver \
    --with-gnu-as \
    --with-gnu-ld \
    --enable-lto \
    --enable-shared \
    --without-included-gettext \
    --enable-nls \
    --with-system-zlib \
    --disable-sjlj-exceptions \
    --enable-gnu-unique-object \
    --enable-linker-build-id \
    --disable-libstdcxx-pch \
    --enable-c99 \
    --enable-clocale=gnu \
    --enable-libstdcxx-debug \
    --enable-long-long \
    --with-isl=no \
    --disable-multilib \
    --with-float=hard \
    --with-fpu=vfpv3-d16 \
    --with-mode=thumb \
    --with-tune=cortex-a9 \
    --with-arch=armv7-a \
    --enable-threads=posix \
    --enable-multiarch \
    --enable-libstdcxx-time=yes \
    --enable-gnu-indirect-function \
    --enable-checking=yes \
    --disable-bootstrap \
    --enable-languages=c,c++ \
    --with-sysroot=$SYSROOT_DIR \
    --prefix=/tmp/arm-linux-gnueabihf \
    --build=x86_64-pc-linux-gnu \
    --host=x86_64-pc-linux-gnu \
    --target=arm-linux-gnueabihf

Reply via email to