https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90886
Joe <joe at freakyacres dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|7.3.0 |7.4.0 --- Comment #8 from Joe <joe at freakyacres dot com> --- Here is assembler under 7.4.0... Segmentation fault with i=128. Any other value within the bounds of unsigned char is ok. i=128 00000000000004f0 <main>: 4f0: c6 05 1a 0b 20 00 00 movb $0x0,0x200b1a(%rip) # 201011 <x> 4f7: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 4fe: 00 00 i=129 00000000000004f0 <main>: 4f0: 31 c0 xor %eax,%eax 4f2: 88 05 19 0b 20 00 mov %al,0x200b19(%rip) # 201011 <x> 4f8: ff c0 inc %eax 4fa: 3c 81 cmp $0x81,%al 4fc: 75 f4 jne 4f2 <main+0x2> 4fe: eb f0 jmp 4f0 <main>