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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [asm2.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Bug: in a template, we forgot that this was a simple asm, and decided
2
// that %edi was a malformed operand specifier.
3
 
4
template  class  I {
5
public:
6
 void f() { asm ("# mov %edi, %esi" ); }
7
};
8
 
9
int main () {
10
  I x;
11
  x.f();
12
}

powered by: WebSVN 2.1.0

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