From patchwork Fri Jul 8 08:44:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Geissler X-Patchwork-Id: 103783 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 46616B6F6F for ; Fri, 8 Jul 2011 18:44:23 +1000 (EST) Received: (qmail 25320 invoked by alias); 8 Jul 2011 08:44:20 -0000 Received: (qmail 25019 invoked by uid 22791); 8 Jul 2011 08:44:18 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-ew0-f47.google.com (HELO mail-ew0-f47.google.com) (209.85.215.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Jul 2011 08:44:03 +0000 Received: by ewy5 with SMTP id 5so672773ewy.20 for ; Fri, 08 Jul 2011 01:44:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.34.196 with SMTP id m4mr125153ebd.123.1310114642408; Fri, 08 Jul 2011 01:44:02 -0700 (PDT) Received: by 10.213.5.20 with HTTP; Fri, 8 Jul 2011 01:44:02 -0700 (PDT) Date: Fri, 8 Jul 2011 10:44:02 +0200 Message-ID: Subject: [PATCH] Remove call_expr_arg and call_expr_argp From: Romain Geissler To: gcc-patches@gcc.gnu.org X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hello, This patch simply removes legacy call_expr_arg and call_expr_argp declarations since these functions no longer have a defined body. Use CALL_EXPR_ARG and CALL_EXPR_ARGP macros instead. Build fine and no regression on x86_64. 2011-07-08 Romain Geissler * tree.h: Remove call_expr_arg and call_expr_argp Index: gcc/tree.h =================================================================== --- gcc/tree.h (revision 175907) +++ gcc/tree.h (working copy) @@ -5130,8 +5130,6 @@ extern bool commutative_ternary_tree_cod extern tree upper_bound_in_type (tree, tree); extern tree lower_bound_in_type (tree, tree); extern int operand_equal_for_phi_arg_p (const_tree, const_tree); -extern tree call_expr_arg (tree, int); -extern tree *call_expr_argp (tree, int); extern tree create_artificial_label (location_t); extern const char *get_name (tree); extern bool stdarg_p (const_tree);