LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / divmod-5.c
blob8a8cee50ae2d4b05fcd682fd20e2aeca24455cf9
1 /* { dg-require-effective-target divmod_simode } */
2 /* { dg-options "-O2 -fdump-tree-widening_mul-details" } */
3 /* div and mod are not in same bb and
4 bb's containing div and mod don't dominate each other. */
6 int f(int x, int y)
8 int q = 0;
9 int r = 0;
10 extern int cond;
12 if (cond)
13 q = x / y;
15 r = x % y;
16 return q + r;
19 /* { dg-final { scan-tree-dump-times "DIVMOD" 0 "widening_mul" } } */