c-decl.c (finish_decl): When prototype with asmspec is found for built-in...
authorJakub Jelinek <jakub@redhat.com>
Mon, 28 Apr 2003 19:58:52 +0000 (21:58 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 28 Apr 2003 19:58:52 +0000 (21:58 +0200)
commit9661b15f951d61710cadd3b4c85d5b29078e116e
tree331faf76cb1d514411e5707a36e1f12f9c9dcbdb
parent62a3446bb83d9c091ba650e10eb21fd9d4577cc1
c-decl.c (finish_decl): When prototype with asmspec is found for built-in...

* c-decl.c (finish_decl): When prototype with asmspec is found
for built-in, adjust built_in_decls as well as expr.c decls.
* expr.c (init_block_move_fn, init_block_clear_fn): New functions.
(emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it.
* expr.c (init_block_move_fn, init_block_clear_fn): New prototypes.

* gcc.c-torture/execute/string-opt-asm-1.c: New test.
* gcc.c-torture/execute/string-opt-asm-2.c: New test.

From-SVN: r66181
gcc/ChangeLog
gcc/c-decl.c
gcc/expr.c
gcc/expr.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/string-opt-asm-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/string-opt-asm-2.c [new file with mode: 0644]