annotate gcc/testsuite/gcc.dg/vect/pr93843-2.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
1 char in[2] = {2, 2};
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
2 short out[2] = {};
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
3
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
4 int
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
5 main()
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
6 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
7 for (int i = 0; i < 2; ++i)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
8 out[i] = in[i];
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
9 asm("":::"memory");
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
10 if (out[0] != 2) __builtin_abort();
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
11 }