Debian Codegraph @

gcc/testsuite/c-c++-common/analyzer/call-summaries-pr114159.c

raw
1 /* Verify we don't ICE on this case with these options. */
2
3 /* { dg-additional-options "-fanalyzer-call-summaries --param=analyzer-max-svalue-depth=0 -Wno-analyzer-symbol-too-complex" } */
4
5 int foo_i;
6 void bar() {}
7 void foo() {
8 if (foo_i)
9 bar();
10 else
11 goto f1;
12 bar();
13 f1:
14 bar();
15 }
16 int main() {
17 foo();
18 foo();
19 return 0;
20 }