Re: Call for testers: MPC-0.6 released

2009-04-06 Thread Rainer Emrich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Built with disable-shared: - - i686-pc-mingw32 gcc-4.4.0 gmp-4.2.4 mpfr-2.4.1 ok - - i686-pc-cygwin gcc-4.4.0 gmp-4.2.4 mpfr-2.4.1 ok Rainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enig

Re: GCC + libJIT instead of LLVM

2009-04-06 Thread Gabriele SVELTO
Basile STARYNKEVITCH wrote: I believe that Kiril mentioned in a separate post the equation (mcs | csc | cscc) & gcc & libJIT == LLVM ? I tend to believe that Kiril dreams of building a CLI/.NET infrastructure and VM which uses all the powerful optimisations of GCC. For reference to Kiril:

Re: Minimum required GNAT version for bootstrap of GNAT on gcc trunk

2009-04-06 Thread Laurent GUERBY
To add to this data: on i686-mingw the system gcc-3.4.5-20060117-3 is able to bootstrap SVN 4.4 with --enable-languages=c,ada the resulting compiler is able to compile simple Ada programs and ACATS is currently running (I can't test C because I don't have dejagnu - advice welcomed). Current trunk

Re: Invalid reload inheritance with paradoxical subregs

2009-04-06 Thread Hans-Peter Nilsson
On Thu, 2 Apr 2009, Uros Bizjak wrote: > Combine simplifies lshiftrt/shift/and combined instruction under the > assumption, that for ZERO_EXTEND LOAD_EXTEND_OP targets it can prove > that certain bits are zero, so AND operation can be omitted. The > resulting instruction is valid only for memory op

Re: GCC + libJIT instead of LLVM

2009-04-06 Thread Mark Mitchell
David Edelsohn wrote: >> My explanations seem to have also failed to explain you. >> Unfortunately, one really needs have some back group with both >> Just-In-Time compilers,Virtual Machines, and Common Intermediate >> Language to understand this area. I understand that it is not your >> area of e

[lto] Mainline merge @145453

2009-04-06 Thread Diego Novillo
Unsurprisingly, this merge was quite painful. Particularly adapting to all the new EH changes. The main changes I needed to do: - The master_clone field is gone from cgraph_node. Some things had to be handled differently when reading/writing cgraph nodes. - There was a bug when emitting/re

Re: bitfields: types vs modes?

2009-04-06 Thread Mark Mitchell
Ian Lance Taylor wrote: >> So... can I/we move forward on this? Or will such a change be >> rejected? > It's hard for me to get excited about something like this. It's > straightforward a programmer to write code that is clearly correct in > this sort of situation: just don't use a bitfield.

C front end trouble

2009-04-06 Thread Guilherme Puglia
Hi, I´m having some troubles again. I wanna convert a tree structure to c_declspecs structure. Anybody know how I could do that? Thanks -- -- "Never memorize something that you can look up." - Albert Einstein --

Re: generating functions and eh region

2009-04-06 Thread Hans-Peter Nilsson
On Fri, 3 Apr 2009, Ian Lance Taylor wrote: > gcc's -fasynchronous-unwind-tables option is > intended to support unwinding the stack at any precise instruction > boundary, which might be adequate for this purpose if the OS can handle > the adjustment from an exception in the middle of an instructio

Re: [lto] Mainline merge @145453

2009-04-06 Thread Jan Hubicka
> Unsurprisingly, this merge was quite painful. Particularly > adapting to all the new EH changes. The main changes I needed to > do: > > - The master_clone field is gone from cgraph_node. Some things > had to be handled differently when reading/writing cgraph > nodes. > > - There was a bu

Re: Invalid reload inheritance with paradoxical subregs

2009-04-06 Thread Uros Bizjak
Hans-Peter Nilsson wrote: On Thu, 2 Apr 2009, Uros Bizjak wrote: Combine simplifies lshiftrt/shift/and combined instruction under the assumption, that for ZERO_EXTEND LOAD_EXTEND_OP targets it can prove that certain bits are zero, so AND operation can be omitted. The resulting instruction is

Re: [lto] Mainline merge @145453

2009-04-06 Thread Diego Novillo
On Mon, Apr 6, 2009 at 10:44, Jan Hubicka wrote: > Sorry, I was actually thinking about checking if LTO saves AKA bitmaps > and tell you, but forgot about that.  What do you mean by shared > regions? If EH region 3 has the AKA bitmap { 4, 5, 7, 13 } then slots 3, 4, 5 7 and 13 in the EH table wi

Re: Invalid reload inheritance with paradoxical subregs

2009-04-06 Thread Hans-Peter Nilsson
On Mon, 6 Apr 2009, Uros Bizjak wrote: > Hans-Peter Nilsson wrote: > > And again, I'd be perfectly fine with removing this weird > > LOAD_EXTEND_OP-specific "feature". I'm of half a mind to remove > > the #define from the MMIX port. > Please note, that my findings were on 4.3.4 to-be-released bran

Re: Debugging gcc front end

2009-04-06 Thread Ian Lance Taylor
Guilherme Puglia <1c3br...@gmail.com> writes: > To solve my problem I wanna debug the C front end. I was trying to > debug the gcc main function, toplev_main. Unfortunately, I can't > insert a break point in this line. > > I saw the site http://gcc.gnu.org/wiki/DebuggingGCC and > http://gcc.gnu.or

Re: C front end trouble

2009-04-06 Thread Ian Lance Taylor
Guilherme Puglia <1c3br...@gmail.com> writes: > I´m having some troubles again. I wanna convert a tree structure to > c_declspecs structure. > > Anybody know how I could do that? That seems like an odd transformation to want to make. There is nothing in the compiler which does that today. You c

Re: generating functions and eh region

2009-04-06 Thread Ian Lance Taylor
Hans-Peter Nilsson writes: > On Fri, 3 Apr 2009, Ian Lance Taylor wrote: >> gcc's -fasynchronous-unwind-tables option is >> intended to support unwinding the stack at any precise instruction >> boundary, which might be adequate for this purpose if the OS can handle >> the adjustment from an excep

Re: fwprop and CSE const anchor opt

2009-04-06 Thread Richard Sandiford
Adam Nemet writes: > Richard Sandiford writes: >> Adam Nemet writes: >> > * Synthesizing multi-insns constants from const anchors make sense >> > regardless >> > whether the constant is used as an address so I am adjusting the cost >> > system >> > to make those stick independent of the context

PATCH for Re: "Host/Target specific installation notes for GCC": broken link

2009-04-06 Thread Gerald Pfeifer
On Sun, 22 Mar 2009, Dennis Schridde wrote: > The page on "Host/Target specific installation notes for GCC" > (http://gcc.gnu.org/install/specific.html) has a broken link. > In the table of contents it links to > "http://gcc.gnu.org/install/specific.html#x-x-mingw";, while > "http://gcc.gnu.org/

Re: typo in gcc-4.4 changes

2009-04-06 Thread Gerald Pfeifer
On Sat, 4 Apr 2009, Jonathan Wakely wrote: > There is currently no way to get from the front page to the > gcc-4.4/changes.html page, should there be a "(changes)" link on the > front page until a release is added to the gcc-4.4/index.html page? I think that would be appropriate, yes. Are you g

Re: bitfields: types vs modes?

2009-04-06 Thread DJ Delorie
> http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042c/IHI0042C_aapcs.pdf > > and, in particular, \S 7.1.7.5, entitled "Volatile bit-fields". > > A first question is if these are the semantics that you're looking for > in your project. If so, then we could collaborate with you on > impleme

Re: Call for testers: MPC-0.6 released

2009-04-06 Thread Gerald Pfeifer
On Sat, 4 Apr 2009, Andreas Tobler wrote: >>> I've cc'ed others who have access to the platforms in question based on >>> GCC test results. Please help if you can. >> >> - powerpc-apple-darwin9.6.0 gcc-4.5.0 gmp-4.2.2 mpfr-2.3.1 ok. >> - sparc-sun-solaris2.10 gcc-4.4 gmp-4.2.2 mpfr-2.3.1 ok >> -

Re: typo in gcc-4.4 changes

2009-04-06 Thread Jonathan Wakely
2009/4/6 Gerald Pfeifer: > On Sat, 4 Apr 2009, Jonathan Wakely wrote: >> There is currently no way to get from the front page to the >> gcc-4.4/changes.html page, should there be a "(changes)" link on the >> front page until a release is added to the gcc-4.4/index.html page? > > I think that would

Re: GCC 4.4.0 Status Report (2009-03-13)

2009-04-06 Thread Gerald Pfeifer
On Fri, 20 Mar 2009, Joe Buck wrote: > When there is traffic, the SC gets to spend time arguing with RMS. Oh, joy. On Mon, 23 Mar 2009, Tom Tromey wrote: > Recently I've been thinking: let's have a periodic election for a > developer ombudsman member on the SC, someone who could summarize > (to t

Re: bitfields: types vs modes?

2009-04-06 Thread Mark Mitchell
DJ Delorie wrote: > Yes, that's pretty much what they asked for. However, it is still > somewhat ambiguous - for example, if you have an 8-bit "int" field, > which 4 bytes are read to get that field? I haven't gone back just now to try to find the right words in the ABI, so I don't know for sur

Re: Merging the alias-improvements branch

2009-04-06 Thread Toon Moene
produced: -rw-r--r-- 1 hirlam hirlam 21492000 2009-04-05 08:31 fc20090405_00+048ve After the merge of the alias-improvements branch into mainline: 00 UTC run 20090406, last file produced: -rw-r--r-- 1 hirlam hirlam 21648000 2009-04-06 08:29 fc20090406_00+048ve So the improvement is 2 minutes

Re: GCC Compile Farm News: 12 architectures now available

2009-04-06 Thread Gerald Pfeifer
Hi Laurent, On Wed, 4 Mar 2009, Laurent GUERBY wrote: > On Wed, 2009-03-04 at 13:24 +0100, Richard Guenther wrote: >> On the above list, what are the target triples that are available? Do >> they match what we have in our list of primary and secondary targets >> (see http://gcc.gnu.org/gcc-4.4/

Re: GCC Compile Farm News: 12 architectures now available

2009-04-06 Thread Laurent GUERBY
On Mon, 2009-04-06 at 23:10 +0200, Gerald Pfeifer wrote: > Hi Laurent, > > On Wed, 4 Mar 2009, Laurent GUERBY wrote: > > On Wed, 2009-03-04 at 13:24 +0100, Richard Guenther wrote: > >> On the above list, what are the target triples that are available? Do > >> they match what we have in our list

lookup_name

2009-04-06 Thread Eduardo Cruz
does the function lookup_name distinguish the identifier between different contexts? for example void func1() { int foo; } void func2() { int foo; } if I call lookup_name with the foo ident-tree while parsing these functions, will it return different decl-tree nodes? thanks

Re: Debugging gcc front end

2009-04-06 Thread Dave Korn
Guilherme Puglia wrote: > Hi! > > or better, hello again! I have posted a question (with my class friend > Eduardo) about 2 or 3 weeks ago. My question was about the grammar > wich gcc C front end use. Yeh! Hi again you guys :) > To solve my problem I wanna debug the C front end. I was trying

Re: Call for testers: MPC-0.6 released

2009-04-06 Thread Kaveh R. Ghazi
From: "Gerald Pfeifer" On Sat, 4 Apr 2009, Andreas Tobler wrote: I've cc'ed others who have access to the platforms in question based on GCC test results. Please help if you can. - powerpc-apple-darwin9.6.0 gcc-4.5.0 gmp-4.2.2 mpfr-2.3.1 ok. - sparc-sun-solaris2.10 gcc-4.4 gmp-4.2.2 mpfr-2.

Re: lookup_name

2009-04-06 Thread Ian Lance Taylor
Eduardo Cruz writes: > does the function lookup_name distinguish the identifier between > different contexts? I assume you mean the function in the C frontend, in c-decl.c. That function looks up the name in the current scope, so, yes, it will return different DECL nodes when appropriate. Ian