1 2 3 4 5 6 7 8 9 10 11
/* PR inline-asm/84941 */ /* { dg-do compile } */ /* { dg-skip-if "asm operand has impossible constraints" { hppa*-*-* } } */ /* { dg-options "-O2" } */ void foo (void) { short *b[1] = { 0 }; asm volatile ("" : "=m,m" (b), "=r,r" (b) : "1,p" (b)); }