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" } } */