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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* Alpha -msmall-data didn't transform (mem (symbol_ref)) to
2
   (mem (lo_sum pic (symbol_ref))) within an asm at the right time.  */
3
/* { dg-do compile { target fpic } } */
4
/* { dg-options "-O2 -fpic" } */
5
 
6
void foo()
7
{
8
  static int test;
9
  int dummy;
10
  asm volatile ("" : "=m"(test), "=r"(dummy) : "m"(test));
11
}

powered by: WebSVN 2.1.0

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