gcc-4.6-20110916 is now available

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

Re: original tree for folded expressions

2011-09-16 Thread Diego Novillo
On 11-09-16 16:25 , Joachim Wieland wrote: Hm, I don't see how exactly this would solve my problem... The issue I am facing is that references to necessary header files are optimized away. Just knowing that an expression has been folded doesn't help me... :-( Sorry, I was too cryptic. The set

Re: original tree for folded expressions

2011-09-16 Thread Joachim Wieland
On Fri, Sep 16, 2011 at 1:37 PM, Diego Novillo wrote: > However, you could try an approach similar to what Le-Chun implemented for > -Wself-assign (which only exists in the google/main branch for now).  See > EXPR_FOLDED in http://gcc.gnu.org/ml/gcc-patches/2011-04/msg01898.html. Hm, I don't see

More int128 tests?

2011-09-16 Thread Rohini Jayaram
Hi All, I see only 3 tests (shown below) for testing int128 feature in gcc 4.6.0 (testsuite/c-c++-common). int128-1.c int128-2.c int128-types-1.c Do you know if there are more int128 tests in any version of gcc? Thanks a lot! Rohini

Re: original tree for folded expressions

2011-09-16 Thread Diego Novillo
On 11-09-16 12:05 , Joachim Wieland wrote: I am looking at the AST from a plugin and a tree walking function called from PLUGIN_PRE_GENERICIZE. Is there an earlier phase that I could hook into? If not, would it be acceptable to add the original tree to a folded tree for analyzing tools like mine

Derive more alias information from named address space

2011-09-16 Thread Bingfeng Mei
Hi, I am trying to implement named address space for our target. In alias.c, I found the following piece of code several times. /* If we have MEMs refering to different address spaces (which can potentially overlap), we cannot easily tell from the addresses whether the references o

original tree for folded expressions

2011-09-16 Thread Joachim Wieland
I'm working on a plugin to report dependencies of a .c file to its headers, i.e. what information from the headers is referenced from the .c file. This works pretty well for most stuff, but I really have a hard time for anything that gets folded to a constant. The AST does no longer have the origi

Re: passing arguments to gcc build in eclipse

2011-09-16 Thread Andrew Haley
On 09/16/2011 11:30 AM, pankajsejwal wrote: > > I have build gcc and imported it on eclipse and started to debug it from main > but after a few steps it stops and sends "malloc.c" not found error and asks > to give a source path to it. > I believe the problem is because of the arguments that it req

Re: IRA misses register range overlap

2011-09-16 Thread Peter Bigot
On Thu, Sep 15, 2011 at 10:34 AM, Vladimir Makarov wrote: > On 09/15/2011 11:16 AM, Peter Bigot wrote: >> >> In the msp430 back end, hard registers 4 through 15 are HImode, with >> adjacent register sequences used for SImode and DImode.  In preparation >> for >> a library call, I'm emitting RTL th

passing arguments to gcc build in eclipse

2011-09-16 Thread pankajsejwal
I have build gcc and imported it on eclipse and started to debug it from main but after a few steps it stops and sends "malloc.c" not found error and asks to give a source path to it. I believe the problem is because of the arguments that it requires to proceed for example "" as gcc takes some arg