2 /* { dg-additional-options "-std=c++14" } */
3 typedef unsigned int u32;
4 typedef unsigned char u8;
6 static u32 pu8to32(const u8 * p8) __attribute__((noinline));
7 static u32 pu8to32(const u8 * p8) {
10 __builtin_memcpy(&v, __builtin_assume_aligned(p8, 1), sizeof(u32));
16 // dse1 throws this store away
18 0x07, 0x00, 0x00, 0x07,
21 if (pu8to32(d) != 0x07000007)