From patchwork Fri Sep 24 17:57:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 65671 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 58630B7106 for ; Sat, 25 Sep 2010 03:58:15 +1000 (EST) Received: (qmail 5655 invoked by alias); 24 Sep 2010 17:58:13 -0000 Received: (qmail 5647 invoked by uid 22791); 24 Sep 2010 17:58:13 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_HELO_PASS, TW_CC, T_RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Sep 2010 17:58:09 +0000 Received: from wpaz29.hot.corp.google.com (wpaz29.hot.corp.google.com [172.24.198.93]) by smtp-out.google.com with ESMTP id o8OHw5tO013145 for ; Fri, 24 Sep 2010 10:58:06 -0700 Received: from pxi6 (pxi6.prod.google.com [10.243.27.6]) by wpaz29.hot.corp.google.com with ESMTP id o8OHw185016340 for ; Fri, 24 Sep 2010 10:58:03 -0700 Received: by pxi6 with SMTP id 6so1106462pxi.31 for ; Fri, 24 Sep 2010 10:58:01 -0700 (PDT) Received: by 10.142.204.14 with SMTP id b14mr3027458wfg.286.1285351081002; Fri, 24 Sep 2010 10:58:01 -0700 (PDT) Received: from coign.google.com (dhcp-172-22-123-203.mtv.corp.google.com [172.22.123.203]) by mx.google.com with ESMTPS id o16sm2594877wfh.7.2010.09.24.10.57.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 24 Sep 2010 10:58:00 -0700 (PDT) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: [gccgo] Initialize variables to avoid a warning Date: Fri, 24 Sep 2010 10:57:58 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 X-System-Of-Record: true 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 I committed this patch to the gccgo branch to initialize variables to avoid a warning that breaks bootstrap. Ian Index: config/i386/i386.c =================================================================== --- config/i386/i386.c (revision 164383) +++ config/i386/i386.c (working copy) @@ -9393,7 +9393,8 @@ ix86_expand_split_stack_prologue (void) HOST_WIDE_INT allocate; int args_size; rtx label, limit, current, jump_insn, allocate_rtx, call_insn, call_fusage; - rtx scratch_reg, varargs_label; + rtx scratch_reg = NULL_RTX; + rtx varargs_label = NULL_RTX; gcc_assert (flag_split_stack && reload_completed);