Debian Codegraph @

gcc/testsuite/gcc.target/avr/lra-elim.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-Os" } */
3
4 typedef int HItype __attribute__ ((mode (HI)));
5 HItype
6 __mulvhi3 (HItype a, HItype b)
7 {
8 HItype w;
9
10 if (__builtin_mul_overflow (a, b, &w))
11 __builtin_trap ();
12
13 return w;
14 }