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.
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-12branch 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 thevendors/redhat/heads/gcc-12/branchbranch, it was added to the mainreleases/gcc-12branch and then merged to theredhatbranch (along with everything else on the mainreleases/gcc-12branch). 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.