OSDN Git Service

PR c/37772
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Apr 2009 13:32:22 +0000 (13:32 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Apr 2009 13:32:22 +0000 (13:32 +0000)
commit0930c6941290ddc1a387a7850379d43035f34d22
tree08ff9013ac51f3577a317f758fd39f710527edf1
parentc9b099a225d47a363d13605c18d65f41d26f8e26
PR c/37772
* c-parser.c (c_parser_asm_statement): Skip until close paren and
return if c_parser_asm_string_literal returned NULL.

* gcc.dg/pr37772.c: New test.
* g++.dg/ext/asm11.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145401 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/asm11.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr37772.c [new file with mode: 0644]