annotate gcc/testsuite/gcc.dg/torture/pr95248.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 /* { dg-do run } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
2 /* { dg-require-effective-target int32plus } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
3
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
4 int var_2 = -2013646301;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
5 int var_3 = -1126567434;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
6 unsigned int var_12 = 1;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
7 unsigned int var_19;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
8 unsigned int arr_25 [24] [21] [15] [17] [15] ;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
9
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
10 void __attribute__((noipa)) test()
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
11 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
12 for (int a = 0; a < 3; a = 42)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
13 for (int b = 0; b < 20; b++)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
14 for (int c = 0; c < 4; c = 4)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
15 for (int d = 0; d < 6; d += 4)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
16 for (int e = 0; e < 4; e += 2) {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
17 arr_25[a][b][c][d][e] = var_2 || var_3;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
18 var_19 = var_12;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
19 }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
20 }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
21
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
22 int main()
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
23 {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
24 test();
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
25 if (var_19 != 1)
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
26 __builtin_abort ();
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
27 return 0;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
28 }