https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104334
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto, wrong-code Severity|normal |blocker --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >So most probably LTO bootstrap is the trigger :(. Maybe you could throw some "#pragma GCC optimize" in some files to figure out which file has the function that is being miscompiled. Maybe then narrow it down using the optimize attribute?