OSDN Git Service

PR tree-optimization/52019
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr28402.c
1 /* { dg-options "" } */
2 typedef long long ll;
3 typedef unsigned long long ull;
4
5 int global;
6
7 #define A(BASE, OP, AMT) \
8   ll BASE ## AMT (ll x) { return x OP AMT; } \
9   ull BASE ## AMT ## u (ull x) { return x OP AMT; }
10
11 #define B(BASE, OP) \
12   A (BASE, OP, 1) \
13   A (BASE, OP, 10) \
14   A (BASE, OP, 31) \
15   A (BASE, OP, 33) \
16   A (BASE, OP, 61) \
17   A (BASE, OP, global)
18
19 B (left, <<)
20 B (right, >>)
21
22 /* { dg-final { scan-assembler-not "__\[a-z\]*si3" } } */