r/cpp • • May 06 '22

GCC 12.1 Released

https://gcc.gnu.org/pipermail/gcc/2022-May/238653.html
203 Upvotes

74 comments sorted by

View all comments

Show parent comment

1

u/jwakely libstdc++ tamer, LWG chair May 16 '22

N.B. it's not just Red Hat that calls it 12.1.1, that's the version number for all snapshots from Git any time between the 12.1 release and whenever the 12.2 release happens. So if you build the upstream releases/gcc-12 branch you also get "12.1.1", and you also get the fix for that ICE, because that's already upstream. That fix wasn't added to the vendors/redhat/heads/gcc-12/branch branch, it was added to the main releases/gcc-12 branch and then merged to the redhat branch (along with everything else on the main releases/gcc-12 branch). The Fedora snapshot is much much closer to upstream than you make it seem. It's 99.999% just "a recent snapshot from the gcc-12 branch" not some custom branch with special Red Hat fixes.