gcc-4.8-20140410 is now available

2014-04-10 Thread gccadmin
Snapshot gcc-4.8-20140410 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.8-20140410/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: add_branch_dependences in sched-rgn.c

2014-04-10 Thread Maxim Kuvyrkov
On Apr 11, 2014, at 2:47 AM, Kyrill Tkachov wrote: > On 10/04/14 02:50, Maxim Kuvyrkov wrote: >> On Apr 9, 2014, at 4:15 AM, Kyrill Tkachov wrote: >> >>> Hi all, >>> >>> I'm looking at some curious pre-reload scheduling behaviour and I noticed >>> this: >>> >>> At the add_branch_dependences

Re: Code emitted was bloated with no optimisation.

2014-04-10 Thread Andrew Haley
On 04/10/2014 04:12 PM, Umesh Kalappa wrote: > Please somebody from the group can share their thoughts and will be > appricate the same. But unoptimized code is expected to be large. Why do you expect otherwise? Andrew.

Code emitted was bloated with no optimisation.

2014-04-10 Thread Umesh Kalappa
Hi there, we ported gcc 4.8.1 to our ptivate target and the code is bloated for the array access as shown below C file : int a[10]; int i; test() { a[9] = 10; a[i] = 20; } xgcc -O2 -S test.c _test: ld (_a+18), 10 ;a[9] = 10; ld WA, (_i) ; a[i] = 20; add WA

Re: add_branch_dependences in sched-rgn.c

2014-04-10 Thread Kyrill Tkachov
On 10/04/14 02:50, Maxim Kuvyrkov wrote: On Apr 9, 2014, at 4:15 AM, Kyrill Tkachov wrote: Hi all, I'm looking at some curious pre-reload scheduling behaviour and I noticed this: At the add_branch_dependences function sched-rgn.c there is a comment that says "branches, calls, uses, clobbers