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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [aligned-section-anchors-nest-1.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target section_anchors } */
3
/* { dg-require-effective-target vect_int } */
4
 
5
#include <stdarg.h>
6
#include "tree-vect.h"
7
 
8
#define N 32
9
 
10
static int a[N][N];
11
static int b[N][N];
12
static int c[N][N];
13
 
14
void clobber(int *);
15
 
16
int *foo(void)
17
{
18
  int i;
19
  int j;
20
 
21
  clobber (&a[0][0]);
22
  clobber (&b[0][0]);
23
  clobber (&c[0][0]);
24
 
25
  for (i = 0; i < N; i++) {
26
      for (j = 0; j < N; j++) {
27
          c[j][i] += a[j][i] + c[j][i];
28
      }
29
  }
30
  return &c[0][0];
31
}
32
 
33
/* { dg-final { scan-ipa-dump-times "Increasing alignment of decl" 3 "increase_alignment" } } */
34
/* { dg-final { cleanup-ipa-dump "increase_alignment" } } */

powered by: WebSVN 2.1.0

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