annotate gcc/testsuite/g++.dg/ipa/pr93763.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 compile { target c++11 } } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
2 /* { dg-options "-O3" } */
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
3
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
4 struct search_param {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
5 int total;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
6 };
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
7 void search_trivial(search_param error_left) {
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
8 search_trivial(error_left);
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
9 search_param error_left2{error_left};
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
10 error_left2.total--;
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
11 search_trivial(error_left2);
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
12 }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
13 void search_algo_uni(search_param error_left) { search_trivial(error_left); }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
14 void search_algo(search_param error_left) { search_algo_uni(error_left); }
2b5abeee2509 update gcc11
anatofuz
parents:
diff changeset
15 int main() { search_algo({}); return 0; }