URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2 -fdump-tree-pre-stats" } */
|
/* { dg-options "-O2 -fdump-tree-pre-stats" } */
|
typedef int type[2];
|
typedef int type[2];
|
type *t;
|
type *t;
|
int g(int);
|
int g(int);
|
int f(int tt)
|
int f(int tt)
|
{
|
{
|
type *t1 = t;
|
type *t1 = t;
|
if ((*t1)[0])
|
if ((*t1)[0])
|
(*t1)[0] = 2;
|
(*t1)[0] = 2;
|
return g((*t1)[0]);
|
return g((*t1)[0]);
|
}
|
}
|
|
|
/* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre" { xfail *-*-* } } } */
|
/* { dg-final { scan-tree-dump-times "Eliminated: 1" 1 "pre" { xfail *-*-* } } } */
|
/* { dg-final { cleanup-tree-dump "pre" } } */
|
/* { dg-final { cleanup-tree-dump "pre" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.