PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70219.c
blobbbdbe67c735ce5a71157189754983f0d8050c319
1 /* PR middle-end/70219 */
2 /* { dg-do compile { target int128 } } */
3 /* { dg-options "-O1 -w -Wno-psabi" } */
5 typedef int B __attribute__ ((vector_size (32)));
6 typedef int D __attribute__ ((vector_size (32)));
7 typedef long E __attribute__ ((vector_size (32)));
8 typedef __int128 F;
9 typedef __int128 G __attribute__ ((vector_size (32)));
12 foo (int a, unsigned b, F c, B d, G e, B f, D g, E h, G i)
14 b /= c;
15 e /= (G) ~d;
16 h -= (E){ g[4], e[1], 64, ~f[1] };
17 return b + e[1] + h[0] + h[1] + i[1];