1  /* PR target/79354 */
       2  
       3  int b, f, g;
       4  float e;
       5  unsigned long d;
       6  
       7  __attribute__((noinline, noclone)) void
       8  foo (int *a)
       9  {
      10    for (g = 0; g < 32; g++)
      11      if (f)
      12        {
      13          e = d;
      14          __builtin_memcpy (&b, &e, sizeof (float));
      15          b = *a;
      16        }
      17  }
      18  
      19  int
      20  main ()
      21  {
      22    int h = 5;
      23    f = 1;
      24    asm volatile ("" : : : "memory");
      25    foo (&h);
      26    asm volatile ("" : : : "memory");
      27    foo (&b);
      28    asm volatile ("" : : : "memory");
      29    return 0;
      30  }