LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr48144.c
blob030202d064bb92e932d7379ad00994491624f714
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O -frerun-cse-after-loop -fschedule-insns2 -fselective-scheduling2 -fno-tree-ch -funroll-loops --param=max-sched-extend-regions-iters=2 --param=max-sched-region-blocks=15" } */
3 extern void *memcpy(void *dest, const void *src, __SIZE_TYPE__ n);
5 void bar (void *, void *, void *);
7 void foo
8 (void *p, char *data, unsigned data_len)
10 int buffer[8];
11 int buf2[8];
12 unsigned i;
13 for (i = 0; i + 8 <= data_len; i += 8)
14 bar (p, buffer, data + i);
15 memcpy (buf2, data + i, data_len);