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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [20030120-1.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* PR 7154 */
2
/* { dg-do compile { target fpic } } */
3
/* { dg-options "-O -fpic" } */
4
 
5
const int x[1]={ 1 };
6
void foo(int i, int *p)
7
{
8
  asm volatile("" : "+r"(i) : "m" (x[0]), "r"(p));
9
}

powered by: WebSVN 2.1.0

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