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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr46002.c] - Blame information for rev 745

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

Line No. Rev Author Line
1 688 jeremybenn
/* { dg-options "-fira-algorithm=priority" } */
2
char **
3
foo (char **p, char *cmp, unsigned i)
4
{
5
  for (; *p; p++)
6
    if (__builtin_strncmp (*p, cmp, i))
7
      if (i == __builtin_strlen (*p))
8
        break;
9
  return p;
10
}

powered by: WebSVN 2.1.0

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