]> git.pld-linux.org Git - packages/gcc.git/blame - gcc32-c++-tsubst-asm.patch
- BR+R binutils with --as-needed support (detected at build time)
[packages/gcc.git] / gcc32-c++-tsubst-asm.patch
CommitLineData
5384b728 12002-05-09 Jason Merrill <jason@redhat.com>
2
3 * g++.dg/ext/asm2.C: New test.
4
5--- gcc/testsuite/g++.dg/ext/asm2.C.jj Wed May 15 13:51:22 2002
6+++ gcc/testsuite/g++.dg/ext/asm2.C Sun May 12 11:25:45 2002
7@@ -0,0 +1,12 @@
8+// Bug: in a template, we forgot that this was a simple asm, and decided
9+// that %edi was a malformed operand specifier.
10+
11+template <class T> class I {
12+public:
13+ void f() { asm ("# mov %edi, %esi" ); }
14+};
15+
16+int main () {
17+ I<int> x;
18+ x.f();
19+}
This page took 0.108953 seconds and 4 git commands to generate.