From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18226 invoked by alias); 18 Jul 2014 02:01:55 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 16614 invoked by uid 89); 18 Jul 2014 02:01:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: lug-owl.de Received: from lug-owl.de (HELO lug-owl.de) (195.71.106.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 18 Jul 2014 02:01:40 +0000 Received: by lug-owl.de (Postfix, from userid 1001) id D0E43F024F; Fri, 18 Jul 2014 04:01:36 +0200 (CEST) Date: Fri, 18 Jul 2014 05:04:00 -0000 From: Jan-Benedict Glaw To: gcc-patches@gcc.gnu.org Cc: Richard Biener , Hans-Peter Nilsson Subject: [BUILDROBOT][PATCH] Fix mmix (unused variable) Message-ID: <20140718020136.GT21544@lug-owl.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="O2izrSG9ltmUPm45" Content-Disposition: inline X-gpg-fingerprint: 250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB X-gpg-key: wwwkeys.de.pgp.net X-Echelon-Enable: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll X-TKUeV: howto poison arsenous mail psychological biological nuclear warfare test the bombastical terror of flooding the spy listeners explosion sex drugs and rock'n'roll User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg01246.txt.bz2 --O2izrSG9ltmUPm45 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1892 Hi! As a leftover of r210931, an unused variable resulted in: g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fn= o-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings= -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno= -long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common= -DHAVE_CONFIG_H -I. -I. -I../../../gcc/gcc -I../../../gcc/gcc/. -I../../.= ./gcc/gcc/../include -I../../../gcc/gcc/../libcpp/include -I/opt/cfarm/mpc/= include -I../../../gcc/gcc/../libdecnumber -I../../../gcc/gcc/../libdecnum= ber/dpd -I../libdecnumber -I../../../gcc/gcc/../libbacktrace -o mmix.o -= MT mmix.o -MMD -MP -MF ./.deps/mmix.TPo ../../../gcc/gcc/config/mmix/mmix.c ../../../gcc/gcc/config/mmix/mmix.c: In function =E2=80=98int64_t mmix_intv= al(const_rtx)=E2=80=99: ../../../gcc/gcc/config/mmix/mmix.c:2694:12: error: unused variable =E2=80= =98retval=E2=80=99 [-Werror=3Dunused-variable] uint64_t retval; ^ cc1plus: all warnings being treated as errors make[2]: *** [mmix.o] Error 1 (See eg. http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=3D= 305352) Committed as obvious, fixed like this: 2014-07-18 Jan-Benedict Glaw =20=20=20=20 * config/mmix/mmix.c (mmix_intval): Drop unused automatic variable. diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index e0b8ce7..b9edc3c 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -2691,8 +2691,6 @@ mmix_output_condition (FILE *stream, const_rtx x, int= reversed) int64_t mmix_intval (const_rtx x) { - uint64_t retval; - if (GET_CODE (x) =3D=3D CONST_INT) return INTVAL (x); =20 --=20 Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481 Signature of: Zensur im Internet? Nein danke! the second : --O2izrSG9ltmUPm45 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 198 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlPIgAAACgkQHb1edYOZ4btLpgCfdYyoByKJjARxzUb9zXDY+iu1 DuEAnik3RaNVt01z23FofFBgr4pIpE5K =8utL -----END PGP SIGNATURE----- --O2izrSG9ltmUPm45--