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 "-g" } */
|
/* { dg-options "-g" } */
|
|
|
/* Make sure we didn't eliminate foo because we thought it was unused. */
|
/* Make sure we didn't eliminate foo because we thought it was unused. */
|
|
|
struct foo
|
struct foo
|
{
|
{
|
int i;
|
int i;
|
};
|
};
|
|
|
int bar (void)
|
int bar (void)
|
{
|
{
|
return ((struct foo *)0x1234)->i;
|
return ((struct foo *)0x1234)->i;
|
}
|
}
|
|
|
/* { dg-final { scan-assembler "foo" } } */
|
/* { dg-final { scan-assembler "foo" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.