summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr35281.c
blob: 70e93cbeac09479e9bd387e55e3f28872ddf9743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-options "-O2" } */
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */

unsigned long long a;
unsigned int b;
unsigned short c;

unsigned long long mul32()
{
  return a * b;
}

unsigned long long mul16()
{
  return a * c;
}

/* { dg-final { scan-assembler-not "xor" } } */