https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59291
pietro <pietro.gcc at sociotechnical dot xyz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pietro.gcc at sociotechnical dot x | |yz --- Comment #1 from pietro <pietro.gcc at sociotechnical dot xyz> --- Is this still valid? GCC 14 on the Compiler Explorer[0] show GCC 9.5 producing the same assembly, but 12 and above (it doesn't have SH GCC 10 and 11) produces: _test2: cmp/eq r5,r4 mov r5,r1 add r6,r1 add #1,r1 rts movt r0 [0]: https://godbolt.org/z/668ax5ehj