From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119683 invoked by alias); 12 Jun 2017 09:40:41 -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 119661 invoked by uid 89); 12 Jun 2017 09:40:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=earth, mfg, H*r:1001, 20170512 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 ESMTP; Mon, 12 Jun 2017 09:40:37 +0000 Received: by lug-owl.de (Postfix, from userid 1001) id C6AABF0551; Mon, 12 Jun 2017 11:40:39 +0200 (CEST) Date: Mon, 12 Jun 2017 09:40:00 -0000 From: Jan-Benedict Glaw To: Graham Markall Cc: gcc-patches@gcc.gnu.org, andrew.burgess@embecosm.com, guybe@mellanox.com, noamca@mellanox.com Subject: [BUILDROBOT] error: format =?utf-8?B?4oCY?= =?utf-8?B?JWTigJkgZXhwZWN0cyBhcmd1bWVudCBvZiB0eXBlIOKAmGludOKAmSwgYnV0?= =?utf-8?Q?_argument_3_has_type_=E2=80=98long_int=E2=80=99_=28was?= =?utf-8?Q?=3A?= [PATCH] [ARC] Recognise add_n and sub_n in combine again) Message-ID: <20170612094039.GH23846@lug-owl.de> References: <20170512191423.16256-1-graham.markall@embecosm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="S6vg04ofUPzW4qJg" Content-Disposition: inline In-Reply-To: <20170512191423.16256-1-graham.markall@embecosm.com> 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.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00763.txt.bz2 --S6vg04ofUPzW4qJg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2723 On Fri, 2017-05-12 20:14:23 +0100, Graham Markall wrote: > Since the combine pass canonicalises shift-add insns using plus and > ashift (as opposed to plus and mult which it previously used to do), it > no longer creates *add_n or *sub_n insns, as the patterns match plus and > mult only. The outcome of this is that some opportunities to generate > add{1,2,3} and sub{1,2,3} instructions are missed. [...] > diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c > index 91c28e7..42730d5 100644 > --- a/gcc/config/arc/arc.c > +++ b/gcc/config/arc/arc.c > @@ -3483,6 +3483,14 @@ arc_print_operand (FILE *file, rtx x, int code) >=20=20 > return; >=20=20 > + case 'c': > + if (GET_CODE (x) =3D=3D CONST_INT) > + fprintf (file, "%d", INTVAL (x) ); > + else > + output_operand_lossage ("invalid operands to %%c code"); > + > + return; > + Build robot found something (see log at http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=3D704773), seems to be introduced with the above patch fragment: g++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-excep= tions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrit= e-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -peda= ntic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -f= no-common -DHAVE_CONFIG_H -I. -I. -I/home/jbglaw/repos-configlist_mk/gcc/g= cc -I/home/jbglaw/repos-configlist_mk/gcc/gcc/. -I/home/jbglaw/repos-config= list_mk/gcc/gcc/../include -I/home/jbglaw/repos-configlist_mk/gcc/gcc/../li= bcpp/include -I/opt/cfarm/mpc/include -I/home/jbglaw/repos-configlist_mk/g= cc/gcc/../libdecnumber -I/home/jbglaw/repos-configlist_mk/gcc/gcc/../libdec= number/dpd -I../libdecnumber -I/home/jbglaw/repos-configlist_mk/gcc/gcc/../= libbacktrace -o arc.o -MT arc.o -MMD -MP -MF ./.deps/arc.TPo /home/jbglaw= /repos-configlist_mk/gcc/gcc/config/arc/arc.c /home/jbglaw/repos-configlist_mk/gcc/gcc/config/arc/arc.c: In function =E2= =80=98void arc_print_operand(FILE*, rtx, int)=E2=80=99: /home/jbglaw/repos-configlist_mk/gcc/gcc/config/arc/arc.c:3503:41: error: f= ormat =E2=80=98%d=E2=80=99 expects argument of type =E2=80=98int=E2=80=99, = but argument 3 has type =E2=80=98long int=E2=80=99 [-Werror=3Dformat=3D] fprintf (file, "%d", INTVAL (x) ); ^ cc1plus: all warnings being treated as errors MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481 Signature of: God put me on earth to accomplish a certain numbe= r of the second : things. Right now I am so far behind I will never = die. --S6vg04ofUPzW4qJg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 181 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlk+YZcACgkQHb1edYOZ4bsRlQCeMqHIxC8hIiWY6ncU3TdSp6ou Or8An38mDI6EoxNYd5LXkHv6Q/xbRaUe =EakV -----END PGP SIGNATURE----- --S6vg04ofUPzW4qJg--