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

            Bug ID: 116810
           Summary: tree-vect-slp.cc:3721:18: runtime error: insufficient
                    space for an object of type 'bool'
           Product: gcc
           Version: 15.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 ASAN & UBSAN switched on.

I got:

working $ grep "runtime error:" mk.out | head
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7ffeccf7bec1 with insufficient space for an object of type 'bool'

Source code is

      matches[1] = false;

git blame says:

9aaedfc4146c gcc/tree-vect-slp.cc (Richard Biener       2024-07-05 10:35:08
+0200  3721)       matches[1] = false;

Configure script is:

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

sed 's;-O2;-O2 -march=znver3 -fno-var-tracking-assignments;' < Makefile >
Makefile.tmp
diff Makefile Makefile.tmp
mv Makefile.tmp Makefile

Further detail:

working $ grep -E "^Config|runtime error:" mk.out 
...
Configuring stage 2 in x86_64-pc-linux-gnu/libgcc
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7ffeccf7bec1 with insufficient space for an object of type 'bool'
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7ffffe8ad741 with insufficient space for an object of type 'bool'
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7ffd80152aa1 with insufficient space for an object of type 'bool'
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7ffc3b71e521 with insufficient space for an object of type 'bool'
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7ffc82548ee1 with insufficient space for an object of type 'bool'
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7ffc67ddf881 with insufficient space for an object of type 'bool'
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7ffd845cd581 with insufficient space for an object of type 'bool'
Configuring stage 2 in x86_64-pc-linux-gnu/libgomp
Configuring stage 2 in x86_64-pc-linux-gnu/libstdc++-v3
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7ffe25bff581 with insufficient space for an object of type 'bool'
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7ffe599e5401 with insufficient space for an object of type 'bool'
../../trunk/gcc/tree-vect-slp.cc:3721:18: runtime error: store to address
0x7fff277997c1 with insufficient space for an object of type 'bool'

Reply via email to