Re: Implementing p0515 - spaceship operator

2018-11-05 Thread Jason Merrill
On Sun, Nov 4, 2018 at 11:36 PM Tim van Deurzen wrote: > I've received a lot of good advice from Nathan, but haven't had an > opportunity to apply it yet. I'm happy, however, to show / commit what I > have so far (which covers the parsing of the operator). I've been > working from the git reposito

Re: how to build and test uClinux toolchains

2018-11-05 Thread Christophe Lyon
On Mon, 5 Nov 2018 at 21:49, Max Filippov wrote: > > On Fri, Nov 2, 2018 at 3:29 AM Christophe Lyon > wrote: > > I re-ran the wiki instructions with --target=xtensa-buildroot-uclinux-uclibc > > and while gcc/g++ results looks mostly OK, the libstdc++ ones only show: > > Running ...f/trunk/libstdc

Re: how to build and test uClinux toolchains

2018-11-05 Thread Max Filippov
On Fri, Nov 2, 2018 at 3:29 AM Christophe Lyon wrote: > I re-ran the wiki instructions with --target=xtensa-buildroot-uclinux-uclibc > and while gcc/g++ results looks mostly OK, the libstdc++ ones only show: > Running ...f/trunk/libstdc++-v3/testsuite/libstdc++-abi/abi.exp ... > ERROR: could not c

Re: how to build and test uClinux toolchains

2018-11-05 Thread Max Filippov
On Wed, Oct 31, 2018 at 8:43 AM Christophe Lyon wrote: > I also built qemu from the branch you mentioned, > and used the "run it on linux-user QEMU" section in the wiki > > I see many execution errors, now realizing that I didn't > do what you said above: "apply gcc part of the xtensa overlay". >

Poor code generation/optimisation in all versions of GCC x86-64 and x86-32

2018-11-05 Thread Stefan Kanthak
Hi @ll, the following code snippets let GCC x86-64 generate rather poor code (see ): __int128 foo(__int128 n) { n <<= 1; n += 1; n |= 1; return n; } __int128 bar(__int128 n) { n += n; n += 1; n |= 1; return n; } With -O1:

Re: Implementing p0515 - spaceship operator

2018-11-05 Thread Tim van Deurzen
Will take care of it this evening then. If I get stuck or need some help I'll try the IRC channel or reply to this mail again :). Tim. On 11/5/18 8:40 AM, Jakub Jelinek wrote: On Mon, Nov 05, 2018 at 08:36:44AM +0100, Tim van Deurzen wrote: I've received a lot of good advice from Nathan, but