[Bug libstdc++/100415] runtime error: reference binding to null pointer of type 'const struct __forced_unwind'

marc.mutz at hotmail dot com gcc-bugzilla@gcc.gnu.org
Mon Dec 27 15:59:48 GMT 2021


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

--- Comment #2 from Marc Mutz <marc.mutz at hotmail dot com> ---
Confirmed with 

$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/d/gcc/11/libexec/gcc/x86_64-pc-linux-gnu/11.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/d/gcc/11
--enable-languages=c,c++,objc,fortran,obj-c++ --enable-release
--disable-multilib --program-suffix=-11 : (reconfigured) ../gcc/configure
--prefix=/d/gcc/11 --enable-languages=c,c++,objc,fortran,obj-c++
--enable-release --disable-multilib --program-suffix=-11
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.2.1 20211211 (GCC)

Work-around:
https://stackoverflow.com/questions/70378204/how-to-catch-abi-forced-unwind-while-keeping-ubsan-happy


More information about the Gcc-bugs mailing list