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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [warn-1.c] - Blame information for rev 247

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

Line No. Rev Author Line
1 149 jeremybenn
/* The compiler used to say passing arg 0 of, which is wrong.  */
2
/* Radar 3069179 */
3
 
4
/* { dg-options "-O3" } */
5
 
6
static void foo (p)
7
     int p;
8
{
9
}
10
 
11
void bar (void)
12
{
13
  void *vp;
14
 
15
  foo (vp);     /* { dg-warning "passing argument 1 of" } */
16
}

powered by: WebSVN 2.1.0

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