https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105860
--- Comment #2 from John Hodge <tpg+gcc at mutabah dot net> --- Created attachment 53144 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53144&action=edit Reproduction, partially minimised and including assertion Attached is an updated reproduction, that includes asserts. This fails the assert when compiled with gcc 10.3.0-1ubuntu1~20.04 when -O1 is passed, and passes when no optimisation is enabled. (Platform is x86_64, in case that wasn't already obvious from the disassembly)