]> gcc.gnu.org Git - gcc.git/commit
re PR c/10375 (Function-local external decls of builtins don't get attributes)
authorRoger Sayle <roger@eyesopen.com>
Thu, 17 Apr 2003 21:27:37 +0000 (21:27 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Thu, 17 Apr 2003 21:27:37 +0000 (21:27 +0000)
commit220a35cc8e39aa6e6a846fefee1a7bf460a339cc
tree04d97fa13059a1054b2c7ec7fbb770b3edcc84fb
parent1ca4c6e1e8914fa27d1b869cd60d2ed40501e097
re PR c/10375 (Function-local external decls of builtins don't get attributes)

2003-04-17  Roger Sayle  <roger@eyesopen.com>

PR c/10375
* c-decl.c (duplicate_decls): Preserve "const" and "noreturn"
function attributes.

* cp/decl.c (duplicate_decls): Preserve "const", "noreturn"
and "nothrow" function attributes.

* f/com.c (duplicate_decls): Preserve "const" and "noreturn"
function attributes.

From-SVN: r65753
gcc/ChangeLog
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/f/ChangeLog
gcc/f/com.c
gcc/testsuite/gcc.c-torture/execute/builtin-noret-2.x [deleted file]
This page took 0.065946 seconds and 5 git commands to generate.