https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116810
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sjames at gcc dot gnu.org --- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- (In reply to David Binderman from comment #0) > 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' > You might get some nicer output with: export UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=0 (maybe changing 0 to 1 for halting depending on what you want) > 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 \ Are you sure this works? autoconf usually says the last one wins. You may need --with-build-config="bootstrap-asan bootstrap-ubsan" instead.