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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-ssa/] [alias-12.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-alias-vops" } */
3
 
4
struct {
5
        int i;
6
        int x[128];
7
        int j;
8
} a;
9
 
10
int foo(int i)
11
{
12
        a.x[i] = 0;
13
        return a.x[i];
14
}
15
 
16
/* { dg-final { scan-tree-dump "VDEF" "alias" } } */
17
/* { dg-final { cleanup-tree-dump "alias" } } */
18
 

powered by: WebSVN 2.1.0

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