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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr46183.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-fno-dse" } */
3
 
4
void bar(void);
5
 
6
void foo (int i, ...)
7
{
8
  __builtin_va_list ap;
9
  __builtin_va_start (ap, i);
10
  __builtin_va_arg (ap, int);
11
  while (i) i++;
12
  __builtin_va_arg (ap, int);
13
  while (i) i++;
14
  __builtin_va_arg (ap, int);
15
  while (i) i++;
16
  __builtin_va_arg (ap, int);
17
  if (i)
18
    bar ();
19
}
20
 

powered by: WebSVN 2.1.0

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