https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78599
--- Comment #2 from prathamesh3492 at gcc dot gnu.org --- Hi Markus, Thanks for the report, I am able to reproduce it with ubsan-built gcc (--with-build-config=bootstrap-ubsan) on x86_64-unknown-linux-gnu. I am looking into it. Thanks, Prathamesh