Debian Codegraph @

gcc/testsuite/gcc.target/avr/torture/pr98762.c

raw
1 /* { dg-do run } */
2 /* { dg-additional-options "-std=c99" } */
3
4 long long acc = 0x1122334455667788;
5
6 __attribute__((noipa))
7 void addhi (short a)
8 {
9 acc += (long long) a << 32;
10 }
11
12 int main (void)
13 {
14 addhi (0x0304);
15 if (acc != 0x1122364855667788)
16 __builtin_abort();
17
18 return 0;
19 }