Re: GCC for SPARC Systems

2006-03-09 Thread Alexey Starovoytov
On Thu, 9 Mar 2006, Daniel Berlin wrote: > > > > * Maybe it would be possible to perform further development on a vendor > > > branch in the GCC svn repository? I'm not sure if this would require SC > > > buy-in, though. Perhaps the changes might become acceptible for FSF GCC > > > at some

Re: Problem with pex-win32.c

2006-03-09 Thread Ian Lance Taylor
Mark Mitchell <[EMAIL PROTECTED]> writes: > The new pex-win32.c code doesn't operate correctly when used for > MinGW-hosted tools invoked from a Cygwin window. In particular, process > creation ("gcc" invoking "as", say) results in a DOS console window > popping up. When invoked from a DOS windo

Re: GCC for SPARC Systems

2006-03-09 Thread Daniel Berlin
> > * Maybe it would be possible to perform further development on a vendor > > branch in the GCC svn repository? I'm not sure if this would require SC > > buy-in, though. Perhaps the changes might become acceptible for FSF GCC > > at some point in time; there have been discussions over at

Re: GCC for SPARC Systems

2006-03-09 Thread Alexey Starovoytov
On Thu, 9 Mar 2006, Rainer Orth wrote: > Alexey Starovoytov <[EMAIL PROTECTED]> writes: > > > We are pleased to announce the availability of GCC for SPARC (R) Systems > > (GCCfss) at http://cooltools.sunsource.net/gcc/ > > > > GCCfss extends GCC to be able to use > > the optimizing Sun(tm) Code Ge

prev_nonnote_insn that follow branches?

2006-03-09 Thread DJ Delorie
Is there a function like prev_nonnote_insn that, when it encounters a label preceeded by a barrier, attempts to determine if there's a single jump to that branch and returns it if so?

Problem with pex-win32.c

2006-03-09 Thread Mark Mitchell
Ian -- The new pex-win32.c code doesn't operate correctly when used for MinGW-hosted tools invoked from a Cygwin window. In particular, process creation ("gcc" invoking "as", say) results in a DOS console window popping up. When invoked from a DOS window, things are fine. The reason for this pr

regmove.c and call_used_regs[]

2006-03-09 Thread Jeffri Tan
I am working on a port with gcc-4.0.2, and I've been getting a segmentation fault when call_used_regs[] is referenced with a pseudo register in fixup_match_2() in regmove.c. if (call_used_regs[REGNO(dst)]) || find_reg_fusage (p, CLOBBER, dst)) break; ... } regmove_op

gcc-4.0-20060309 is now available

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

Re: GCC for SPARC Systems

2006-03-09 Thread Rainer Orth
Alexey Starovoytov <[EMAIL PROTECTED]> writes: > We are pleased to announce the availability of GCC for SPARC (R) Systems > (GCCfss) at http://cooltools.sunsource.net/gcc/ > > GCCfss extends GCC to be able to use > the optimizing Sun(tm) Code Generator for SPARC systems (SCGfss). A couple of que

Re: gcc-4.2-20060304 is now available

2006-03-09 Thread Gerald Pfeifer
On Mon, 6 Mar 2006, Joseph S. Myers wrote: >> It is a bit weird that objcp is included in the gcc-core download. It >> could be included in the gcc-objc download (or in a separate objcp >> download). But > It should go in an objcp download. sourcebuild.texi includes updating > the release scr

Re: Crazy ICE from gcc 4.1.0

2006-03-09 Thread Paul Brook
On Thursday 09 March 2006 18:04, Alan Lehotsky wrote: > I've built a generic 4.1.0 for RH7.3 x86 linux (I did a make bootstrap) > > Compiling a rather large file, I get > > tmp.f_00.cxx:26432: error: unrecognizable insn: > (insn 173 172 174 9 (set (reg:QI 122) > (const_int 128 [0x80]))

AST dump

2006-03-09 Thread Darthrader
Hi, Can someone tell me what do unql,high,low refer to in the dump generated by gcc using -fdump-tree-original-raw. @10 integer_type name: @20 unql: @21 size: @22 algn: 64 prec: 36 unsigned min : @23 max : @24

Crazy ICE from gcc 4.1.0

2006-03-09 Thread Alan Lehotsky
I've built a generic 4.1.0 for RH7.3 x86 linux (I did a make bootstrap) Compiling a rather large file, I get tmp.f_00.cxx:26432: error: unrecognizable insn: (insn 173 172 174 9 (set (reg:QI 122) (const_int 128 [0x80])) -1 (nil) (nil)) tmp.f_00.cxx:26432: internal compiler err

Re: [RFC] Removal of loop notes

2006-03-09 Thread Joe Buck
On 3/9/06, Joe Buck <[EMAIL PROTECTED]> wrote: > > Profile information isn't always available. On Thu, Mar 09, 2006 at 06:26:27PM +0100, Steven Bosscher wrote: > But branch predictions are, and those are still far more reliable than loop > notes. The predictions use natural loop discovery and the

Re: Would like to use gcc source code to improve compiler development skills

2006-03-09 Thread Jim Blandy
On 3/9/06, Lalit Gidwani <[EMAIL PROTECTED]> wrote: > I have C/C++/Java programming skills. I have also > studied a couple of books on compiler development. I > would like to start with a project that will provide > me with the experience of having participated in a > real compiler development effo

Re: [RFC] Removal of loop notes

2006-03-09 Thread Joe Buck
> > I see that flow no longer uses loop_depth when computing REG_N_REFS, > > > > That strikes me as wrong. Don't we want to give pseudos that are in loops > > preference over those that aren't? > On Thu, Mar 09, 2006 at 09:12:35AM +0100, Zdenek Dvorak wrote: > we have much more reliable he

Re: Bogus trees from Ada front-end (more VRP vs Ada) stuff)

2006-03-09 Thread Robert Dewar
Jeffrey A Law wrote: Presumably there's a reason why enumeral types don't have a base type? They don't in Ada (since there is no issue at the Ada semantic level of out of range intermediate values), but we could certainly introduce such a notion at the implementation level if it helps. I've

Would like to use gcc source code to improve compiler development skills

2006-03-09 Thread Lalit Gidwani
I have C/C++/Java programming skills. I have also studied a couple of books on compiler development. I would like to start with a project that will provide me with the experience of having participated in a real compiler development effort. I am interested in C/C++/Java. Can you tell me which modu

Re: RFC: Memory SSA. A redesign of the virtual operand scheme.

2006-03-09 Thread Daniel Berlin
On Wed, 2006-03-08 at 15:05 -0500, Andrew Pinski wrote: > I notice in your PDF, you have: > Since alias analysis results are often conservative, may-alias sets my > contain tens > and enve hundreds of symbols. > > Is there a reason why not tune the aliasing anaysis to return more liberal > resul

Re: Passing va_args...

2006-03-09 Thread Jean-Yves Bitterlich
Dave Korn wrote: On 09 March 2006 13:11, Jean-Yves Bitterlich wrote: Jean, do you know you're replying to an email from October 2005? Ah well, I see the thread ended without all the information coming out, Andreas said it was impossible but didn't go into the details so it's worth mentionin

RE: Passing va_args...

2006-03-09 Thread Dave Korn
On 09 March 2006 13:11, Jean-Yves Bitterlich wrote: Jean, do you know you're replying to an email from October 2005? Ah well, I see the thread ended without all the information coming out, Andreas said it was impossible but didn't go into the details so it's worth mentioning the builtins. >> K

Re: Passing va_args...

2006-03-09 Thread Jean-Yves Bitterlich
> Kalaky <[EMAIL PROTECTED]> writes: > > > I'am looking for some way to pass variable arguments to another > > function that receives variable arguments without using va_list. > > This is impossible. what about? #define DOTS ... function_1 (int z, ...); function_2 (int z, ...); { return fun

Re: Passing va_args...

2006-03-09 Thread Jean-Yves Bitterlich
Kalaky <[EMAIL PROTECTED]> writes: > I'am looking for some way to pass variable arguments to another > function that receives variable arguments without using va_list. This is impossible. what about? #define DOTS ... function_1 (int z, ...); function_2 (int z, ...); { return function_1

Help in AST dump

2006-03-09 Thread Darthrader
Hi, Can someone tell me what do unql,high,low refer to in the dump generated by gcc using -fdump-tree-original-raw. @10 integer_type name: @20 unql: @21 size: @22 algn: 64 prec: 36 unsigned min : @23 max : @24

Re: Successful Build: gcc-4.1-20051230 i686-pc-mingw32

2006-03-09 Thread Incognito
Thank you. Now it compiled and i built my first testfile. I only extracted the mingw-runtime and w32api into the --prefix directory. bye -- View this message in context: http://www.nabble.com/Successful-Build%3A-gcc-4.1-20051230-i686-pc-mingw32-t834182.html#a3317635 Sent from the gcc - Dev forum

Re: Erroneous -mt on Solaris i386

2006-03-09 Thread Rainer Orth
[EMAIL PROTECTED] writes: > I compiled gcc 3.4.5 on an i386 pc under Solaris 10 with posix threads. > When I try to compile certain downloaded tarballs (especially those that > use the gtk+ libs) gcc passes "-mt" to cc1, which chokes with an "illegal > option error" message. The gcc docs say that

Re: [RFC] Removal of loop notes

2006-03-09 Thread Zdenek Dvorak
Hello, > I see that flow no longer uses loop_depth when computing REG_N_REFS, > > That strikes me as wrong. Don't we want to give pseudos that are in loops > preference over those that aren't? we have much more reliable heuristic based on profile information for some time now. Zdenek