https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81519
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> --- Ok, so I've briefly investigated source code and providing such information is definitely not a simple task :/ I would recommend to fix PR39851 and then one will just compare output of following 2 invocations: gcc --help=target -Q gcc --help=target -march=native -Q Will it work for you? Note that fully understand which ISA extensions are enable when is also quite complex.