OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr18425.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { 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" } } */
17
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.