OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [winline-7.c] - Blame information for rev 149

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-Winline -O2" } */
3
 
4
extern void *alloca (__SIZE_TYPE__);
5
 
6
void big (void);
7
inline void *q (void)
8
{                               /* { dg-warning "(function not inlinable|alloca)" } */
9
        return alloca (10);
10
}
11
inline void *t (void)
12
{
13
        return q ();             /* { dg-warning "called from here" } */
14
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.