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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr30784.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-require-effective-target vect_int } */
2
 
3
#include <stdarg.h>
4
#include "tree-vect.h"
5
 
6
long stack_vars_sorted[32];
7
 
8
int
9
main1 (long n)
10
{
11
  long si;
12
 
13
  for (si = 0; si < n; ++si)
14
    stack_vars_sorted[si] = si;
15
}
16
 
17
int main ()
18
{
19
  long si;
20
 
21
  check_vect ();
22
  main1 (32);
23
 
24
  for (si = 0; si < 32; ++si)
25
    if (stack_vars_sorted[si] != si)
26
      abort ();
27
 
28
  return 0;
29
}
30
/* { 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.