PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr59880.c
blob5a116925febbfcc0bf30f2c21e6dcf8012a846cd
1 /* PR target/59880 */
2 /* { dg-do compile { target { ! ia32 } } } */
3 /* { dg-options "-O2 -mtune=silvermont" } */
5 register unsigned int r13 __asm ("r13");
6 unsigned long long
7 foo (void)
9 return r13;
12 /* Ensure we don't emit a useless zero-extension after another
13 zero-extension. */
14 /* { dg-final { scan-assembler-not "%eax, %eax" } } */