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

            Bug ID: 121706
           Summary: runtime error during build
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I just tried a bootstrap build with UBSAN and got a runtime error.

Results are:

working $ grep -E "^Config|runtime error:" mk.out
...
Configuring stage 2 in ./libiberty
Configuring stage 2 in ./lto-plugin
Configuring stage 2 in ./fixincludes
Configuring stage 2 in ./zlib
Configuring stage 2 in ./libcody
Configuring stage 2 in ./libbacktrace
Configuring stage 2 in ./libdecnumber
Configuring stage 2 in ./libcpp
Configuring stage 2 in ./gcc
Configuring stage 2 in x86_64-pc-linux-gnu/libgcc
../../trunk/gcc/tree-vectorizer.h:276:3: runtime error: load of value 31695,
which is not 
a valid value for type 'internal_fn'
../../trunk/gcc/tree-vectorizer.h:276:3: runtime error: load of value
2147483648, which is
 not a valid value for type 'internal_fn'
../../trunk/gcc/tree-vectorizer.h:276:3: runtime error: load of value
4294967295, which is
 not a valid value for type 'internal_fn'
../../trunk/gcc/tree-vectorizer.h:276:3: runtime error: load of value
4294967295, which is
 not a valid value for type 'internal_fn'

Configure command was:

CFLAGS="-g -O3 -march=znver3 " \
CXXFLAGS="-g -O3 -march=znver3 " \
../trunk/configure --prefix=$HOME/gcc/results.$DATE \
        --disable-multilib \
        --disable-werror \
        --with-pkgversion=$HASH \
        --enable-checking=yes \
        --with-build-config="bootstrap-asan bootstrap-ubsan" \
        --enable-languages=c,c++,fortran

Git hash is 36ab9b9c6747032b, from date 20250827.

Reply via email to