]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/analyzer/pr105365.c
analyzer: fix ICEs on complex constants [PR105365,105366]
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / analyzer / pr105365.c
1 /* { dg-require-effective-target int128 } */
2
3 typedef _Float32 f32;
4 typedef _Complex _Float32 cf32;
5 _Float32 g;
6 __int128 i;
7
8 extern void bar(int);
9
10 void
11 foo(_Float32 k) {
12 f32 f = 0;
13 f /= (_Complex char)__builtin_llround(g);
14 k /= (cf32)__builtin_copysignf(0, i);
15 bar(f + k);
16 foo(0);
17 }