https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Mathieu Malaterre from comment #4) > > So the original > > (upstream) code is somewhat buggy as it rely on lazy init for global var. > > Those global vars are in different namespace, I actually fail to underwhat > why the definition with ",cpu=power10" gets pulled in... Because `#pragma GCC target targets_str` is global state and unrelated to namespace ...