gcc-8-20171119 is now available

2017-11-19 Thread gccadmin
Snapshot gcc-8-20171119 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20171119/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision

Re: Finding all CALL_EXPR tree nodes during GENERIC

2017-11-19 Thread Katsunori Kumatani
Yes, it seems walk_tree does the job, I was probably doing something wrong before. Thank you. I have a question about it. Am I correct in assuming I only have to check the subtrees of nodes that satisfy EXPR_P? So for nodes that aren't EXPR_P, can I just set *walkSubtrees to 0, or will that miss s

Re: Possible suboptimal code generated in 32-bit ABI mode

2017-11-19 Thread Richard Bradfield
On Sun, Nov 19, 2017 at 04:19:45PM +, bradf...@fstab.me wrote: For reference, I am compiling everything using gcc trunk, at commit 254929 from Sun Nov 19, and I am benchmarking on a Skylake i7-6700K at 4.0GHz. And something else I should definitely have included in the first place, I cannot

Possible suboptimal code generated in 32-bit ABI mode

2017-11-19 Thread bradfirj
Hello, I was playing around with 64bit arithmetic with -m32 enabled and encountered some strange optimization in what I thought was a very simple case. My test function, which I appreciate is totally artifical, is as follows: uint64_t sum(uint64_t a, uint64_t b) { return a + b; } This is ob