Re: Generating data at link time

2013-06-01 Thread Andrew Pinski
On Sat, Jun 1, 2013 at 5:59 PM, YU Chenkan wrote: > Dear all, > > I'm trying to generate a (very simple) special data section at > link-time. It seems that LTO is too heavy, though I'm also not quite > familiar with it. > > I think that what I first need is a new output format which wraps the

Generating data at link time

2013-06-01 Thread YU Chenkan
Dear all, I'm trying to generate a (very simple) special data section at link-time. It seems that LTO is too heavy, though I'm also not quite familiar with it. I think that what I first need is a new output format which wraps the standard ELF, so can anyone help to point out where I can get s

Re: I would like to provide a mirror for GCC

2013-06-01 Thread Gerald Pfeifer
Hi Timo, On Fri, 24 May 2013, timo.ja...@go-part.com wrote: > I was wondering if you are still accepting mirrors for GCC. > > http://gcc.gnu.org/mirrors.html > > If you are, I will like to provide one with HTTP, FTP and Rsync access via > a VPS located in Australia, USA, UK, Philippines or Japan

gcc-4.7-20130601 is now available

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

Re: gcc 4.8.1: -O2 warnings one element off

2013-06-01 Thread Jens Bauer
On Sat, 01 Jun 2013 22:12:51 +0100, Andrew Haley wrote: > In both cases you cannot actually use the memory at *p. I think gcc is > detecting the indexing but not the access. That makes sense! On Sat, 1 Jun 2013 23:19:45 +0200, Jakub Jelinek wrote: > It is not a bug, the warning isn't guaranteed

Re: gcc 4.8.1: -O2 warnings one element off

2013-06-01 Thread Jakub Jelinek
On Sat, Jun 01, 2013 at 11:08:21PM +0200, Jens Bauer wrote: > Here's my result: > > ---8<-8<-8<- > elementTest.c: In function 'main': > elementTest.c:27:19: warning: iteration 8u invokes undefined behavior > [-Waggressive-loop-optimizations] >eightMembers[i] = 0; >

Re: gcc 4.8.1: -O2 warnings one element off

2013-06-01 Thread Andrew Haley
On 06/01/2013 10:08 PM, Jens Bauer wrote: > I would expect gcc to complain when it meets the second loop as well as the > third loop, but it didn't detect that there is something wrong with the > second loop. > > ...Is this a bug ? C allows you to index one element beyond the end of an array.

gcc 4.8.1: -O2 warnings one element off

2013-06-01 Thread Jens Bauer
Hi list. I think I've found a bug in where gcc checks if array indices are in range. Here's my test-code: ---8<-8<-8<- /* * file: elementTest.c * command-line: * arm-none-eabi-gcc -O2 elementTest.c -o elementTest */ #include uint8_t eightMembers[8]; int main(int argc, const

Re: Excessive calls to iterate_phdr during exception handling

2013-06-01 Thread Ryan Johnson
On 29/05/2013 9:41 AM, Ian Lance Taylor wrote: On Tue, May 28, 2013 at 9:02 PM, Ryan Johnson wrote: Maybe I misunderstood... there's currently a (very small) cache (unwind-dw2-fde-dip.c) that lives behind the loader mutex. It contains 8 entries and each entry holds the start and end addresses f

MELT 0.9.9 rc1 plugin release candidate for GCC 4.6, 4.7, 4.8

2013-06-01 Thread Basile Starynkevitch
Dear All, It is my pleasure to announce the long-awaited MELT 0.9.9 rc1 plugin release candidate 1 for GCC 4.6, 4.7, and 4.8. This is a significant improvement over previous MELT plugins. In short, mixing at will MELT and C/C++ code is even much easier than before (in particular, because with