From f9ac28ad2ced981a32734766949a3d608f6538e3 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Tue, 3 May 2011 15:51:28 +0000 Subject: [PATCH] i386.c (ix86_code_end): Call build_function_type_list instead of build_function_type. * config/i386/i386.c (ix86_code_end): Call build_function_type_list instead of build_function_type. From-SVN: r173320 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 478a7ac9519..3f39898fb3d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-03 Nathan Froyd + + * config/i386/i386.c (ix86_code_end): Call build_function_type_list + instead of build_function_type. + 2011-05-03 Nathan Froyd * config/rs6000/rs6000.c (spe_init_builtins): Call diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 97064abb076..79dd5da075a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -8832,7 +8832,7 @@ ix86_code_end (void) decl = build_decl (BUILTINS_LOCATION, FUNCTION_DECL, get_identifier (name), - build_function_type (void_type_node, void_list_node)); + build_function_type_list (void_type_node, NULL_TREE)); DECL_RESULT (decl) = build_decl (BUILTINS_LOCATION, RESULT_DECL, NULL_TREE, void_type_node); TREE_PUBLIC (decl) = 1; -- 2.30.2