diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-04-11 06:20:41 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-04-11 06:20:41 -0400 |
commit | 678566a5af9e48dc2eb9bcaa84a8741412697471 (patch) | |
tree | 9685ab9f32dc44c03d285416c0b3469c8e1a9433 /gcc | |
parent | 73f3c7c3501857eea816eb066d98ad1b2dc86284 (diff) | |
download | gcc-678566a5af9e48dc2eb9bcaa84a8741412697471.zip gcc-678566a5af9e48dc2eb9bcaa84a8741412697471.tar.gz gcc-678566a5af9e48dc2eb9bcaa84a8741412697471.tar.bz2 |
(duplicate_decls, pushdecl, builtin_function): Use DECL_FUNCTION_CODE
instead of DECL_SET_FUNCTION_CODE.
From-SVN: r7025
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-decl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 1a75fa8..c12d673 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1761,7 +1761,7 @@ duplicate_decls (newdecl, olddecl) if (DECL_BUILT_IN (olddecl)) { DECL_BUILT_IN (newdecl) = 1; - DECL_SET_FUNCTION_CODE (newdecl, DECL_FUNCTION_CODE (olddecl)); + DECL_FUNCTION_CODE (newdecl) = DECL_FUNCTION_CODE (olddecl); } else DECL_FRAME_SIZE (newdecl) = DECL_FRAME_SIZE (olddecl); @@ -2090,7 +2090,7 @@ pushdecl (x) if (DECL_BUILT_IN (oldglobal)) { DECL_BUILT_IN (x) = DECL_BUILT_IN (oldglobal); - DECL_SET_FUNCTION_CODE (x, DECL_FUNCTION_CODE (oldglobal)); + DECL_FUNCTION_CODE (x) = DECL_FUNCTION_CODE (oldglobal); } /* Keep the arg types from a file-scope fcn defn. */ if (TYPE_ARG_TYPES (TREE_TYPE (oldglobal)) != 0 @@ -3125,7 +3125,7 @@ builtin_function (name, type, function_code, library_name) if (function_code != NOT_BUILT_IN) { DECL_BUILT_IN (decl) = 1; - DECL_SET_FUNCTION_CODE (decl, function_code); + DECL_FUNCTION_CODE (decl) = function_code; } /* Warn if a function in the namespace for users is used without an occasion to consider it declared. */ |