From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7261 invoked by alias); 14 Jun 2004 03:41:06 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 7226 invoked from network); 14 Jun 2004 03:41:05 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 14 Jun 2004 03:41:05 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i5E3f4i5007948 for ; Sun, 13 Jun 2004 23:41:04 -0400 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i5E3f2007823; Sun, 13 Jun 2004 23:41:02 -0400 Received: from miranda.boston.redhat.com (sebastian-int.corp.redhat.com [172.16.52.221]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i5E3f2F13274; Sun, 13 Jun 2004 23:41:02 -0400 Received: by miranda.boston.redhat.com (Postfix, from userid 2638) id 5C0E124794; Sun, 13 Jun 2004 23:40:08 -0400 (EDT) To: Richard Henderson Cc: gcc-patches@gcc.gnu.org Subject: Re: followup PATCH: Gimplify VA_ARG_EXPR From: Jason Merrill In-Reply-To: (Jason Merrill's message of "Thu, 10 Jun 2004 11:44:48 -0400") References: <20040609200716.GA13131@redhat.com> <20040609210529.GA13510@redhat.com> Date: Mon, 14 Jun 2004 05:51:00 -0000 Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-SW-Source: 2004-06/txt/msg00970.txt.bz2 --=-=-= Content-length: 333 Graham pointed out that having the prototype in tree-gimple.h means that targets which can use the generic va_arg support need to #include it. Fixed thus. Built i686-pc-linux-gnu, applied to trunk. 2004-06-13 Jason Merrill * tree.h: Move std_gimplify_va_arg_expr protoype here. * tree-gimple.h: From here. --=-=-= Content-Type: text/x-patch Content-Disposition: inline Content-length: 931 *** tree-gimple.h.~1~ 2004-06-09 23:57:29.000000000 -0400 --- tree-gimple.h 2004-06-13 17:37:22.000000000 -0400 *************** tree alloc_stmt_list (void); *** 123,129 **** void free_stmt_list (tree); tree force_labels_r (tree *, int *, void *); enum gimplify_status gimplify_va_arg_expr (tree *, tree *, tree *); - tree std_gimplify_va_arg_expr (tree, tree, tree *, tree *); /* In tree-nested.c. */ extern void lower_nested_functions (tree); --- 123,128 ---- *** tree.h.~1~ 2004-06-13 17:33:54.000000000 -0400 --- tree.h 2004-06-13 17:37:37.000000000 -0400 *************** extern tree mathfn_built_in (tree, enum *** 3526,3531 **** --- 3526,3532 ---- extern tree strip_float_extensions (tree); extern tree simplify_builtin (tree, int); extern tree c_strlen (tree, int); + extern tree std_gimplify_va_arg_expr (tree, tree, tree *, tree *); /* In convert.c */ extern tree strip_float_extensions (tree); --=-=-=--