https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117992
--- Comment #4 from Icenowy Zheng <icenowy at aosc dot io> --- I don't think this issue is similar to 117739 , because in my case I didn't pass any parameters that are known to be negated by -fhardened -- there's at least no document that -fhardened will affect -flto. ``` icenowy@edelgard [ ~ ] $ gcc --help=hardened The following options are enabled by -fhardened: -D_FORTIFY_SOURCE=3 (or =2 for glibc < 2.35) -D_GLIBCXX_ASSERTIONS -ftrivial-auto-var-init=zero -fPIE -pie -Wl,-z,now -Wl,-z,relro -fstack-protector-strong -fstack-clash-protection -fcf-protection=full ``` Nothing here should clash with -flto, right?