view gcc/testsuite/gcc.dg/pr50571.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* PR inline-asm/50571 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

static const int var[4] = { 1, 2, 3, 4 };

void
foo (void)
{
  __asm volatile ("" : : "m" (*(int *) var));
}