https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80403
--- Comment #11 from Dmitry Babokin <babokin at gmail dot com> --- I confirm that the latest patch fixes all UBSAN compile time problems that I have. Thanks! Though correctness issues remain - PR80386.