URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 275 |
Rev 384 |
typedef struct
|
typedef struct
|
{
|
{
|
short f : 3;
|
short f : 3;
|
} small;
|
} small;
|
|
|
struct
|
struct
|
{
|
{
|
int i;
|
int i;
|
small s[4];
|
small s[4];
|
} x;
|
} x;
|
|
|
main ()
|
main ()
|
{
|
{
|
int i;
|
int i;
|
for (i = 0; i < 5; i++)
|
for (i = 0; i < 5; i++)
|
x.s[i].f = 0;
|
x.s[i].f = 0;
|
exit (0);
|
exit (0);
|
}
|
}
|
/* { dg-output "mudflap violation 1.*" } */
|
/* { dg-output "mudflap violation 1.*" } */
|
/* { dg-output "Nearby object.*" } */
|
/* { dg-output "Nearby object.*" } */
|
/* { dg-output "mudflap object.* x.*" } */
|
/* { dg-output "mudflap object.* x.*" } */
|
/* { dg-do run { xfail *-*-* } } */
|
/* { dg-do run { xfail *-*-* } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.