blob: 6f3a36b4b56928d346daf73bb93cc121394697ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* { dg-do compile } */
typedef unsigned long int *mp_ptr;
typedef const unsigned long int *mp_srcptr;
gmpz_export (void *data)
{
mp_srcptr zp;
int count, i;
mp_ptr __dst = ((mp_ptr) data);
mp_srcptr __src = (zp);
for (i = 0; i < count; i++)
{
__asm__ ("checkme": "=r" (*__dst):"0" (*(__src)));
__src++;
}
}
/* { dg-final { cleanup-tree-dump "vect" } } */
|