modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20090107-1.c (about)

     1  /* { dg-skip-if "Array too big" { "pdp11-*-*" } { "-mint32" } } */
     2  
     3  /* Verify that we don't ICE by forming invalid addresses for unaligned
     4     doubleword loads (originally for PPC64).  */
     5  
     6  struct a
     7  {
     8   unsigned int x;
     9   unsigned short y;
    10  } __attribute__((packed));
    11  
    12  struct b {
    13   struct a rep;
    14   unsigned long long seq;
    15  } __attribute__((packed));
    16  
    17  struct c {
    18   int x;
    19   struct a a[5460];
    20   struct b b;
    21  };
    22  
    23  extern void use_ull(unsigned long long);
    24  extern void f(struct c *i) {
    25    use_ull(i->b.seq);
    26    return;
    27  }