summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/graphite/scop-19.c
blob: 3ad49971bc03bb4bc872f3ea5e64337f1b3799e9 (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
35
/* { dg-options "-O2 -fgraphite -fdump-tree-graphite-all" } */
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" } } */

OpenPOWER on IntegriCloud