https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116488
--- Comment #13 from Mikael Pettersson <mikpelinux at gmail dot com> --- And gcc.dg/torture/pr116915.c which was also added for this BZ invokes UB on int16 targets: pr116915.c: In function 'main': pr116915.c:8:20: warning: iteration 32768 invokes undefined behavior [-Waggressive-loop-optimizations] 8 | for (; f != 1; f = (short)(f - 1)) { | ~~^~~~~~~~~~~~~~~~ pr116915.c:8:12: note: within this loop 8 | for (; f != 1; f = (short)(f - 1)) { | Locally I skip this one too on int16.