From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88662 invoked by alias); 18 May 2016 16:21:18 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 88652 invoked by uid 89); 18 May 2016 16:21:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:661, H*UA:version, H*x:version, daily X-HELO: e06smtp15.uk.ibm.com Received: from e06smtp15.uk.ibm.com (HELO e06smtp15.uk.ibm.com) (195.75.94.111) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 18 May 2016 16:21:16 +0000 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 18 May 2016 17:21:13 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 18 May 2016 17:21:11 +0100 X-IBM-Helo: d06dlp01.portsmouth.uk.ibm.com X-IBM-MailFrom: uweigand@de.ibm.com X-IBM-RcptTo: gdb-patches@sourceware.org Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 45F6B17D805F for ; Wed, 18 May 2016 17:22:11 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u4IGLAbp13238596 for ; Wed, 18 May 2016 16:21:10 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u4IGLAPX024738 for ; Wed, 18 May 2016 10:21:10 -0600 Received: from oc7340732750.ibm.com (dyn-9-152-213-44.boeblingen.de.ibm.com [9.152.213.44]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u4IGL9pS024719; Wed, 18 May 2016 10:21:09 -0600 Received: by oc7340732750.ibm.com (Postfix, from userid 500) id 762D41CB9; Wed, 18 May 2016 18:21:09 +0200 (CEST) Subject: Re: [FYI v3 5/8] Add support for the Rust language To: tom@tromey.com (Tom Tromey) Date: Wed, 18 May 2016 16:21:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <87lh37xrvx.fsf@tromey.com> from "Tom Tromey" at May 18, 2016 10:17:22 AM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20160518162109.762D41CB9@oc7340732750.ibm.com> X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16051816-0021-0000-0000-00003BA91F01 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused X-SW-Source: 2016-05/txt/msg00309.txt.bz2 Tom Tromey wrote: > >>>>> "Ulrich" == Ulrich Weigand writes: > > Ulrich> This causes a build failure on my RHEL5 daily build for SPU, > Ulrich> which uses a GCC 4.1 host compiler: > > Ulrich> gdb/rust-lang.c: In function 'value* rust_subscript(expression*, int*, > Ulrich> noside, int)': > Ulrich> gdb/rust-lang.c:1311: warning: 'high' may be used uninitialized in this function > > Could you try the appended? If it works for you I will check it in. Yes, this fixes the problem for me. Thanks, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com