1 // PR tree-optimization/27549
3 // { dg-options "-O2" }
5 typedef __SIZE_TYPE__ size_t;
10 virtual size_t e () const = 0;
11 virtual void f (char *x) const = 0;
18 virtual size_t e () const { return 0; }
19 virtual void f (char *x) const { *x = '\0'; }
24 S () { a = new char[32]; b = 32; c = 0; a[0] = 0; }
25 void s (const char *x, size_t y) { v (c + y + 1); __builtin_memcpy(a + c, x, y); c += y; a[c] = '\0'; }
26 void s (const E *x) { size_t l = x->e(); v (c + l + 1); x->f (a + c); c += l; }
27 const char *t () { return a; }
46 __builtin_memcpy(a, a2, c);
48 for (size_t i = 1; i < b2; i++)
59 for (size_t i = 1; i < b; i++)