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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20071118-1.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
/* PR rtl-optimization/34132 */
2
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */
3
 
4
static char *m = "%s%u.msg";
5
extern void bar (int, const char *);
6
void foo (short x, int y, int z)
7
{
8
  if (x == 0)
9
    {
10
      bar (y, m);
11
      z = 1;
12
    }
13
  else if (x == 1)
14
    z = 0;
15
  bar (y, m);
16
  bar (z, "%d");
17
}

powered by: WebSVN 2.1.0

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