gcc-8-20170827 is now available

2017-08-27 Thread gccadmin
Snapshot gcc-8-20170827 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20170827/ 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: Quantitative analysis of -Os vs -O3

2017-08-27 Thread Andi Kleen
Allan Sandfeld Jensen writes: > > Yeah. That is just more problematic in practice. Though I do believe we have > support for it. It is good to know it will automatically upgrade > optimizations > like that. I just wish there was a way to distribute pre-generated arch- > independent training dat

gcc torture test pr52286.c

2017-08-27 Thread Paul S
I've ported gcc to a 16 bit CPU and have all torture tests passing bar one, pr52286.c The offending lines of code are long a, b = 0; asm ("" : "=r" (a) : "0" (0)); which should cause zero to be assigned to the "a" SI sized variable. Inspecting the generated code revealed that zero was on