https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94440
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Guess we should defer for GCC11 then, and figure out a way what OPTIMIZATION_NODE flags could be relevant for target globals (guess the vast majority isn't, most of them will be flags affecting FE or GIMPLE optimizations or what RTL passes are enabled/disabled), mark them some way in *.opt files and figure out how to force a new target node (or hash that) on switchable targets if any of those options changes.