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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [winline-10.c] - Blame information for rev 328

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -Winline" } */
3
 
4
struct s { int a; };
5
 
6
inline void f (x)       /* { dg-warning "inlining .* mismatched arg" "" } */
7
     int x;
8
{
9
  asm ("");
10
}
11
 
12
void g (struct s x)
13
{
14
  f (x);                /* { dg-warning "called from here" "" } */
15
}
16
 
17
void f (int x);         /* { dg-warning "follows non-prototype definition" } */

powered by: WebSVN 2.1.0

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