https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82302
--- Comment #11 from Martin Liška <marxin at gcc dot gnu.org> --- Created attachment 42253 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42253&action=edit UBSAN errors Well, the issue is fixed on trunk by r247277, which is a revision that changes inlining decisions. It's not culprit. Anyway, before a deeper investigation, I would like to see fixed UBSAN errors (-fsanitize=undefined). Can you please take a look at these.