1  /* PR target/65693 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2" } */
       4  
       5  int a;
       6  
       7  void
       8  foo (int (*fn) (int, int, int), unsigned int b)
       9  {
      10    unsigned long *c = (unsigned long *) __builtin_alloca (b);
      11    a = *c;
      12    register int d asm ("edx") = fn (0, 0, d);
      13  }