1 /* PR sanitizer/81281 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump-not "\[+=-] \?123\[ ;]" "optimized" } } */
6 #ifdef __SIZEOF_INT128__
8 f1 (int a
, long long b
)
17 f2 (int a
, long long b
)
19 signed char f
= 123 + a
;
20 signed char g
= 123 + b
;
25 f3 (unsigned int a
, unsigned long long b
)
27 signed char f
= 123 + a
;
28 signed char g
= 123 + b
;
33 f4 (unsigned int a
, unsigned long long b
)
35 unsigned char f
= 123 + a
;
36 unsigned char g
= 123 + b
;
40 /* This isn't optimized yet. */
45 long long f
= 123 + a
;
54 signed char f
= 123 + a
;
62 signed char f
= 123 + a
;
68 f8 (unsigned long int a
)
70 unsigned char f
= 123 + a
;
71 unsigned char g
= 123;
79 long long g
= 123 + a
;
87 signed char g
= 123 + a
;
95 signed char g
= 123 + a
;
100 f12 (unsigned long int a
)
102 unsigned char f
= 123;
103 unsigned char g
= 123 + a
;