aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr59880.c
blob: 5a116925febbfcc0bf30f2c21e6dcf8012a846cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR target/59880 */
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2 -mtune=silvermont" } */

register unsigned int r13 __asm ("r13");
unsigned long long
foo (void)
{
  return r13;
}

/* Ensure we don't emit a useless zero-extension after another
   zero-extension.  */
/* { dg-final { scan-assembler-not "%eax, %eax" } } */