From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7000 invoked by alias); 26 Jun 2015 14:36:04 -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 6984 invoked by uid 89); 26 Jun 2015 14:36:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,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, 26 Jun 2015 14:36:01 +0000 Received: by lug-owl.de (Postfix, from userid 1001) id F3B32F0215; Fri, 26 Jun 2015 16:35:57 +0200 (CEST) Date: Fri, 26 Jun 2015 14:36:00 -0000 From: Jan-Benedict Glaw To: Richard Sandiford Cc: gcc-patches@gcc.gnu.org Subject: [BUILDROBOT] could not convert =?utf-8?Q?t?= =?utf-8?B?ZW1wbGF0ZSBhcmd1bWVudCDigJhmaWxsX2RlY2xzX3ZlY+KAmSB0byDigJhi?= =?utf-8?B?b29sICgqKSh0cmVlX25vZGUqJiwgdHJlZV9ub2RlKiosIGF1dG9fdmVjPGNp?= =?utf-8?B?bGtfZGVjbHM+KinigJk=?= (was: [12/12] Simplify uses of hash_map) Message-ID: <20150626143557.GQ16812@lug-owl.de> References: <87egl2bicm.fsf@e105548-lin.cambridge.arm.com> <87twty8ob7.fsf@e105548-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xYeFQzU4VZLrHqxU" Content-Disposition: inline In-Reply-To: <87twty8ob7.fsf@e105548-lin.cambridge.arm.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: 2015-06/txt/msg01960.txt.bz2 --xYeFQzU4VZLrHqxU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 8853 On Tue, 2015-06-23 15:57:48 +0100, Richard Sandiford wrote: > At this point all hash_map traits know what kind of key they're > dealing with, so we can make that a traits typedef, like it is for > hash_table traits. Then, if we make the default hash traits for > T be T, we can use hash_table-style traits as the first template > parameter to hash_map, without the need for a third. That is, if > foo_hash hashes elements of type foo_type: >=20 > typedef simple_hashmap_traits foo_traits; > hash_map x; >=20 > becomes just: >=20 > hash_map x; >=20 > just like a hash_table of foo_types would be: >=20 > hash_table y; >=20 > This patch makes that simplification. One of the patches around yours, and I guess it's specifically this one, ma= kes g++ (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8) (on gcc110.fsffrance.org) unhap= py: g++ -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -DCRO= SS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tab= les -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-at= tribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros = -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I/home= /jbglaw/repos/gcc/gcc -I/home/jbglaw/repos/gcc/gcc/c-family -I/home/jbglaw/= repos/gcc/gcc/../include -I/home/jbglaw/repos/gcc/gcc/../libcpp/include -I= /home/jbglaw/repos/gcc/gcc/../libdecnumber -I/home/jbglaw/repos/gcc/gcc/../= libdecnumber/dpd -I../libdecnumber -I/home/jbglaw/repos/gcc/gcc/../libbackt= race -o c-family/cilk.o -MT c-family/cilk.o -MMD -MP -MF c-family/.deps/c= ilk.TPo /home/jbglaw/repos/gcc/gcc/c-family/cilk.c In file included from /home/jbglaw/repos/gcc/gcc/coretypes.h:319:0, from /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:25: /home/jbglaw/repos/gcc/gcc/input.h:37:12: warning: comparison between signe= d and unsigned integer expressions [-Wsign-compare] /home/jbglaw/repos/gcc/gcc/c-family/cilk.c: In function =E2=80=98void build= _wrapper_type(wrapper_data*)=E2=80=99: /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:438:77: error: no matching funct= ion for call to =E2=80=98hash_map::traverse(auto_ve= c*)=E2=80=99 /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:438:77: note: candidates are: In file included from /home/jbglaw/repos/gcc/gcc/hash-table.h:553:0, from /home/jbglaw/repos/gcc/gcc/coretypes.h:317, from /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:25: /home/jbglaw/repos/gcc/gcc/hash-map.h:173:8: note: template void hash_map::traverse(Arg) c= onst [with Arg =3D Arg; bool (* f)(typename Traits::key_type&, const Value&= , Arg) =3D f; KeyId =3D tree_node*; Value =3D tree_node*; Traits =3D simple= _hashmap_traits >] /home/jbglaw/repos/gcc/gcc/hash-map.h:173:8: note: template argument dedu= ction/substitution failed: /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:438:77: error: could not convert= template argument =E2=80=98fill_decls_vec=E2=80=99 to =E2=80=98bool (*)(tr= ee_node*&, tree_node* const&, auto_vec*)=E2=80=99 In file included from /home/jbglaw/repos/gcc/gcc/hash-table.h:553:0, from /home/jbglaw/repos/gcc/gcc/coretypes.h:317, from /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:25: /home/jbglaw/repos/gcc/gcc/hash-map.h:181:8: note: template void hash_map::traverse(Arg) const [= with Arg =3D Arg; bool (* f)(typename Traits::key_type&, Value*, Arg) =3D f= ; KeyId =3D tree_node*; Value =3D tree_node*; Traits =3D simple_hashmap_tra= its >] /home/jbglaw/repos/gcc/gcc/hash-map.h:181:8: note: template argument dedu= ction/substitution failed: /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:438:77: error: could not convert= template argument =E2=80=98fill_decls_vec=E2=80=99 to =E2=80=98bool (*)(tr= ee_node*&, tree_node**, auto_vec*)=E2=80=99 /home/jbglaw/repos/gcc/gcc/c-family/cilk.c: In function =E2=80=98void cilk_= outline(tree, tree_node**, void*)=E2=80=99: /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:542:77: error: no matching funct= ion for call to =E2=80=98hash_map::traverse(auto_ve= c*)=E2=80=99 /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:542:77: note: candidates are: In file included from /home/jbglaw/repos/gcc/gcc/hash-table.h:553:0, from /home/jbglaw/repos/gcc/gcc/coretypes.h:317, from /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:25: /home/jbglaw/repos/gcc/gcc/hash-map.h:173:8: note: template void hash_map::traverse(Arg) c= onst [with Arg =3D Arg; bool (* f)(typename Traits::key_type&, const Value&= , Arg) =3D f; KeyId =3D tree_node*; Value =3D tree_node*; Traits =3D simple= _hashmap_traits >] /home/jbglaw/repos/gcc/gcc/hash-map.h:173:8: note: template argument dedu= ction/substitution failed: /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:542:77: error: could not convert= template argument =E2=80=98fill_decls_vec=E2=80=99 to =E2=80=98bool (*)(tr= ee_node*&, tree_node* const&, auto_vec*)=E2=80=99 In file included from /home/jbglaw/repos/gcc/gcc/hash-table.h:553:0, from /home/jbglaw/repos/gcc/gcc/coretypes.h:317, from /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:25: /home/jbglaw/repos/gcc/gcc/hash-map.h:181:8: note: template void hash_map::traverse(Arg) const [= with Arg =3D Arg; bool (* f)(typename Traits::key_type&, Value*, Arg) =3D f= ; KeyId =3D tree_node*; Value =3D tree_node*; Traits =3D simple_hashmap_tra= its >] /home/jbglaw/repos/gcc/gcc/hash-map.h:181:8: note: template argument dedu= ction/substitution failed: /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:542:77: error: could not convert= template argument =E2=80=98fill_decls_vec=E2=80=99 to =E2=80=98bool (*)(tr= ee_node*&, tree_node**, auto_vec*)=E2=80=99 /home/jbglaw/repos/gcc/gcc/c-family/cilk.c: In function =E2=80=98tree_node*= create_cilk_wrapper(tree, tree_node**)=E2=80=99: /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:749:76: error: no matching funct= ion for call to =E2=80=98hash_map::traverse(auto_ve= c*)=E2=80=99 /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:749:76: note: candidates are: In file included from /home/jbglaw/repos/gcc/gcc/hash-table.h:553:0, from /home/jbglaw/repos/gcc/gcc/coretypes.h:317, from /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:25: /home/jbglaw/repos/gcc/gcc/hash-map.h:173:8: note: template void hash_map::traverse(Arg) c= onst [with Arg =3D Arg; bool (* f)(typename Traits::key_type&, const Value&= , Arg) =3D f; KeyId =3D tree_node*; Value =3D tree_node*; Traits =3D simple= _hashmap_traits >] /home/jbglaw/repos/gcc/gcc/hash-map.h:173:8: note: template argument dedu= ction/substitution failed: /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:749:76: error: could not convert= template argument =E2=80=98fill_decls_vec=E2=80=99 to =E2=80=98bool (*)(tr= ee_node*&, tree_node* const&, auto_vec*)=E2=80=99 In file included from /home/jbglaw/repos/gcc/gcc/hash-table.h:553:0, from /home/jbglaw/repos/gcc/gcc/coretypes.h:317, from /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:25: /home/jbglaw/repos/gcc/gcc/hash-map.h:181:8: note: template void hash_map::traverse(Arg) const [= with Arg =3D Arg; bool (* f)(typename Traits::key_type&, Value*, Arg) =3D f= ; KeyId =3D tree_node*; Value =3D tree_node*; Traits =3D simple_hashmap_tra= its >] /home/jbglaw/repos/gcc/gcc/hash-map.h:181:8: note: template argument dedu= ction/substitution failed: /home/jbglaw/repos/gcc/gcc/c-family/cilk.c:749:76: error: could not convert= template argument =E2=80=98fill_decls_vec=E2=80=99 to =E2=80=98bool (*)(tr= ee_node*&, tree_node**, auto_vec*)=E2=80=99 make[1]: *** [c-family/cilk.o] Error 1 make[1]: Leaving directory `/home/jbglaw/build/cris/build-gcc/gcc' make: *** [all-gcc] Error 2 See eg. http://toolchain.lug-owl.de/buildbot/show_build_details.php?id=3D448826 MfG, JBG --=20 Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481 Signature of: If it doesn't work, force it. the second : If it breaks, it needed replacing anyway. --xYeFQzU4VZLrHqxU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 181 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlWNY00ACgkQHb1edYOZ4bui4ACfQZqo7SyA7KejAclN7tfInXLK XCAAni0RMm2StEKSZZM8lESZ59OT9qLZ =pDn6 -----END PGP SIGNATURE----- --xYeFQzU4VZLrHqxU--