1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -ftree-tail-merge -fdump-tree-pre" } */
       3  
       4  /* Type that matches the 'p' constraint.  */
       5  #define TYPE void *
       6  
       7  static inline
       8  void bar (TYPE *r)
       9  {
      10    TYPE t;
      11    __asm__ ("" : "=&p" (t), "=p" (*r));
      12  }
      13  
      14  void
      15  foo (int n, TYPE *x, TYPE *y)
      16  {
      17    if (n == 0)
      18      bar (x);
      19    else
      20      bar (y);
      21  }
      22  
      23  /* { dg-final { scan-tree-dump-times "__asm__" 2 "pre"} } */