blob: cfbf401642ed67d436631f7cf1424c153ef0273a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
typedef unsigned int __uint32_t;
typedef __uint32_t __size_t;
typedef __size_t size_t;
struct demangle_component
{
union
{
} u;
};
enum d_builtin_type_print
{
D_PRINT_VOID
};
struct d_growable_string
{
size_t alc;
};
d_growable_string_resize (struct d_growable_string *dgs, size_t need)
{
size_t newalc;
newalc = dgs->alc > 0 ? dgs->alc : 2;
while (newalc < need)
newalc <<= 1;
}
d_growable_string_append_buffer (struct d_growable_string *dgs,
const char *s, size_t l)
{
size_t need;
if (need > dgs->alc)
d_growable_string_resize (dgs, need);
}
/* { dg-final { scan-tree-dump-times "number of SCoPs: 0" 2 "graphite"} } */
/* { dg-final { cleanup-tree-dump "graphite" } } */
|