summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr34027-2.c
blob: 70c4561d0f10635564538ec259042499403a72f2 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-fdump-tree-gimple" } */

long foo(long n, long m)
{
  return n - (n / m) * m;
}

/* { dg-final { scan-tree-dump "n % m" "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */