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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [20020122-4.c] - Blame information for rev 315

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

Line No. Rev Author Line
1 298 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.