The solution from Bob Steagall with his gcc-builder works very well because the latest GCC won't be uninstalled and I can even switch multiple GCC versions I need. I found these two articles are very useful:
Ask Fedora is community maintained and Red Hat or Fedora Project is not responsible for content. Content on this site is licensed under a CC-BY-SA 3.0 license.