OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20071118-1.c] - Blame information for rev 384

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.