1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-not "cmp" } } */
5 extern void abort (void);
8 #define PLUSCC1(T, t, C) \
9 T pluscc##t##C (T a, T b) \
16 #define PLUSCC(T, t) PLUSCC1(T, t, a) PLUSCC1(T, t, b)
18 #define INCCC1(T, t, C) \
19 T inccc##t##C (T a, T b) \
26 #define INCCC(T, t) INCCC1(T, t, a) INCCC1(T, t, b)
28 #define PLUSCCONLY1(T, t, C) \
29 void pluscconly##t##C (T a, T b) \
35 #define PLUSCCONLY(T, t) PLUSCCONLY1(T, t, a) PLUSCCONLY1(T, t, b)
42 TEST (unsigned long, l
)
43 TEST (unsigned int, i
)
44 TEST (unsigned short, s
)
45 TEST (unsigned char, c
)
47 #define PLUSCCZEXT(C) \
48 unsigned long pluscczext##C (unsigned int a, unsigned int b) \
50 unsigned int sum = a + b; \