aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr97322.c
blob: f253c0d7616a5e122e9390583f6d0b1d2d537fec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR target/97322 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

void
foo (unsigned long long x, unsigned long long *y)
{
  y[0] = x / 10;
  y[1] = x % 10;
}

void
bar (unsigned int x, unsigned int *y)
{
  y[0] = x / 10;
  y[1] = x % 10;
}