1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -march=k8" } */
3 /* { dg-final { scan-assembler "and\[^\\n\]*magic" } } */
5 /* Should be done as "andw $32767, magic". */
6 static unsigned short magic
;
9 magic
%=(unsigned short)0x8000U
;