gcc-8-20170507 is now available

2017-05-07 Thread gccadmin
Snapshot gcc-8-20170507 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20170507/ 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: .bad_compare in bootstrap of head

2017-05-07 Thread Jan Hubicka
Hi, I found the problem. It was pretty obvious - we compute sum of times twice. Once when computing statement sizes and second time by summing the summaries. because sreal is not distributive, it leads to different results. I have comitted the following patch. Incrementally I will drop the code d

Re: note: parameter passing for argument of type '...' changed in GCC 7.1?

2017-05-07 Thread Jakub Jelinek
On Sun, May 07, 2017 at 10:48:56PM +0200, Freddie Chopin wrote: > I've got a project which - when compiled with "arm-none-eabi" GCC 7.1 > without optimizations - produces quite a lot of such messages: It is a note that such code is ABI incompatible between GCC 6.x and 7.1, so if you recompile all

note: parameter passing for argument of type '...' changed in GCC 7.1?

2017-05-07 Thread Freddie Chopin
Hello! I've got a project which - when compiled with "arm-none-eabi" GCC 7.1 without optimizations - produces quite a lot of such messages: -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- In file included from ../../include/distortos/internal/scheduler/SoftwareTimerList.hpp:17:0,

Successful build and some autotuning of GCC 7.1.0 on Raspberry Pi 3

2017-05-07 Thread Grigori Fursin
Dear GCC colleagues, I managed to build GCC 7.1.0 on Raspberry Pi 3 (Raspbian GNU/Linux 8 (jessie), GCC 4.9.2). It required combination of specific configuration flags: --with-cpu=cortex-a53 --with-fpu=neon-fp-armv8 --with-float=hard --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --

Question about loop induction variables

2017-05-07 Thread Fredrik Hederstierna
Hi, I have a question about loop induction variables, related to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67213 Consider a simple loop like int ix; for (ix = 0; ix < 6; ix++) { data[ix] = ix; } In this case variable 'ix' is used as counting variable for array index, but also used