| 1 |
/* { dg-do compile } */ |
| 2 |
/* ??? Using "long" isn't quite right; we're testing vectors of pointers here. |
| 3 |
But since no extant target supports sizeof(long) != sizeof(void*)... */ |
| 4 |
/* { dg-require-effective-target vect_long } */ |
| 5 |
|
| 6 |
char ** _M_allocate(); |
| 7 |
void |
| 8 |
_M_fill_insert(unsigned int __n) |
| 9 |
{ |
| 10 |
char **__new_start = _M_allocate(); |
| 11 |
char *__tmp = 0; |
| 12 |
for (; __n > 0; --__n, ++__new_start) |
| 13 |
*__new_start = __tmp; |
| 14 |
} |
| 15 |
|
| 16 |
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ |