From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122563 invoked by alias); 16 May 2015 14:25:09 -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 122551 invoked by uid 89); 16 May 2015 14:25:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,KAM_STOCKGEN,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-qc0-f174.google.com Received: from mail-qc0-f174.google.com (HELO mail-qc0-f174.google.com) (209.85.216.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sat, 16 May 2015 14:25:07 +0000 Received: by qcir1 with SMTP id r1so4282596qci.3 for ; Sat, 16 May 2015 07:25:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=Nt+4IP0UWcjVC4QQF0YGmCP0uenb2RoGq4LXnE4yQXM=; b=KTPV+uMak7rPVL/hKaiZcu4EThH3ABQi8Y+dnPYlJcEoVoF6AaI6+LrCoJEsBNEYoQ oMpCXi5jXijg+ebVoP8Fe4QdfL4+4GBWaxRdt/roFLcJUkFcBl10zHNmG6gdZlrFnkPm FSigR8j/2SJ9eOFGr1vq1DBqLDYbDYoYgOAM8OILi1CyLNqyodlrQaLsysozOT5YmFH6 Tu+xAuylp5mYkj+fKX5OniqHd7b4I5RAQARtkzZP4ad+2Jz9T+ClIp62pcCy3B/oLdDV 83lQCQUHQ0A4HO5GUiIgb/5XuhzWYAHPcjhjvRWQpFaXZeBFQsAwtcTp8piQwsDJppxr ibpA== X-Gm-Message-State: ALoCoQmaCGpD+kVTcVLUDpC3oB0+e2o6Boqd6f3krr4RkoH/Cx2heggWsOb2wprd7NPSoacoVobb X-Received: by 10.140.81.39 with SMTP id e36mr18744941qgd.10.1431786305400; Sat, 16 May 2015 07:25:05 -0700 (PDT) Received: from [192.168.1.130] (ool-4353acd8.dyn.optonline.net. [67.83.172.216]) by mx.google.com with ESMTPSA id b203sm3137244qhc.40.2015.05.16.07.25.04 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 16 May 2015 07:25:04 -0700 (PDT) From: Patrick Palka X-Google-Original-From: Patrick Palka Date: Sat, 16 May 2015 14:25:00 -0000 To: Jan Kratochvil cc: Pedro Alves , gdb-patches@sourceware.org, Phil Muldoon Subject: Re: [commit] [PATCH v5 6/7] compile: New 'compile print' In-Reply-To: <20150516125814.GE9862@host1.jankratochvil.net> Message-ID: References: <20150513201615.4051.5261.stgit@host1.jankratochvil.net> <20150513201704.4051.40784.stgit@host1.jankratochvil.net> <55562703.4060104@redhat.com> <20150516125814.GE9862@host1.jankratochvil.net> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-854275160-1431786304=:2479" X-SW-Source: 2015-05/txt/msg00436.txt.bz2 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-854275160-1431786304=:2479 Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Content-length: 1388 GCC 4.9 emits -Wmaybe-uninitialized warnings for the function get_out_value_type(): /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c: In function ¡compile_object_load¢: /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:419:20: error: ¡block¢ may be used uninitialized in this function [-Werror=maybe-uninitialized] gdb_ptr_type_sym = block_lookup_symbol (block, COMPILE_I_EXPR_PTR_TYPE, ^ /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:376:23: note: ¡block¢ was declared here const struct block *block; ^ /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:416:12: error: ¡gdb_val_sym¢ may be used uninitialized in this function [-Werror=maybe-uninitialized] gdb_type = SYMBOL_TYPE (gdb_val_sym); ^ /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:374:37: note: ¡gdb_val_sym¢ was declared here struct symbol *gdb_ptr_type_sym, *gdb_val_sym; ^ /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:406:10: error: ¡function¢ may be used uninitialized in this function [-Werror=maybe-uninitialized] if (function != NULL ^ /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:387:22: note: ¡function¢ was declared here struct symbol *function; --8323329-854275160-1431786304=:2479--