SH: Fix outage caused by recently added 2nd combine pass after reg alloc
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / divmod-5.c
blob8d179be9d053839c24c777f873d3ff4873d2f404
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -m8bit-idiv" } */
4 extern void foo (int, int, int, int, int, int);
6 void
7 bar (int x, int y)
9 foo (0, 0, 0, 0, x / y, x % y);
12 /* { dg-final { scan-assembler-times "divb" 1 } } */
13 /* { dg-final { scan-assembler-times "idivl" 1 } } */