OSDN Git Service

PR inline-asm/39058
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Feb 2009 13:23:43 +0000 (13:23 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Feb 2009 13:23:43 +0000 (13:23 +0000)
commitcde8f1c846d02f52e6ea68bd9fc4b799609d702a
treea1aa96b3278b1c873c7432d2ad53d27e983ec85a
parentb6c6057e81e94c26f222aea1731034e39620e88e
PR inline-asm/39058
* recog.h (asm_operand_ok): Add constraints argument.
* recog.c (asm_operand_ok): Likewise.  If it is set, for digits
recurse on matching constraint.
(check_asm_operands): Pass constraints as 3rd argument to
asm_operand_ok.  Don't look up matching constraint here.
* stmt.c (expand_asm_operands): Pass NULL as 3rd argument
to asm_operand_ok.

* gcc.target/i386/pr39058.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143867 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/recog.c
gcc/recog.h
gcc/stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr39058.c [new file with mode: 0644]