2 /* { dg-do run { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
3 /* { dg-options "-g" } */
5 int __attribute__((noinline
))
6 foo (unsigned short *p
)
9 asm volatile ("nop" : : "D" ((int) *p
));
10 asm volatile ("nop" : : "D" ((int) *p
)); /* { dg-final { gdb-test 10 "a" "0x8078" } } */
14 int __attribute__((noinline
))
18 asm volatile ("nop" : : "D" ((unsigned int) *p
));
19 asm volatile ("nop" : : "D" ((unsigned int) *p
)); /* { dg-final { gdb-test 19 "a" "0xffff8078" } } */
26 unsigned short us
= 0x8078;