[Bug tree-optimization/107477] spurious -Wrestrict warning

2025-06-07 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107477 --- Comment #2 from Stas Sergeev --- Why unconfirmed?

[Bug tree-optimization/107477] spurious -Wrestrict warning

2022-10-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107477 --- Comment #1 from Andrew Pinski --- Adding: if (s < 0) __builtin_unreachable(); "fixes" the warning.