From patchwork Wed May 30 17:45:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Bosscher X-Patchwork-Id: 162043 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 A7520B706E for ; Thu, 31 May 2012 03:46:03 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1339004764; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=PtpDJRX BRxOZi57YcXiyzYdwteA=; b=kIDXTFr3iiZqCIVDeoYGLn9LsHrAUjHHi4CnCFh FH3HZLwQ8A3eEo+6iXknFNRUGMFj6dM8HT0NWehp7q9KOu0E6cEblh3g1dgHUjlr 9wJYq34prMXdHv7KXsfC+xvX3zOjfInFwUMhKtPfZm8C29VY+T8z0IZd6qhoAQhZ Acdk= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=VbeXtEb4NRbigo+F/lFDRuzRiBtSmGJAy5/+e9b3wEMw4rCqRHbuW3Slv87v1C i97DYF20Uz8ndkXhHj4/eByYTf0zfOm9VrtRYljnJM6kQHSsvu5cWSGTQUls/bre lH5e3rCfvLRpG6cnyWQqX1zzn9TVK6US0/mdPOLwei/MI=; Received: (qmail 790 invoked by alias); 30 May 2012 17:46:00 -0000 Received: (qmail 779 invoked by uid 22791); 30 May 2012 17:45:58 -0000 X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 May 2012 17:45:45 +0000 Received: by yenl13 with SMTP id l13so75569yen.20 for ; Wed, 30 May 2012 10:45:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.72.40 with SMTP id s28mr16235494yhd.21.1338399944942; Wed, 30 May 2012 10:45:44 -0700 (PDT) Received: by 10.100.116.6 with HTTP; Wed, 30 May 2012 10:45:44 -0700 (PDT) Date: Wed, 30 May 2012 19:45:44 +0200 Message-ID: Subject: [patch] Fix warning in ira.c From: Steven Bosscher To: GCC Patches 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, I've committed this patch to fix a -Wmissing-prototypes warning in ira.c. I don't understand why this didn't cause a bootstrap failure (with -Werror) but oh well. Ciao! Steven Index: ChangeLog =================================================================== --- ChangeLog (revision 188024) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2012-05-30 Steven Bosscher + + * ira.c (allocate_initial_values): Make static. + 2012-05-30 Uros Bizjak * config/i386/i386.c (legitimize_tls_address) : Index: ira.c =================================================================== --- ira.c (revision 188024) +++ ira.c (working copy) @@ -4036,7 +4036,7 @@ move_unallocated_pseudos (void) /* If the backend knows where to allocate pseudos for hard register initial values, register these allocations now. */ -void +static void allocate_initial_values (void) { if (targetm.allocate_initial_value)