https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100702
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- gcc.dg/Wstrict-overflow-7.c is the testcase for this.
pinskia at gcc dot gnu.org via Gcc-bugs Sun, 05 Sep 2021 15:21:43 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100702
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- gcc.dg/Wstrict-overflow-7.c is the testcase for this.