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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20011205-1.c] - Diff between revs 297 and 338

Only display areas with differences | Details | Blame | View Log

Rev 297 Rev 338
/* Failure to mark_addressable all operands before evaluation means we
/* Failure to mark_addressable all operands before evaluation means we
   don't set up the proper temporaries, which leaves us with an asm that
   don't set up the proper temporaries, which leaves us with an asm that
   doesn't match its contraints.  */
   doesn't match its contraints.  */
 
 
long foo()
long foo()
{
{
  long x;
  long x;
  asm("" : "=r"(x) : "m"(x));
  asm("" : "=r"(x) : "m"(x));
  return x;
  return x;
}
}
 
 

powered by: WebSVN 2.1.0

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