]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/c-typeck.c
re PR c++/55619 (Chromium build fails with: error: memory input is not directly addre...
authorJakub Jelinek <jakub@redhat.com>
Thu, 20 Dec 2012 10:41:47 +0000 (11:41 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 20 Dec 2012 10:41:47 +0000 (11:41 +0100)
commiteadd3d0d54b72308446ce8e615b180fe33eed36a
tree915b2cceb4b2f29233795c10d764160a76b6b505
parent1ac13b9c058d6ff982b1fa6cf2fa1515a9692b5e
re PR c++/55619 (Chromium build fails with: error: memory input is not directly addressable)

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.

From-SVN: r194631
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]