https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120297
--- Comment #3 from Edwin Lu <ewlu at rivosinc dot com> --- Created attachment 61478 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61478&action=edit user-config-O2-lto.s Here's the assembly with -O2