| | | | --- | --- | | Bugzilla Link | [52196](https://llvm.org/bz52196) | | Version | unspecified | | OS | Linux | | CC | @Kojoley | ## Extended Description With -- foo.cpp -- ```cpp int main() { return 0; } ``` ```console $ clang-14 -static -fsanitize=undefined foo.cpp -lstdc++ && ./a.out segmentation fault ./a.out ``` With gcc ```console $ gcc-10 -static -fsanitize=undefined foo.cpp -lstdc++ && ./a.out && echo $? 0 ```