OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr50571.c] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR inline-asm/50571 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2" } */
4
 
5
static const int var[4] = { 1, 2, 3, 4 };
6
 
7
void
8
foo (void)
9
{
10
  __asm volatile ("" : : "m" (*(int *) var));
11
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.