PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / pr70326.c
blob8332899d67f27fe61a2b69fe4552bef56aad8f9f
1 /* PR middle-end/70326 */
2 /* { dg-do compile { target int128 } } */
3 /* { dg-options "-Og -fno-dce -fno-guess-branch-probability -fschedule-insns -fno-tree-coalesce-vars -fno-tree-dce -w -Wno-psabi" } */
5 typedef unsigned int A __attribute__ ((vector_size (32)));
6 typedef unsigned __int128 B;
7 typedef unsigned __int128 C __attribute__ ((vector_size (32)));
8 typedef unsigned __int128 D __attribute__ ((vector_size (32)));
10 void
11 foo (B a, D b, A c, A d, C e)
13 b /= (D) {11} | 1;
14 a ^= a <= 10;
15 e *= (C) d;
16 e += (C) ~b;
17 c[0] ^= c[0] <= 0x1234;
18 a = (a >> 1) | (a << 127);
19 b += (D) {45, 123};