From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15429 invoked by alias); 20 Apr 2005 13:31:50 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 15338 invoked from network); 20 Apr 2005 13:31:40 -0000 Received: from unknown (HELO mx2.suse.de) (195.135.220.15) by sourceware.org with SMTP; 20 Apr 2005 13:31:40 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id E13F99278 for ; Wed, 20 Apr 2005 15:30:03 +0200 (CEST) To: binutils@sources.redhat.com Subject: Fix GCC4 warnings From: Andreas Schwab X-Yow: TAPPING? You POLITICIANS! Don't you realize that the END of the ``Wash Cycle'' is a TREASURED MOMENT for most people?! Date: Wed, 20 Apr 2005 13:31:00 -0000 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2005-04/txt/msg00556.txt.bz2 This patch fixes these warnings: /cvs/binutils/gas/config/tc-ia64.c: In function =E2=80=98specify_resource= =E2=80=99: /cvs/binutils/gas/config/tc-ia64.c:8197: warning: =E2=80=98tmpl.path=E2=80= =99 is used uninitialized in this function /cvs/binutils/gas/config/tc-ia64.c:8197: warning: =E2=80=98tmpl.line=E2=80= =99 is used uninitialized in this function /cvs/binutils/gas/config/tc-ia64.c:8197: warning: =E2=80=98tmpl.file=E2=80= =99 is used uninitialized in this function /cvs/binutils/gas/config/tc-ia64.c:8197: warning: =E2=80=98tmpl.depind=E2= =80=99 is used uninitialized in this function /cvs/binutils/gas/config/tc-ia64.c:8197: warning: =E2=80=98tmpl.mem_offset.= base=E2=80=99 is used uninitialized in this function /cvs/binutils/gas/config/tc-ia64.c:8197: warning: =E2=80=98tmpl.mem_offset.= offset=E2=80=99 is used uninitialized in this function Installed as obvious. Andreas. 2005-04-20 Andreas Schwab * config/tc-ia64.c (specify_resource): Initialize all of tmpl. --- gas/config/tc-ia64.c.~1.154.~ 2005-04-20 12:51:53.000000000 +0200 +++ gas/config/tc-ia64.c 2005-04-20 15:23:57.000000000 +0200 @@ -8171,9 +8171,15 @@ specify_resource (dep, idesc, type, spec tmpl.qp_regno =3D CURR_SLOT.qp_regno; tmpl.link_to_qp_branch =3D 1; tmpl.mem_offset.hint =3D 0; + tmpl.mem_offset.offset =3D 0; + tmpl.mem_offset.base =3D 0; tmpl.specific =3D 1; tmpl.index =3D -1; tmpl.cmp_type =3D CMP_NONE; + tmpl.depind =3D 0; + tmpl.file =3D NULL; + tmpl.line =3D 0; + tmpl.path =3D 0; =20 #define UNHANDLED \ as_warn (_("Unhandled dependency %s for %s (%s), note %d"), \ --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=C3=9Fe 5, 90409 N=C3=BCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."