From patchwork Wed Apr 2 10:36:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Polacek X-Patchwork-Id: 336309 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3E9CA140102 for ; Wed, 2 Apr 2014 21:36:25 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=um+lEpslSDFJdwD86jCmR6nM+mAn0fafq9I16aqXXjbb0A7MVHvGj K66w2DsKfjF0o/ZKDTtU4JFvZG63ht5Xd+dzXSq3LW+VG8EYYdLtCek6W4B+f372 k8i3acIP/wZZgn9auHeeNQnVch9K5ZV3poDmrZPsm5DSlEhhwI70u0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=6humiwKqqmlSSiXUo8wNB5krx8I=; b=VdzWCJTdgGr6APUh0/Sa vfdFeZ1sJuoezGN6DUxbXWT6SWNLk01XpZ6yIbU9qublPLQiDQ4Cy35+1KaS1cY2 Sf/+aXqOidwskLpZiqSR+2nHAABYTDMmejQBkEwVOhfCE5ewYGTgGBWkT07AuXcq 1iYW99Qth394Ym8YiB0QpFU= Received: (qmail 1470 invoked by alias); 2 Apr 2014 10:36:19 -0000 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 Received: (qmail 1461 invoked by uid 89); 2 Apr 2014 10:36:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Apr 2014 10:36:17 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s32AaGcQ011289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 2 Apr 2014 06:36:16 -0400 Received: from redhat.com (ovpn-116-95.ams2.redhat.com [10.36.116.95]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s32AaC8g017204 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 2 Apr 2014 06:36:15 -0400 Date: Wed, 2 Apr 2014 12:36:12 +0200 From: Marek Polacek To: GCC Patches Subject: [PATCH] Remove stale declaration Message-ID: <20140402103612.GA24603@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) I noticed that we declare this function, but its definition was removed in 2009 by P. Bonzini, thus the decl serves no purpose. Regtested/bootstrapped on x86_64-linux, ok for trunk? 2014-04-02 Marek Polacek * c-common.h (c_expand_expr): Remove declaration. Marek diff --git gcc/c-family/c-common.h gcc/c-family/c-common.h index 1099b10..24959d8 100644 --- gcc/c-family/c-common.h +++ gcc/c-family/c-common.h @@ -928,8 +928,6 @@ extern bool vector_targets_convertible_p (const_tree t1, const_tree t2); extern bool vector_types_convertible_p (const_tree t1, const_tree t2, bool emit_lax_note); extern tree c_build_vec_perm_expr (location_t, tree, tree, tree, bool = true); -extern rtx c_expand_expr (tree, rtx, enum machine_mode, int, rtx *); - extern void init_c_lex (void); extern void c_cpp_builtins (cpp_reader *);