diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2011-04-21 20:14:21 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-04-21 20:14:21 +0000 |
commit | e84a6fcfb74b74b1768e15cf0e6c979ae7128dcb (patch) | |
tree | 5c142c5b4fb7f9959ac2725fe350a3033d63b0a0 /gcc | |
parent | 4fe058e25b64b296eb2c3b715542237cdc7a6ea0 (diff) | |
download | gcc-e84a6fcfb74b74b1768e15cf0e6c979ae7128dcb.zip gcc-e84a6fcfb74b74b1768e15cf0e6c979ae7128dcb.tar.gz gcc-e84a6fcfb74b74b1768e15cf0e6c979ae7128dcb.tar.bz2 |
frv.c (frv_init_builtins): Delete `endlink' variable.
* config/frv/frv.c (frv_init_builtins): Delete `endlink' variable.
Call builtin_function_type_list instead of builtin_function_type.
(UNARY, BINARY, TRINARY, QUAD): Likewise.
From-SVN: r172842
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/frv/frv.c | 17 |
2 files changed, 11 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e9af41c..3dd9f19 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> + * config/frv/frv.c (frv_init_builtins): Delete `endlink' variable. + Call builtin_function_type_list instead of builtin_function_type. + (UNARY, BINARY, TRINARY, QUAD): Likewise. + +2011-04-21 Nathan Froyd <froydnj@codesourcery.com> + * config/arm/arm.c (arm_init_iwmmxt_builtins): Call build_function_type_list instead of build_function_type. Delete variable `endlink'. diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 9e2f718..ddd3fa0 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -8392,7 +8392,6 @@ static struct builtin_description bdesc_stores[] = static void frv_init_builtins (void) { - tree endlink = void_list_node; tree accumulator = integer_type_node; tree integer = integer_type_node; tree voidt = void_type_node; @@ -8407,24 +8406,18 @@ frv_init_builtins (void) tree iacc = integer_type_node; #define UNARY(RET, T1) \ - build_function_type (RET, tree_cons (NULL_TREE, T1, endlink)) + build_function_type_list (RET, T1, NULL_TREE) #define BINARY(RET, T1, T2) \ - build_function_type (RET, tree_cons (NULL_TREE, T1, \ - tree_cons (NULL_TREE, T2, endlink))) + build_function_type_list (RET, T1, T2, NULL_TREE) #define TRINARY(RET, T1, T2, T3) \ - build_function_type (RET, tree_cons (NULL_TREE, T1, \ - tree_cons (NULL_TREE, T2, \ - tree_cons (NULL_TREE, T3, endlink)))) + build_function_type_list (RET, T1, T2, T3, NULL_TREE) #define QUAD(RET, T1, T2, T3, T4) \ - build_function_type (RET, tree_cons (NULL_TREE, T1, \ - tree_cons (NULL_TREE, T2, \ - tree_cons (NULL_TREE, T3, \ - tree_cons (NULL_TREE, T4, endlink))))) + build_function_type_list (RET, T1, T2, T3, NULL_TREE) - tree void_ftype_void = build_function_type (voidt, endlink); + tree void_ftype_void = build_function_type_list (voidt, NULL_TREE); tree void_ftype_acc = UNARY (voidt, accumulator); tree void_ftype_uw4_uw1 = BINARY (voidt, uword4, uword1); |