URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 816 |
Rev 826 |
/* { dg-do run } */
|
/* { dg-do run } */
|
/* { dg-options "-ftree-loop-distribution" } */
|
/* { dg-options "-ftree-loop-distribution" } */
|
|
|
extern void abort(void);
|
extern void abort(void);
|
|
|
struct epic_private
|
struct epic_private
|
{
|
{
|
unsigned int *rx_ring;
|
unsigned int *rx_ring;
|
unsigned int rx_skbuff[5];
|
unsigned int rx_skbuff[5];
|
};
|
};
|
|
|
int
|
int
|
main (void)
|
main (void)
|
{
|
{
|
struct epic_private ep;
|
struct epic_private ep;
|
unsigned int rx_ring[5];
|
unsigned int rx_ring[5];
|
int i;
|
int i;
|
|
|
ep.rx_skbuff[0] = 5;
|
ep.rx_skbuff[0] = 5;
|
|
|
ep.rx_ring = rx_ring;
|
ep.rx_ring = rx_ring;
|
|
|
for (i = 0; i < 5; i++)
|
for (i = 0; i < 5; i++)
|
{
|
{
|
ep.rx_ring[i] = i;
|
ep.rx_ring[i] = i;
|
ep.rx_skbuff[i] = 0;
|
ep.rx_skbuff[i] = 0;
|
}
|
}
|
|
|
if (ep.rx_skbuff[0] != 0)
|
if (ep.rx_skbuff[0] != 0)
|
abort ();
|
abort ();
|
|
|
return 0;
|
return 0;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.