1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -w" } */
       3  
       4  int a, c, d;
       5  float b;
       6  void *memcpy();
       7  int fun1(int p1, unsigned char *p2) {
       8    p2[p1] = b;
       9    return a;
      10  }
      11  void fun2() {
      12    unsigned char e[16];
      13    fun1(16, e);
      14    d = e[d];
      15    memcpy(&c, e, sizeof(e));
      16  }