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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr37156.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR debug/37156 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -g" } */
4
 
5
__attribute__ ((warning ("is experimental"))) int bar (int, int *, int *, int);
6
 
7
long long foo (void)
8
{
9
  int n, m;
10
  long long r;
11
  bar (0, &n, &m, 0);     /* { dg-warning "is experimental" } */
12
  r = (long long) n;
13
  return r;
14
}
15
 
16
void
17
baz (int n)
18
{
19
  int o;
20
  o = foo () - n;
21
}

powered by: WebSVN 2.1.0

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