Re: Working with SVK: how to get it actually work?

2005-11-20 Thread Gabriel Dos Reis
Daniel Jacobowitz <[EMAIL PROTECTED]> writes: | On Sun, Nov 20, 2005 at 05:02:11AM +0100, Gabriel Dos Reis wrote: | > svk depotmap --list shows: | > | >Depot Path | > | >// /home/gdr/.sv

Re: Somebody broke bootstrap on trunk for x86_64

2005-11-20 Thread Graham Stott
It looks kike that patch contains a typo The entry for nonmemory_operand has an extra bogus false The following patch more than likely fixes the fallout I've just kicked of a x86_64 bootstrap to find out Index: gensupport.c === ---

Re: Overwrite a file with "svn update"?

2005-11-20 Thread Hans-Peter Nilsson
On Sat, 19 Nov 2005, Steve Kargl wrote: > On Sat, Nov 19, 2005 at 11:29:36AM -0800, Jim Blandy wrote: > I believe if the file is in a cvs repository and the copy > in your local tree was not obtained via a checkout, cvs > will replace the local file with whatever is in the repository. No, it'll co

Re: Somebody broke bootstrap on trunk for x86_64

2005-11-20 Thread Paolo Bonzini
Graham Stott wrote: It looks kike that patch contains a typo The entry for nonmemory_operand has an extra bogus false I'm sorry. The patch has been in my powerpc-apple-darwin8.2.0 tree for months but rs6000 does not use nonmemory_operand. Thanks for fixing it. Paolo

Re: Overwrite a file with "svn update"?

2005-11-20 Thread Andreas Schwab
Hans-Peter Nilsson <[EMAIL PROTECTED]> writes: > On Sat, 19 Nov 2005, Steve Kargl wrote: >> On Sat, Nov 19, 2005 at 11:29:36AM -0800, Jim Blandy wrote: >> I believe if the file is in a cvs repository and the copy >> in your local tree was not obtained via a checkout, cvs >> will replace the local

Re: Overwrite a file with "svn update"?

2005-11-20 Thread Hans-Peter Nilsson
On Sun, 20 Nov 2005, Andreas Schwab wrote: > Hans-Peter Nilsson <[EMAIL PROTECTED]> writes: > > On Sat, 19 Nov 2005, Steve Kargl wrote: > >> On Sat, Nov 19, 2005 at 11:29:36AM -0800, Jim Blandy wrote: > >> I believe if the file is in a cvs repository and the copy > >> in your local tree was not obt

Re: Overwrite a file with "svn update"?

2005-11-20 Thread Andreas Schwab
Hans-Peter Nilsson <[EMAIL PROTECTED]> writes: > I've never seen this, always the collision message, so I guess > it's version-dependent. It appears to work only with a local repository. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 N

Re: can DECL_RESULT be 0?

2005-11-20 Thread Rafael Ávila de Espíndola
On Thursday 17 November 2005 23:35, Jim Wilson wrote: > > I've checked in a patch to fix the comment typo. Thanks, What do you thing about adding an assert? Something similar to the attached patch. Rafael Index: gcc/function.c === -

Creating temporary variables

2005-11-20 Thread VIbhav Garg
Hi, I am working on some optimizations on the CFG. Can someone please give me some info on the following - 1. For an gimple expression node, how do we determine the return type? 2. How do we create a temporary variable, and add it to the list of variables defined in the current function declarati

Vectorizer in GCC 4.0

2005-11-20 Thread Balaji V. Iyer
Hello Everyone, I am interested in knowing more about the vectorizer in GCC. Does anyone have or know of any statistics about the percentage of loops that can be vectorized in some benchmarks like MediaBench, SPEC2K and so forth? Thanking You, Yours Sincerely, Balaji V. Iyer.

ACATS script generation problem

2005-11-20 Thread Georg Bauhaus
lures1 # of expected failures 97 # of untested testcases 28 # of unsupported tests 234 /werkstatt/georg/build/gcc/xgcc version 4.2.0 20051120 (experimental) ... .../src/gcc/gcc/testsuite/ada/acats/run_acats: line 11: type: gnatmake: not

Checksum mismatch

2005-11-20 Thread Cauchy Song
# svn up svn: Checksum mismatch for 'gcc/.svn/text-base/ChangeLog.svn-base'; expected: 'ce91f24c15d533874dc494b8fc6b0fde', actual: 'dfd84c36479cfdcd0b6576ecab266817' U gcc/DATESTAMP U gcc/tree-gimple.c U gcc/tree-gimple.h Thanks for some help. signature.asc Description: OpenPGP digital sign

Re: Checksum mismatch

2005-11-20 Thread Cauchy Song
Cauchy Song wrote: ># svn up > >svn: Checksum mismatch for 'gcc/.svn/text-base/ChangeLog.svn-base'; >expected: 'ce91f24c15d533874dc494b8fc6b0fde', actual: >'dfd84c36479cfdcd0b6576ecab266817' >U gcc/DATESTAMP >U gcc/tree-gimple.c >U gcc/tree-gimple.h > >Thanks for some help. > > > When I do sv

Re: Creating temporary variables

2005-11-20 Thread Ian Lance Taylor
VIbhav Garg <[EMAIL PROTECTED]> writes: > I am working on some optimizations on the CFG. Can someone please give > me some info on the following - > > 1. For an gimple expression node, how do we determine the return type? You can get the type of any gimple expression using TREE_TYPE. > 2. How d

A question about having multiple insns for one operation

2005-11-20 Thread Kazu Hirata
Hi, I have a question about having multiple insns for one operation. Take m68k port for example. It has many SImode move insns like so: (define_insn "pushexthisi_const" [(set (match_operand:SI 0 "push_operand" "=m") (match_operand:SI 1 "const_int_operand" "J"))] (define_insn "" [(s

Abnormal behavior of malloc in gcc-3.2.2

2005-11-20 Thread Sandeep Kumar
Hi Everyone, int main () { int *p; int i; p = (int *) malloc (400 * sizeof (int)); for (i = 0; i < 512; i++) { p[i] = i; printf ("p[%d]: %d\n", i, p[i]); } return 0; } The following code should terminate with Segmentation fault, right ? But when

Re: Abnormal behavior of malloc in gcc-3.2.2

2005-11-20 Thread Andrew Pinski
> > Hi Everyone, > > int > main () > { > int *p; > int i; > > p = (int *) malloc (400 * sizeof (int)); > for (i = 0; i < 512; i++) > { > p[i] = i; > printf ("p[%d]: %d\n", i, p[i]); > } >return 0; > } > > The following code should terminate wit

Re: Abnormal behavior of malloc in gcc-3.2.2

2005-11-20 Thread Andrew Pinski
> > Second you are invoking undefined behavior by accessing passed the array > > bounds (or allocated > > bounds by malloc). > > I didnt get your point. I am allocating space only for 400 inregers > then as soon as in the loop if it crosses the value of 400 , it should > have given a segementatio

Re: Abnormal behavior of malloc in gcc-3.2.2

2005-11-20 Thread Sandeep Kumar
On 11/20/05, Andrew Pinski <[EMAIL PROTECTED]> wrote: > > > Second you are invoking undefined behavior by accessing passed the array > > > bounds (or allocated > > > bounds by malloc). > > > > I didnt get your point. I am allocating space only for 400 inregers > > then as soon as in the loop if it

Re: Abnormal behavior of malloc in gcc-3.2.2

2005-11-20 Thread Sandeep Kumar
On 11/20/05, Andrew Pinski <[EMAIL PROTECTED]> wrote: > > > > Hi Everyone, > > > > int > > main () > > { > > int *p; > > int i; > > > > p = (int *) malloc (400 * sizeof (int)); > > for (i = 0; i < 512; i++) > > { > > p[i] = i; > > printf ("p[%d]: %d\n", i, p

Re: Creating temporary variables

2005-11-20 Thread VIbhav Garg
Ian Lance Taylor wrote: > VIbhav Garg <[EMAIL PROTECTED]> writes: > > >>I am working on some optimizations on the CFG. Can someone please give >>me some info on the following - >> >>1. For an gimple expression node, how do we determine the return type? > > > You can get the type of any gimple e

Re: Checksum mismatch

2005-11-20 Thread Jim Blandy
Since this is a Subversion problem, and not a GCC problem, it would probably be best to ask this question on [EMAIL PROTECTED] (I don't know the answer; I don't see anything in the FAQ or in the book. So I think this is an excellent question to ask.)

Re: ACATS script generation problem

2005-11-20 Thread Arnaud Charlet
> Running make check stops in the Ada ACATS part, > where it doesn't find the newly created binaries > after a successful make bootstrap. (And after turning > the computer off, going to sleep, turning it on and > *not* again adding the different GNAT installation to > PATH that was used for bootstr