https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102238
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|102216 | --- Comment #8 from Martin Sebor <msebor at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #7) > This issue is blocking the patch which I have created for PR 102216 and that > is how I found this issue so yes it is still blocking PR 102216. I don't see what this problem has to do with pr102216 or how it's blocking your progress on it. pr102216 is a GCC 12 regression that apparently results in a -Warray-bounds false positive. The problem here is a false negative due to a limitation that was introduced in GCC 10 (in r278098) with the initial implementation of -Wrestrict for sprintf. The two have nothing in common that I can see. Is your fix causing an existing test to fail because it changes the IL in a way that prevents the warning from triggering? (That shouldn't make it a blocker as the test could be xfailed until this is fixed, but if you need me to do something you need to explain what and why.) Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102216 [Bug 102216] [12 Regression] missed optimization causing Warray-bounds