1 /* PR rtl-optimization/95862 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
9 return __builtin_mul_overflow (a
, b
, &c
);
13 f2 (int a
, unsigned b
)
16 return __builtin_mul_overflow (a
, b
, &c
);
20 f3 (unsigned a
, unsigned b
)
23 return __builtin_mul_overflow (a
, b
, &c
);
27 f4 (int a
, unsigned b
)
30 return __builtin_mul_overflow (a
, b
, &c
);
37 return __builtin_mul_overflow (a
, b
, &c
);
41 f6 (short a
, unsigned short b
)
44 return __builtin_mul_overflow (a
, b
, &c
);
48 f7 (unsigned short a
, unsigned short b
)
51 return __builtin_mul_overflow (a
, b
, &c
);
55 f8 (short a
, unsigned short b
)
58 return __builtin_mul_overflow (a
, b
, &c
);
62 f9 (signed char a
, signed char b
)
65 return __builtin_mul_overflow (a
, b
, &c
);
69 f10 (signed char a
, unsigned char b
)
72 return __builtin_mul_overflow (a
, b
, &c
);
76 f11 (unsigned char a
, unsigned char b
)
79 return __builtin_mul_overflow (a
, b
, &c
);
83 f12 (signed char a
, unsigned char b
)
86 return __builtin_mul_overflow (a
, b
, &c
);