https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82738 Bug 82738 depends on bug 111875, which changed state.
Bug 111875 Summary: With -Og ubsan check inserted even though __builtin_assume_aligned guarantees no UB https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111875 What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID