[RFC] improving the DWARF information emitted for Ada

2006-02-09 Thread Nicolas Setton
Hello, We would like to improve the readability and usability of the DWARF debug information emitted for Ada programs. Right now, this information contains a lot of GNAT-specific "encodings", which were created to fill in the deficiencies of the stabs and DWARF-2 debugging formats when it

"cscope" type functionality

2006-02-09 Thread Perry Smith
gcc/g++ has the -M options to help in creating Makefiles. It struck me this morning that a similar switch to help in the creation of a database to use to create a "cscope" type facility would be very nice. It would be nice if both cpp and gcc/g++ had this ability. Has/Does anything like t

cmov for stores

2006-02-09 Thread rajagopal, dwarak
int cmov(int* A ,int B ,int C ,int* D ,int* E ,int F ,int g) { int k,f; for (k = 1; k <= 1000; k++) { A[k] = B+C; g = D[k-1] + E[k-1]; if (g > A[k]) A[k]=g; /* This is not converted to cmov*/ f += g; } return f; } In the above code, the if-then statement is not conve

Re: cmov for stores

2006-02-09 Thread Steven Bosscher
On Thursday 09 February 2006 20:04, rajagopal, dwarak wrote: > The fact here is that in this case, A[k] will never trap because the > A[k] is already been written once along the path from Entry to the "A[k] > = g". So it is safe to convert it to a cmov statement. But GCC doesn't know that this mem

gcc-4.0-20060209 is now available

2006-02-09 Thread gccadmin
Snapshot gcc-4.0-20060209 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20060209/ 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

Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Steve Ellcey
I have been trying to help someone who does not have write access to the GCC tree get read-only access to the GCC SVN repository through a firewall. Now, I can get through the firewall but I check things out via svn+ssh, using my account on gcc.gnu.org. And there seem to be lots of ssh proxy tric

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Joe Buck
On Thu, Feb 09, 2006 at 03:12:54PM -0800, Steve Ellcey wrote: > I have been trying to help someone who does not have write access to the > GCC tree get read-only access to the GCC SVN repository through a > firewall. > > Now, I can get through the firewall but I check things out via svn+ssh, > usi

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread H. J. Lu
On Thu, Feb 09, 2006 at 03:19:30PM -0800, Joe Buck wrote: > > > > It does not use ssh. And as far as I can tell a user without write > > permission (without an account on gcc.gnu.org) doesn't have a way to use > > ssh to access the GCC tree. Is that correct? So how does he or she do > > a check

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Daniel Berlin
On Thu, 2006-02-09 at 15:19 -0800, Joe Buck wrote: > On Thu, Feb 09, 2006 at 03:12:54PM -0800, Steve Ellcey wrote: > > I have been trying to help someone who does not have write access to the > > GCC tree get read-only access to the GCC SVN repository through a > > firewall. > > > > Now, I can get

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Joe Buck
On Thu, Feb 09, 2006 at 06:48:40PM -0500, Daniel Berlin wrote: > Errr, I emailed you privately a few months ago saying i had set up http > access :) I recall that you mailed me saying that you were *going* to do it, not that it had been done. However, since I don't appear to have that email, I'll

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Steve Ellcey
> just replace svn:// with http:// > > (note if it becomes too much of a burden on the server, we will probably > have to limit or turn it off). Here is what I get when I do this, I'm not sure what it means. [hpadl888] $ svn co http://gcc.gnu.org/svn/gcc/trunk svn: PROPFIND request failed on '/s

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Daniel Berlin
On Thu, 2006-02-09 at 15:55 -0800, Joe Buck wrote: > On Thu, Feb 09, 2006 at 06:48:40PM -0500, Daniel Berlin wrote: > > Errr, I emailed you privately a few months ago saying i had set up http > > access :) > > I recall that you mailed me saying that you were *going* to do it, not that > it had bee

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Daniel Berlin
On Thu, 2006-02-09 at 15:58 -0800, Steve Ellcey wrote: > svn co http://gcc.gnu.org/svn/gcc/trunk You must have a transparent proxy or something that doesn't proxy webdav requests properly (i tried this from all the hosts i have access to, and it works fine)

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Ben Elliston
> Here is what I get when I do this, I'm not sure what it means. > > [hpadl888] $ svn co http://gcc.gnu.org/svn/gcc/trunk > svn: PROPFIND request failed on '/svn/gcc/trunk' > svn: PROPFIND of '/svn/gcc/trunk': could not connect to server > (http://gcc.gnu.org) It works here. Are you obliged to

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Steve Ellcey
> > Here is what I get when I do this, I'm not sure what it means. > > > > [hpadl888] $ svn co http://gcc.gnu.org/svn/gcc/trunk > > svn: PROPFIND request failed on '/svn/gcc/trunk' > > svn: PROPFIND of '/svn/gcc/trunk': could not connect to server > > (http://gcc.gnu.org) > > It works here. Are

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Joe Buck
On Thu, Feb 09, 2006 at 07:02:43PM -0500, Daniel Berlin wrote: > On Thu, 2006-02-09 at 15:55 -0800, Joe Buck wrote: > > I don't get why the http mode should be more costly for read-only access; > > perhaps it isn't well-tuned? > > Because it can't issue multiple operations over the same channel, a

Re: Anonymous (read-only) GCC SVN access through a firewall

2006-02-09 Thread Steve Ellcey
OK, I got it now. I edited ~/.subversion/servers and set http-proxy-host and http-proxy-port and now things are working. I will continue to use svn+ssh for my own work but it nice to know how to do it with http when needed. Steve Ellcey [EMAIL PROTECTED]

Re: [RFC] improving the DWARF information emitted for Ada

2006-02-09 Thread Jim Wilson
Nicolas Setton wrote: In order to make the transition easier, and to allow time for other tools (mainly gdb) to take advantage of these improvements at their own schedule, we would like to introduce a command-line switch (- gdwarf+), which will trigger the use of the GNAT vendor extension to

How to create libgcc_eh.a for mips-elf-gcc?

2006-02-09 Thread Eric Fisher
Hi, I will be appreciated for anyone tell me how to create libgcc_eh.a for mips-elf-gcc. I used this configuration, but failed ../gcc-3.4.4/configure --target=mips-elf --enable-languages=c --enable-shared Yet libgcc_eh.a can be created for local i686 gcc, when use this, ../gcc-3.4.4/configure --en

Re: How to create libgcc_eh.a for mips-elf-gcc?

2006-02-09 Thread Daniel Jacobowitz
On Fri, Feb 10, 2006 at 11:01:10AM +0800, Eric Fisher wrote: > Hi, > I will be appreciated for anyone tell me how to create libgcc_eh.a for > mips-elf-gcc. > I used this configuration, but failed > ../gcc-3.4.4/configure --target=mips-elf --enable-languages=c --enable-shared > Yet libgcc_eh.a can b