https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120145
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |sparc64-openbsd Keywords| |build, wrong-code Build| |sparc64-openbsd Host| |sparc64-openbsd --- Comment #37 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Can you try BOOT_CXXFLAGS="-O2 -g -fno-tree-vectorize" ? I Know everyone else is focusing on PIC but you did pin point to a change in the vectorizer that causes the issue so let's see if turning off the vectorizer works for the bootstrap. And then let's dig from there backwards to understand what is going wrong.