https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86007
--- Comment #3 from Ștefan Talpalaru <stefantalpalaru at yahoo dot com> --- The problem persists in 8.2.0 and in current trunk. You need to run that command a hundred of times or so, on a Piledriver, to replicate it: for i in `seq 1 100`; do gcc -S t.c -march=native -v 2>&1 | grep lwp | sed -e 's/.*\(-m\(no-\)\?lwp\).*/\1/'; done | grep '\-mlwp' | wc -l