1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple" } */
3
foo(long n,long m)4 long foo(long n, long m)
5 {
6 return n - (n / m) * m;
7 }
8
9 /* { dg-final { scan-tree-dump "n % m" "gimple" } } */
10 /* { dg-final { cleanup-tree-dump "gimple" } } */
11