fix regression in GCC 12.1 + 12.2 with wrong warnings#18434
fix regression in GCC 12.1 + 12.2 with wrong warnings#18434boegel merged 2 commits intoeasybuilders:developfrom
Conversation
|
@boegelbot please test @ generoso |
|
@casparvl: Request for testing this PR well received on login1 PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 1660599405 processed Message to humans: this is just bookkeeping information for me, |
|
@boegelbot please test @ jsc-zen2 |
|
@casparvl: Request for testing this PR well received on jsczen2l1.int.jsc-zen2.easybuild-test.cluster PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 1660645379 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
|
Test report by @boegelbot |
|
Test report by @casparvl |
|
Test report by @Flamefire |
|
Test report by @boegel |
|
Going in, thanks @Flamefire! |
(created using
eb --new-pr)This is basically https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105593 which is a regression in GCC 12 not present in GCC 11 and seemingly fixed in GCC 12.3
The issue is only diagnostics, no behavior change. But some software treats warnings as errors making them fail to compile without workarounds.
It also only affects x86 targets with AVX2 or AVX512.
Errors/Warnings fixed by this looked like:
See also pytorch/pytorch#77939 & pytorch/pytorch#104519
The patches are gcc-mirror/gcc@72af61b which requires gcc-mirror/gcc@732d744 which requires gcc-mirror/gcc@aabebf7
I combined the latter 2 into 1 patch file as they are basically the same and the last one mostly only required such that the 2nd applies cleanly although it fixes another issue.