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/] [g++.dg/] [lto/] [20080917_0.C] - Blame information for rev 318

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

Line No. Rev Author Line
1 301 jeremybenn
// { dg-lto-do assemble }
2
// { dg-lto-options {{-O2 -flto -funsigned-char}} }
3
int
4
foo (char *s, int flag)
5
{
6
  for (;;)
7
    {
8
      unsigned char c;
9
      if (flag)
10
        c = *s;
11
      else
12
        c = *s;
13
      return c;
14
    }
15
}
16
 
17
int
18
baz (const char *s, int flag)
19
{
20
  for (;;)
21
    {
22
      unsigned char c;
23
      if (flag)
24
        c = *s;
25
      else
26
        c = *s;
27
      return c;
28
    }
29
}

powered by: WebSVN 2.1.0

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