summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr46178.c
blob: 661e3fd9eac86f3910291976d0ae255828b12906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O -m8bit-idiv -fira-algorithm=priority" } */
/* This is the same as divmod-5.c, just with different options which
   trigger an ICE.  We don't look at the output.  */

extern void foo (int, int, int, int, int, int);

void
bar (int x, int y)
{
  foo (0, 0, 0, 0, x / y, x % y);
}