blob: 3fb4310d6843204ca2116b9df3f0524fcf1d5abf (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* 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));
}
|