Debian Codegraph @

gcc/testsuite/gcc.target/i386/divmod-9.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 int foo (int x)
5 {
6 return 100/x;
7 }
8
9 int bar(int x)
10 {
11 return -100/x;
12 }
13 /* { dg-final { scan-assembler-not "(cltd|cdq)" } } */
14