1 /* { dg-do compile } */ 2 /* { dg-options "-O2 -m8bit-idiv" } */ 3 4 extern void foo (int, int, int, int, int, int); 5 6 void bar(int x,int y)7bar (int x, int y) 8 { 9 foo (0, 0, 0, 0, x / y, x % y); 10 } 11 12 /* { dg-final { scan-assembler-times "divb" 1 } } */ 13 /* { dg-final { scan-assembler-times "idivl" 1 } } */ 14