view gcc/testsuite/gcc.dg/pr84941.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
line wrap: on
line source

/* 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));
}