Re: Add revision number to gcc version?

2005-12-15 Thread H. J. Lu
On Fri, Dec 16, 2005 at 03:58:05PM +1100, Ben Elliston wrote: > > I like this, but what if you also did an svn status to see if there > > were any modifications WRT the branch/revision and then add either > > 'clean' or 'modified' to the information. > > I think this is a good idea (and don't mind

Re: Add revision number to gcc version?

2005-12-15 Thread Ben Elliston
> I like this, but what if you also did an svn status to see if there > were any modifications WRT the branch/revision and then add either > 'clean' or 'modified' to the information. I think this is a good idea (and don't mind the idea of `svn status' being run from gcc_update to do so), but I won

BOOT_CFLAGS vs profiled_bootstrap on the mainline

2005-12-15 Thread Andrew Pinski
Trying to see if a bug was fixed (and an approved patch by me was still needed), I noticed that BOOT_CFLAGS was being ignored for profiled_bootstrap. Thanks, Andrew Pinski

Re: m68k peephole weirdness

2005-12-15 Thread Paul Brook
On Friday 16 December 2005 02:35, Andreas Schwab wrote: > Paul Brook <[EMAIL PROTECTED]> writes: > > In m68k.md we have: > > > > ;; Speed up pushing a single byte but leaving four bytes of space. > > > > (define_peephole > > [(set (mem:QI (pre_dec:SI (reg:SI SP_REG))) > > (match_operand:Q

Re: m68k peephole weirdness

2005-12-15 Thread Andreas Schwab
Paul Brook <[EMAIL PROTECTED]> writes: > In m68k.md we have: > > ;; Speed up pushing a single byte but leaving four bytes of space. > > (define_peephole > [(set (mem:QI (pre_dec:SI (reg:SI SP_REG))) > (match_operand:QI 1 "general_operand" "dami")) >(set (reg:SI SP_REG) (minus:SI (reg

Re: Add revision number to gcc version?

2005-12-15 Thread H. J. Lu
On Thu, Dec 15, 2005 at 06:03:25PM -0800, David Daney wrote: > H. J. Lu wrote: > >On Thu, Dec 15, 2005 at 04:09:41PM -0800, David Daney wrote: > > > >>Daniel Jacobowitz wrote: > >> > >>>On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote: > >>> > >>> > I like this, but what if you also

Re: Add revision number to gcc version?

2005-12-15 Thread David Daney
H. J. Lu wrote: On Thu, Dec 15, 2005 at 04:09:41PM -0800, David Daney wrote: Daniel Jacobowitz wrote: On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote: I like this, but what if you also did an svn status to see if there were any modifications WRT the branch/revision and then add

Re: Add revision number to gcc version?

2005-12-15 Thread H. J. Lu
On Thu, Dec 15, 2005 at 04:09:41PM -0800, David Daney wrote: > Daniel Jacobowitz wrote: > >On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote: > > > >>I like this, but what if you also did an svn status to see if there were > >>any modifications WRT the branch/revision and then add either

Performance comparison of gcc releases

2005-12-15 Thread Ronny Peine
Hi, i forgot to post the best cflags for each gcc-version and benchmark. Here are the results: gcc-3.3.6: nbench: -s -static -O3 -march=athlon-xp -fomit-frame-pointer -pipe -fforce-addr -fsched-spec-load -fmove-all-movables -ffast-math -ftracer -funroll-loops -funroll-all-loops -mfpmath=sse -mo

Re: Hard to tell what stage the bootstrap is on

2005-12-15 Thread Kaveh R. Ghazi
> I just came to think of contrib/warn_summary... how does that filter > out different stages warnings since this change? > Cheers, > /ChJ It doesn't work anymore, I'll fix it eventually. -- Kaveh R. Ghazi [EMAIL PROTECTED]

Re: Add revision number to gcc version?

2005-12-15 Thread David Daney
Daniel Jacobowitz wrote: On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote: I like this, but what if you also did an svn status to see if there were any modifications WRT the branch/revision and then add either 'clean' or 'modified' to the information. So you would get (gcc-4_1-bra

Re: Add revision number to gcc version?

2005-12-15 Thread Daniel Jacobowitz
On Thu, Dec 15, 2005 at 03:00:10PM -0800, David Daney wrote: > I like this, but what if you also did an svn status to see if there were > any modifications WRT the branch/revision and then add either 'clean' or > 'modified' to the information. > > So you would get (gcc-4_1-branch revision 108596

Re: Add revision number to gcc version?

2005-12-15 Thread David Daney
d like it too.) I am enclosing 2 patches: 1. contrib/gcc_update creates gcc/REVISION with branch name and revision number. 2. If gcc/REVISION exists, it will be used in gcc/version.c. With those 2 patches, I got [EMAIL PROTECTED] gcc]$ ./xgcc --version xgcc (GCC) 4.1.0 (gcc-4_1-branch revision 108

Re: unable to build head on Fedora

2005-12-15 Thread Laurent GUERBY
I confirm the Ada bootstrap failure on x86-linux, I opened: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25436 With a backtrace and various print suggested by Steven and last known working revision. Laurent On Thu, 2005-12-15 at 07:36 -0600, Joel Sherrill wrote: > Jakub Jelinek wrote: > > On We

Re: Add revision number to gcc version?

2005-12-15 Thread H. J. Lu
1. contrib/gcc_update creates gcc/REVISION with branch name and > >revision number. > >2. If gcc/REVISION exists, it will be used in gcc/version.c. > > > >With those 2 patches, I got > > > >[EMAIL PROTECTED] gcc]$ ./xgcc --version > >xgcc (GCC) 4.1.0 (gcc-4_1-br

Re: Add revision number to gcc version?

2005-12-15 Thread David Daney
SION with branch name and revision number. 2. If gcc/REVISION exists, it will be used in gcc/version.c. With those 2 patches, I got [EMAIL PROTECTED] gcc]$ ./xgcc --version xgcc (GCC) 4.1.0 (gcc-4_1-branch revision 108596) 20051215 (prerelease) I like this, but what if you also did an svn status

m68k peephole weirdness

2005-12-15 Thread Paul Brook
In m68k.md we have: ;; Speed up pushing a single byte but leaving four bytes of space. (define_peephole [(set (mem:QI (pre_dec:SI (reg:SI SP_REG))) (match_operand:QI 1 "general_operand" "dami")) (set (reg:SI SP_REG) (minus:SI (reg:SI SP_REG) (const_int 2)))] The (const_int 2) looks

gcc-4.0-20051215 is now available

2005-12-15 Thread gccadmin
Snapshot gcc-4.0-20051215 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20051215/ 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

make install is broken on powerpc-darwin starting with a 3.3 compiler

2005-12-15 Thread Andrew Pinski
doing the following $(srcdir)/configure --prefix=${HOME}/libobjc.trunk --enable-languages=c,objc make all make -k check make install And it fails while doing a "make install": gcc -I/Users/pinskia/src/gcc/libobjc/trunk/libcpp -I. -I/Users/pinskia/src/gcc/libobjc/trunk/libcpp/../include -I./.

Re: Add revision number to gcc version?

2005-12-15 Thread H. J. Lu
; > too.) > I am enclosing 2 patches: 1. contrib/gcc_update creates gcc/REVISION with branch name and revision number. 2. If gcc/REVISION exists, it will be used in gcc/version.c. With those 2 patches, I got [EMAIL PROTECTED] gcc]$ ./xgcc --version xgcc (GCC) 4.1.0 (gcc-4_1-branch revisio

How to rebuild stage 1?

2005-12-15 Thread H. J. Lu
How can I rebuild stage 1 compiler with the system compiler? I used to be able to do # cd gcc # make unstage1 # make restage1 But now ./prev-gcc/xgcc is used to build stage 1 compiler, not the system compiler. H.J.

Re: gfc_build_addr_expr vs. build_fold_addr_expr{,_with_type}

2005-12-15 Thread Paul Thomas
Janne, Well, it's not like gfortran is any better documented. At least with gcc middle-end, there is a much larger amount of people familiar with it who can concievably help. I would agree with that. However, getting acquainted with one level of undocumented complexity is one thing but two

Re: [OT] RE: GCC mailing list archive search omits results after May 2005

2005-12-15 Thread Daniel Jacobowitz
On Thu, Dec 15, 2005 at 08:20:39PM -, Dave Korn wrote: > It shows! Your post is based on a misunderstanding of what "free" means in > this context. Perhaps things will be clearer if you read the explanation of > what the FSF means by "free" at In return it shows that you didn't read the me

[OT] RE: GCC mailing list archive search omits results after May 2005

2005-12-15 Thread Dave Korn
Will L (sent by Nabble.com) wrote: >> Re: GCC mailing list archive search omits results after May 2005 > > I have been following this thread of discussion. I am a little puzzled. It shows! Your post is based on a misunderstanding of what "free" means in this context. Perhaps things will be cl

Re: gfc_build_addr_expr vs. build_fold_addr_expr{,_with_type}

2005-12-15 Thread Janne Blomqvist
I see that this patch has already been submitted and accepted, so I'll just basically state my agreement. On Wed, Dec 14, 2005 at 11:28:06PM +0100, Paul Thomas wrote: > For what it is worth, I applaud your effort - I think that the gfortran > middle-end should be made completely consistent with t

Re: Hard to tell what stage the bootstrap is on

2005-12-15 Thread Christian Joensson
I just came to think of contrib/warn_summary... how does that filter out different stages warnings since this change? -- Cheers, /ChJ

Re: GCC mailing list archive search omits results after May 2005

2005-12-15 Thread Will L (sent by Nabble.com)
> Re: GCC mailing list archive search omits results after May 2005 I have been following this thread of discussion. I am a little puzzled. Google and Gmail are both free but they are not "free" software according to the FSF definition. But does it matter? We still use them for work. Gmane is co

Re: porting gcc/binutils

2005-12-15 Thread Mauricio Alvarez
Andrija Radičević wrote: > I'm trying to port gcc and binutils to a new target and I hoped to find > a brief procedure on that matter on the net, but was unsuccessful. OK, > the GCC internals is quite a resourceful document and one can learn a > lot by examining the source tree, but It would be ver

Re: Hard to tell which stage the build is at.

2005-12-15 Thread Toon Moene
[ this is for debugging purposes - once libgcc moves to its own directory, we can change this ] And how about the plans to move the C frontend to its own directory ? [ grumpy lesser-frontend maintainer ] -- Toon Moene - e-mail: [EMAIL PROTECTED] - phone: +31 346 214290 Saturnushof 14, 3738 XG

Re: Hard to tell what stage the bootstrap is on

2005-12-15 Thread Daniel Jacobowitz
On Thu, Dec 15, 2005 at 01:26:07PM -0500, Andrew Pinski wrote: > After the change over to top level bootstrap, it is harder to tell what > stage > the bootstrap is on. > We get now: > /Users/pinskia/src/gcc/libobjc/trunk/objdir/./prev-gcc/xgcc > > but before we had got: > /Users/pinskia/src/gcc/l

Hard to tell what stage the bootstrap is on

2005-12-15 Thread Andrew Pinski
After the change over to top level bootstrap, it is harder to tell what stage the bootstrap is on. We get now: /Users/pinskia/src/gcc/libobjc/trunk/objdir/./prev-gcc/xgcc but before we had got: /Users/pinskia/src/gcc/libobjc/trunk/objdir/gcc/stage1/xgcc Is there any way to fix this so that it i

Re: GCC middle-end

2005-12-15 Thread Giovanni Bajo
Thomas Lavergne <[EMAIL PROTECTED]> wrote: > *) is GIMPLE truely front-end independent (no nore specific hacks)? Yes, mostly. There are some so-called "lang-hooks" to ask some additional information to the frontend, but it's mainly about the type system (eg: there is a langhook to ask the fronten

Re: make all vs make bootstrap

2005-12-15 Thread Daniel Berlin
On Thu, 2005-12-15 at 19:01 +0100, Giovanni Bajo wrote: > Andrew Pinski <[EMAIL PROTECTED]> wrote: > > > In previous versions of GCC before yesterday, "make all" used to do a > > normal build > > but now I am getting a full bootstrap which is not what I wanted as I > > was just testing > > objecti

Re: make all vs make bootstrap

2005-12-15 Thread Giovanni Bajo
Andrew Pinski <[EMAIL PROTECTED]> wrote: > In previous versions of GCC before yesterday, "make all" used to do a > normal build > but now I am getting a full bootstrap which is not what I wanted as I > was just testing > objective-C and libobjc changes and nothing else. > > Is this is deliberate

Re: make all vs make bootstrap

2005-12-15 Thread Paolo Carlini
Andrew Pinski wrote: > Is this is deliberate change or just a mistake? I'm pretty sure is deliberate and --disable-bootstrap is the config you need. Paolo.

make all vs make bootstrap

2005-12-15 Thread Andrew Pinski
In previous versions of GCC before yesterday, "make all" used to do a normal build but now I am getting a full bootstrap which is not what I wanted as I was just testing objective-C and libobjc changes and nothing else. Is this is deliberate change or just a mistake? Thanks, Andrew Pinski

Performance comparison of gcc releases

2005-12-15 Thread Ronny Peine
Hi, i thought, maybe it interests you. I have done some benchmarking to compare different gcc releases. Therefore, i have written a bash based benchmarksuite which compiles and benches mostly C-benchmarks. Benchmark environment: The benchmarks are running on i686-pc-linux-gnu (gentoo based) sy

GCC middle-end

2005-12-15 Thread Thomas Lavergne
Dear all, I would like to have a brief chat in order to understand (roughly) the way gcc deals with optimization and language-independent function's representation. I read already some documents (not the gcc internal doc) and am aware of GENERIC, GIMPLE, tree SSA but I am not confident on se

Re: [PATCH] Do not stage the final build results

2005-12-15 Thread Daniel Jacobowitz
On Thu, Dec 15, 2005 at 10:02:24AM +0100, Paolo Bonzini wrote: > > >I used to be able to do: > > > > cd $BUILD_DIR/$TARGET/libjava/testsuite > > make -k check > > > >to run only the libjava testsuite. > > > >When I try the same under "stage3-$TARGET/libjava/testsuite" > >now, it fails to find the

Re: GCC mailing list archive search omits results after May 2005

2005-12-15 Thread Paolo Bonzini
Yes it does. If nothing else, the archives are used to provide canonical URLs for referring to messages. What might not be clear is the need to run a search engine on the sourceware server, especially if it puts an awful load on the server at times and especially when "foo bar site:gcc.gnu.org"

Re: GCC mailing list archive search omits results after May 2005

2005-12-15 Thread Ranjit Mathew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Per Abrahamsen wrote: > > Actually, I wonder if it really makes sense for the GCC project to > spend part of their limited resources on maintaining their own mail > archives, when specialized free as in FSF services like gmane exist? Yes it does. If

Re: PR25413 - data alignment question

2005-12-15 Thread Richard Guenther
On 12/15/05, Dorit Naishlos <[EMAIL PROTECTED]> wrote: > So, in short - when can we assume that pointer types have the minimum > alignment required by their underlying type? I think the C standard always guarantees this. Of course with packed structs or malicious users this is not always true bu

PR25413 - data alignment question

2005-12-15 Thread Dorit Naishlos
Given a pointer to type T - when can we assume that the data pointed to is naturally aligned (aligned on the size of the type T)? The vectorizer currently works under the assumption that all data is naturally aligned. At least one place where this may result in generation of wrong code by t

Re: unable to build head on Fedora

2005-12-15 Thread Joel Sherrill <[EMAIL PROTECTED]>
Jakub Jelinek wrote: On Wed, Dec 14, 2005 at 04:34:17PM -0600, Joel Sherrill <[EMAIL PROTECTED]> wrote: My fresh check out on the head build using the gcc shipped with Fedora Core 4 has failed for the past couple of days with this error: A day and half. Is this a known failure? Yes, j

Re: GCC mailing list archive search omits results after May 2005

2005-12-15 Thread Per Abrahamsen
Olly Betts <[EMAIL PROTECTED]> writes: > But note that Gmane (http://gmane.org) is run entirely on Free Software, > and doesn't provide any non-Free Software downloads so you could > presumably add a search box for that without political worries. (This > may also be true for some of the other mai

Re: [PATCH] Do not stage the final build results

2005-12-15 Thread Ranjit Mathew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paolo Bonzini wrote: >>I used to be able to do: >> >> cd $BUILD_DIR/$TARGET/libjava/testsuite >> make -k check >> >>to run only the libjava testsuite. >> >>When I try the same under "stage3-$TARGET/libjava/testsuite" >>now, it fails to find the appropr

Re: [CFARM] maintenance ok

2005-12-15 Thread Clemens Koller
Hello, Laurent! Hi, we lost just one disk during transportation. If you know someone who has a spare X GB SCSI disk available for donation, please contact me. Otherwise I'll just buy one :) . Over here (Germany, Munich) there is an old but it was running for just some days SCSI Raid system o

[PATCH] Do not stage the final build results

2005-12-15 Thread Paolo Bonzini
I used to be able to do: cd $BUILD_DIR/$TARGET/libjava/testsuite make -k check to run only the libjava testsuite. When I try the same under "stage3-$TARGET/libjava/testsuite" now, it fails to find the appropriate "gcj". The full error log is appended at the end of this message. This is

Re: heads up - gcc toplevel bootstrap activated

2005-12-15 Thread Ranjit Mathew
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paolo Bonzini wrote: > This is just a heads up that GCC has switched so that the toplevel > coordinates the bootstrapping. [...] > Let me know if I broke something. I used to be able to do: cd $BUILD_DIR/$TARGET/libjava/testsuite make -k check

Re: options for compiling C using C++ compiler [trying 1 more time]

2005-12-15 Thread Paolo Bonzini
I'm trying to find the best way to minimize the problem via options or other ways. I already use "-fpermissive" and this eases it a bit. Suggestions? First of all, it's not polite to send things twice just because nobody answered you. Second, people on this listcould have as well ignored

Re: Problems with ?: operator

2005-12-15 Thread Falk Hueffner
Sulabh Nangalia <[EMAIL PROTECTED]> writes: > 5 < 10 ? a = 5 : a = 7; is giving error > 15 < 10 ? a = 5 : a = 7; is not giving any error > > why? Because of a bug in gcc. It's been fixed in 4.0, though. -- Falk