PR c++/55619
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Dec 2012 10:41:47 +0000 (10:41 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Dec 2012 10:41:47 +0000 (10:41 +0000)
commit035b65e208aeb370f327ec07ba98c0ca3b21dc37
tree915b2cceb4b2f29233795c10d764160a76b6b505
parentec657618b850f3fa2e7fc8658cdf44fc13fceeb1
PR c++/55619
* c-parser.c (c_parser_asm_operands): Remove CONVERT_P
argument, don't call default_function_array_conversion
nor c_fully_fold here.
(c_parser_asm_statement): Adjust callers.
* c-typeck.c (build_asm_expr): Call c_fully_fold on inputs
and outputs here, and call default_function_array_conversion
on inputs that don't need to be addressable.

* c-c++-common/pr55619.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194631 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr55619.c [new file with mode: 0644]