Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/20090107-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
line wrap: on
line source
/* Verify that we don't ICE by forming invalid addresses for unaligned doubleword loads (originally for PPC64). */ struct a { unsigned int x; unsigned short y; } __attribute__((packed)); struct b { struct a rep; unsigned long long seq; } __attribute__((packed)); struct c { int x; struct a a[5460]; struct b b; }; extern void use_ull(unsigned long long); extern void f(struct c *i) { use_ull(i->b.seq); return; }