Re: Alias analysis of parameters

2005-11-25 Thread Daniel Berlin
On Sat, 2005-11-26 at 02:14 +, shreyas krishnan wrote: > Hi > I am trying to understand the workings of alias analysis and why > it behaves it a particular way. I am using the alias analysis branch > of gcc4.0 > > I find that for the following snippet of code > main(

Alias analysis of parameters

2005-11-25 Thread shreyas krishnan
Hi I am trying to understand the workings of alias analysis and why it behaves it a particular way. I am using the alias analysis branch of gcc4.0 I find that for the following snippet of code main() { foo(A) }

gcc-4.1-20051125 is now available

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

Re: [C++] Should the complexity of std::list::size() be O(n) or O(1)?

2005-11-25 Thread Phil Edwards
On Fri, Nov 25, 2005 at 01:17:42PM -0500, Howard Hinnant wrote: > On Nov 25, 2005, at 9:28 AM, Phil Edwards wrote: > > >On Wed, Nov 23, 2005 at 07:42:35PM +0800, ?? wrote: > >> > >>The C++ standard said Container::size() should have constant > >>complexity > >>(ISO/IEC 14882:1998, pp. 461, T

Re: gcc 4.1 release showstopper on darwin

2005-11-25 Thread Jack Howarth
David, Thanks for the clarification. While one could argue that the breakage was due to an aggressive introduction of changes into gfortran of the gcc 4.1 branch, it is definitely is more honest to say that the Darwin target has been broken for sometime now with the weakref failures in the gcc

Re: gcc 4.1 release showstopper on darwin

2005-11-25 Thread David Edelsohn
> Jack Howarth writes: Jack> My question is whether the gcc 4.1 release would be Jack> held to fix this or will the Darwin target just be marked as broken for Jack> that release? The release will be held. Quoting the GCC development plan: "If ... support for a platform with active m

Re: Would Like to Contribute, Where to Start?

2005-11-25 Thread Henrik Sorensen
On Friday 25 November 2005 17.49, Michael Garvin wrote: > Hi! I would like to contribute as a developer to gcc. excellent! > I was just thinking the beginner stuff would be a > good way to get started. the pl1gcc.sourceforge.net front-end project could really need some hands on the integration

gcc 4.1 release showstopper on darwin

2005-11-25 Thread Jack Howarth
In case folks haven't noticed, there has been major breakage of the gfortran in gcc 4.1 on Darwin. The problem appears to be due to the fact that weakrefs aren't properly honored in the Darwin linker. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24991 This apparently is the same issue causin

Re: Running testsuite with extra --param argument

2005-11-25 Thread Kean Johnston
Not sure if it will work by try make check RUNBTESTFLAGS="--target_board 'unix{, --param foo=blah}'" Actuallt that runs the suites twice. Once with no extra args, once with --param foo=blah. If you only want to run it once try removing the leading comma. Thus: make check RUNBTESTFLAGS="--target

Re: Running testsuite with extra --param argument

2005-11-25 Thread Kean Johnston
Richard Guenther wrote: I wonder what magic is required to run the testsuite with an extra --param foo=blah argument. Just using RUNTESTFLAGS="--target-board=unix/--param foo=blah" fails because of the space, trying to be clever and doing RUNTESTFLAGS="--target-board=unix/--param/foo=blah" r

Running testsuite with extra --param argument

2005-11-25 Thread Richard Guenther
I wonder what magic is required to run the testsuite with an extra --param foo=blah argument. Just using RUNTESTFLAGS="--target-board=unix/--param foo=blah" fails because of the space, trying to be clever and doing RUNTESTFLAGS="--target-board=unix/--param/foo=blah" results in --param -mfoo b

Re: svn speed traversing slow filesystems

2005-11-25 Thread Daniel Berlin
On Fri, 2005-11-25 at 12:59 -0500, Kaveh R. Ghazi wrote: > > > > > Actually, i just removed the need for most stat calls during > > > > > update in 1.4. > > > > > > > > Thanks Dan, that's great, but for the remaining i/o calls, it > > > > really does matter if you use long/paths/with/lots/of

Re: LEGITIMIZE_RELOAD_ADDRESS vs address_reloaded

2005-11-25 Thread Ulrich Weigand
Hi Alan, the problem you point out is really just the tip of the iceberg -- currently reload frequently decides it *will* perform an action in the future, and assumes that other code will anyway behave as if that action had already been completed ... This is why e.g. the 'm' constraint accepts *a

Re: [C++] Should the complexity of std::list::size() be O(n) or O(1)?

2005-11-25 Thread Howard Hinnant
On Nov 25, 2005, at 9:28 AM, Phil Edwards wrote: On Wed, Nov 23, 2005 at 07:42:35PM +0800, ?? wrote: The C++ standard said Container::size() should have constant complexity (ISO/IEC 14882:1998, pp. 461, Table 65), while the std::list::size () in current STL of GCC is defined as { std::d

Re: svn speed traversing slow filesystems

2005-11-25 Thread Kaveh R. Ghazi
> > > > Actually, i just removed the need for most stat calls during > > > > update in 1.4. > > > > > > Thanks Dan, that's great, but for the remaining i/o calls, it > > > really does matter if you use long/paths/with/lots/of/slashes > > > rather than chdir and ./filenames instead. I belie

Would Like to Contribute, Where to Start?

2005-11-25 Thread Michael Garvin
Hi! I would like to contribute as a developer to gcc. I was looking at the open projects page, and in the beginner projects section, I think there are many that I could easily tackle. I would like to jump in and start contributing, but I'm wondering if I need to create a designer account anywher

Re: Thoughts on LLVM and LTO

2005-11-25 Thread Diego Novillo
On Tuesday 22 November 2005 12:53, Scott Robert Ladd wrote: > GENERIC -> GIMPLE -> LLVM -> GIMPLE -> RTL > > That design adds two phases (GIMPLE -> LLVM, LLVM -> GIMPLE) here -- > perhaps simple one, perhaps not. The line is very straight, but adding > two more segments make me wonder if we'

Re: [C++] Should the complexity of std::list::size() be O(n) or O(1)?

2005-11-25 Thread Phil Edwards
On Wed, Nov 23, 2005 at 07:42:35PM +0800, ?? wrote: > > The C++ standard said Container::size() should have constant complexity > (ISO/IEC 14882:1998, pp. 461, Table 65), while the std::list::size() in > current STL of GCC is defined as { std::distance(begin(), end()); }, whose > complexiy is

Re: Thoughts on LLVM and LTO

2005-11-25 Thread Rafael Espíndola
On 11/22/05, Scott Robert Ladd <[EMAIL PROTECTED]> wrote: > I've been quietly watching the conversation, largely as an interested > user as opposed to a GCC developer. One of my concerns lies with: I have worked on some toy front ends, so I think that I am a kind of a user also :) > GENERI

Re: Hallo GCC Gurus..

2005-11-25 Thread Karel Gardas
This mailing list is dedicated to GCC development, so please send your email to `gcc-help at gcc dot gnu dot org' mailing list which is a list dedicated to helping GCC users. Cheers, Karel On Fri, 25 Nov 2005, FRANCIS MACHOKA wrote: hallos? I am a linux user and I want to learn how to use

Hallo GCC Gurus..

2005-11-25 Thread FRANCIS MACHOKA
hallos? I am a linux user and I want to learn how to use GCC and become a master in it. Is it possible for me to get full documentation and tutorials? If they are small enough, can they be posted to me via email? If they are pdf,s can I get links to where I can download them from? Please assist.

Re: svn speed traversing slow filesystems

2005-11-25 Thread Richard Guenther
On 11/25/05, Branko Čibej <[EMAIL PROTECTED]> wrote: > Kaveh R. Ghazi wrote: > > > On Sat, 2005-11-19 at 10:14 -0500, Kaveh R. Ghazi wrote: > > > > Hi Dan, > > > > > > > > (BTW, sorry for the reposted messages.) > > > > > > > > While I was waiting for some svn commands to finish (cleanup, > >