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/] [parm-impl-decl-3.c] - Blame information for rev 310

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

Line No. Rev Author Line
1 298 jeremybenn
/* Like parm-impl-decl-1.c, but with -g.  PR 43381.  */
2
/* Origin: Joseph Myers <joseph@codesourcery.com> */
3
/* { dg-do compile } */
4
/* { dg-options "-g" } */
5
 
6
int
7
foo (int __attribute__ ((__mode__ (vector_size(8)))) i) /* { dg-warning "'__mode__' attribute ignored" } */
8
{
9
  return (long long) i;
10
}
11
 
12
int f (int [sizeof(g())]);
13
int f1 (int [sizeof(g1())]);
14
 
15
int g () { return 1; }
16
 
17
int
18
h (int (*p)[sizeof(i())])
19
{
20
  int g2 (), g3 ();
21
  return (*p)[0] + g3() + g2();
22
}
23
 
24
int i () { return 2; }
25
 
26
int f2 (int [sizeof(g2())]);
27
int f3 (int [sizeof(g3())]);
28
int g3 () { return 4; }

powered by: WebSVN 2.1.0

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