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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr42245-2.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } } */
2
/* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining" } */
3
 
4
int
5
strictly_smaller_name (char *s, char *t)
6
{
7
  int ss, tt;
8
  while ((*s != '\0') || (*t != '\0'))
9
    {
10
      if (*s == '\0')
11
        ss = '*';
12
      else
13
        ss = *s++;
14
      if (*t != '\0')
15
        tt = *t;
16
      if (ss == tt)
17
        return 0;
18
    }
19
}
20
 

powered by: WebSVN 2.1.0

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