Debian Codegraph @

gcc/testsuite/c-c++-common/analyzer/phi-1.c

raw
1 /* { dg-do "compile" } */
2
3 typedef __SIZE_TYPE__ size_t;
4 #include "../../gcc.dg/analyzer/analyzer-decls.h"
5
6 extern const char *foo (void);
7 extern size_t bar (void);
8
9 void
10 _nl_expand_alias (const char *locale_alias_path)
11 {
12 size_t added;
13 do
14 {
15 added = 0;
16 while (added == 0 && locale_alias_path[0] != '\0')
17 {
18 const char *start = foo ();
19 if (start < locale_alias_path)
20 added = bar ();
21 }
22 }
23 while (added != 0);
24 }