Debian Codegraph @

gcc/testsuite/g++.dg/ipa/pr93763.C

raw
1 /* { dg-do compile { target c++11 } } */
2 /* { dg-options "-O3" } */
3
4 struct search_param {
5 int total;
6 };
7 void search_trivial(search_param error_left) {
8 search_trivial(error_left);
9 search_param error_left2{error_left};
10 error_left2.total--;
11 search_trivial(error_left2);
12 }
13 void search_algo_uni(search_param error_left) { search_trivial(error_left); }
14 void search_algo(search_param error_left) { search_algo_uni(error_left); }
15 int main() { search_algo({}); return 0; }