https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82846
--- Comment #3 from Andrey Guskov <andrey.y.guskov at intel dot com> --- No, the patch you mentioned does not fix the issue. The output I get is listed here: .file "fake.c" .text .Ltext0: .p2align 4,,15 .globl test_aligned_reading_s2 .type test_aligned_reading_s2, @function test_aligned_reading_s2: .LFB0: .cfi_startproc .LVL0: movb (%rdi), %al mulb 2(%rdi) ret .cfi_endproc .LFE0: .size test_aligned_reading_s2, .-test_aligned_reading_s2 .p2align 4,,15 .globl test_aligned_writing_s2 .type test_aligned_writing_s2, @function test_aligned_writing_s2: .LFB1: .cfi_startproc .LVL1: movb $5, (%rdi) movb $7, 2(%rdi) jmp test_aligned_reading_s2@PLT .LVL2: .cfi_endproc .LFE1: .size test_aligned_writing_s2, .-test_aligned_writing_s2 .p2align 4,,15 .globl test_aligned_reading_s4 .type test_aligned_reading_s4, @function