https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101736
--- Comment #5 from Roy Sundahl <rsundahl at icloud dot com> --- (In reply to Andrew Pinski from comment #3) > A workaround is to do -fno-reorder-blocks-and-partition if you do > -fno-reorder-function That worked! Many thanks Andrew for vetting this bug so quickly and suggesting this workaround. It is greatly appreciated.