URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-Winline -O2" } */
|
/* { dg-options "-Winline -O2" } */
|
|
|
extern void *alloca (__SIZE_TYPE__);
|
extern void *alloca (__SIZE_TYPE__);
|
|
|
void big (void);
|
void big (void);
|
inline void *q (void)
|
inline void *q (void)
|
{ /* { dg-warning "(function not inlinable|alloca)" } */
|
{ /* { dg-warning "(function not inlinable|alloca)" } */
|
return alloca (10);
|
return alloca (10);
|
}
|
}
|
inline void *t (void)
|
inline void *t (void)
|
{
|
{
|
return q (); /* { dg-warning "called from here" } */
|
return q (); /* { dg-warning "called from here" } */
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.