From patchwork Fri Oct 23 15:32:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Enkovich X-Patchwork-Id: 535043 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 30C29141326 for ; Sat, 24 Oct 2015 02:33:03 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=C0TyQK9W; dkim-atps=neutral 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=kRnl62huO1tIRmg+SN4tgwfHYQKPIzBIDK9tvMtBU5D0W6Pd3TDl8 3z2ESqlfnG1F2Bgk7mpe+Tb+BgSpACy2X/a7HQyOrEQILGYMNUjs/w8DH3FaoQ5e MD/Jhpueo6dkULLaxodSiyxpGZMEVY9na/yF2+/Pjo/980McXLNonA= 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=ssjSIyYpupz4sx8ryWHCoqI8MTE=; b=C0TyQK9WPX5Dx7X7Nj5h SrHtfN1z5unSzgOiRrBjTSSQc0T3i9JVOkk3F9TP2rOws2bmd9Iay6tB/qmOlxBr akYdY4hxwP3VM4t/qUigyo551LmX6YWfoDLgcNrZfQ0J1qecnu3irwCEP+KFPwIK v3KUr4rPaWXyl61MH6BDgB0= Received: (qmail 18863 invoked by alias); 23 Oct 2015 15:32:55 -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 18768 invoked by uid 89); 23 Oct 2015 15:32:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f173.google.com Received: from mail-ig0-f173.google.com (HELO mail-ig0-f173.google.com) (209.85.213.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 23 Oct 2015 15:32:53 +0000 Received: by igbni9 with SMTP id ni9so36952851igb.1 for ; Fri, 23 Oct 2015 08:32:51 -0700 (PDT) X-Received: by 10.50.66.202 with SMTP id h10mr4956165igt.67.1445614371051; Fri, 23 Oct 2015 08:32:51 -0700 (PDT) Received: from msticlxl57.ims.intel.com (jfdmzpr02-ext.jf.intel.com. [134.134.137.71]) by smtp.gmail.com with ESMTPSA id bc4sm1565037igb.2.2015.10.23.08.32.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Oct 2015 08:32:50 -0700 (PDT) Date: Fri, 23 Oct 2015 18:32:28 +0300 From: Ilya Enkovich To: gcc-patches@gcc.gnu.org Subject: [PATCH, committed] Fix uninitialized variable warning Message-ID: <20151023153228.GE23452@msticlxl57.ims.intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes Hi, This patch fixes uninitialized variable warning. Applied to trunk. Thanks, Ilya --- gcc/ 2015-10-23 Ilya Enkovich * tree-vect-generic.c (expand_vector_condition): Avoid uninitialized variable warning. diff --git a/gcc/tree-vect-generic.c b/gcc/tree-vect-generic.c index 2005383..d1fc0ba 100644 --- a/gcc/tree-vect-generic.c +++ b/gcc/tree-vect-generic.c @@ -844,7 +844,7 @@ expand_vector_condition (gimple_stmt_iterator *gsi) tree type = gimple_expr_type (stmt); tree a = gimple_assign_rhs1 (stmt); tree a1 = a; - tree a2; + tree a2 = NULL_TREE; bool a_is_comparison = false; tree b = gimple_assign_rhs2 (stmt); tree c = gimple_assign_rhs3 (stmt);