]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/pt.c
re PR c++/24761 (templates and inline-asm and "+")
authorJakub Jelinek <jakub@redhat.com>
Sat, 12 Nov 2005 20:42:23 +0000 (21:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 12 Nov 2005 20:42:23 +0000 (21:42 +0100)
commitf74dcfb70183a037feaefaa9e6d491249cbafc2f
tree02a9eb627b1ed382aec29a52010e28fa90130acd
parent6375779a599735d55828634076b8a20521ec5620
re PR c++/24761 (templates and inline-asm and "+")

PR c++/24761
* pt.c (tsubst_copy_asm_operands): New function.
(tsubst_expr) <case ASM_EXPR>: Use it.

* g++.dg/template/asm1.C: New test.

From-SVN: r106831
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/asm1.C [new file with mode: 0644]