https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70955
--- Comment #21 from Steven Shi <steven.shi at intel dot com> --- Vries, Sorry, my bad. I didn't apply your patch completely. Yes, your patch works. And with your patch, my UEFU firmware gcc lto build pass and boot successfully. Hope we could check in a formal fix ASAP, because the lto build is Uefi firmware GCC default build now. This regression bug block us to adopt new version GCC on Uefi firmware. Thanks!