URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* We shouldn't crash trying to produce the inlined structure type die debug info. */
|
/* We shouldn't crash trying to produce the inlined structure type die debug info. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O1 -g" } */
|
/* { dg-options "-O1 -g" } */
|
inline void bar(char a[], unsigned int l)
|
inline void bar(char a[], unsigned int l)
|
{
|
{
|
asm volatile ("" :: "m" ( *(struct {char x[l]; } *)a));
|
asm volatile ("" :: "m" ( *(struct {char x[l]; } *)a));
|
}
|
}
|
|
|
void foo(void)
|
void foo(void)
|
{
|
{
|
bar (0, 0);
|
bar (0, 0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.