summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr92591-1.c
blob: 0f9365d06e5f1e1515e3b54da0f976624513395a (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR rtl-optimization/92591 */
/* { dg-do compile } */
/* { dg-options "-O2 -fmodulo-sched -fweb -fno-dce -fno-ivopts -fno-sched-pressure -fno-tree-loop-distribute-patterns --param sms-dfa-history=1" } */
/* { dg-additional-options "-mcpu=e500mc" { target { powerpc-*-* } } } */

void
wf (char *mr, int tc)
{
  while (tc-- > 0)
    *mr++ = 0;
}