https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 --- Comment #8 from Chinoune <chinoune.mehdi at hotmail dot com> --- (In reply to Thomas Koenig from comment #7) > Fun fact: -flto also fixes it. It fixes the first test not the second (comment #5)