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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr42245-2.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 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.