1  /* { dg-do compile } */
       2  /* { dg-additional-options "-O3" } */
       3  
       4  struct foo
       5  {
       6    void *handle;
       7    void *arg;
       8  };
       9  
      10  void
      11  dlinfo_doit (struct foo *args)
      12  {
      13    __UINTPTR_TYPE__ **l = args->handle;
      14  
      15    *(__UINTPTR_TYPE__ *) args->arg = 0;
      16    *(__UINTPTR_TYPE__ *) args->arg = **l;
      17  }