/* { dg-do compile { target { { ! ia32 } && nonpic } } } */ /* { dg-options "-Os -fomit-frame-pointer -ffixed-rax -ffixed-rbx -ffixed-rcx -ffixed-rdx -ffixed-rdi -ffixed-rsi -ffixed-r8 -ffixed-r9 -ffixed-r10 -ffixed-r11 -ffixed-r12 -ffixed-r13 -ffixed-r14 -ffixed-r15" } */ /* { dg-final { scan-assembler-not "movl\[ \t\]0\\(%.*\\), %.*" } } */ typedef unsigned short uint16_t; uint16_t a_global; void function (uint16_t **a_p) { // unaligned access by address in %rbp: mov 0x0(%rbp),%ebp a_global = **a_p; }