Re: Is there a way to specify profile data file directory?

2005-04-24 Thread Nathan Sidwell
H. J. Lu wrote: When -fprofile-arcs is used, the directory of profile data is fixed to the build directory. If I want to run the binary on a different machine, I have to create the same directory, which may not be very easy. Is this intentional? Can we have have an option to specify the different d

Re: how small can gcc get?

2005-04-24 Thread Mike Stump
On Saturday, April 23, 2005, at 05:05 PM, Philip George wrote: What's the smallest size I can squeeze gcc down to and how would I go about compiling it in such a way? My take: #define optimize 0 and then rebuild with dead code stripping. :-) You'd be the first to do this that I know of, so, wo

Re: Proposal: GCC core changes for different address spaces

2005-04-24 Thread Martin Koegler
On Sat, Apr 23, 2005 at 02:26:54PM -0400, Paul Schlie wrote: > - sound's good, and a natural generalization of current mem ref attributes. > > (However ideally, function parameter and result value references would need > to be similarly qualify-able in order to enable the proper attributes to >

Re: Mainline Bootstrap failure on x86-64-linux-gnu

2005-04-24 Thread Andreas Jaeger
Diego Novillo <[EMAIL PROTECTED]> writes: > On Sat, Apr 23, 2005 at 09:07:23AM +0200, Andreas Jaeger wrote: > >> Current GCC CVS Mainline fails to bootstrap for me: >> > Odd, my x86_64 works just fine. Send me a .i file? Just for the record: I did this yesterday off-list. I can still reproduce

Re: Is there a way to specify profile data file directory?

2005-04-24 Thread H. J. Lu
On Sun, Apr 24, 2005 at 10:34:54AM +0100, Nathan Sidwell wrote: > H. J. Lu wrote: > >When -fprofile-arcs is used, the directory of profile data is fixed > >to the build directory. If I want to run the binary on a different > >machine, I have to create the same directory, which may not be very > >ea

Fixing of bug 18877

2005-04-24 Thread Martin Koegler
I discovered an out of bound access in reload.c, which can happen under certain conditions (bug 18877). The problem is, that in decompose (reload.c) assumes, that true_regnum returns only value < 0 for pseudo registers, which is in certain situations not true (all available register in use and a

Re: Mainline Bootstrap failure on x86-64-linux-gnu

2005-04-24 Thread Diego Novillo
On Sun, Apr 24, 2005 at 05:58:36PM +0200, Andreas Jaeger wrote: > I can still reproduce the problem and played around a bit. If I > disable checking completely, I can bootstrap. So, perhaps I have one > more checking option enabled than you have? > Perhaps, but the ICE is in the generic verify_

Re: how small can gcc get?

2005-04-24 Thread Dale Johannesen
On Apr 24, 2005, at 6:43 AM, Mike Stump wrote: On Saturday, April 23, 2005, at 05:05 PM, Philip George wrote: What's the smallest size I can squeeze gcc down to and how would I go about compiling it in such a way? My take: #define optimize 0 "optimize" is a variable and "int 0" won't parse, so th

Re: how small can gcc get?

2005-04-24 Thread Philip George
What did you really mean? I need to install gcc into a disk image that will accompany a gui application i'm writing. the application will need to mount the volume on the disk image and use the gcc that's on that volume. it needs only to be able to compile extremely simple c apps from a shell o

Re: Mainline Bootstrap failure on x86-64-linux-gnu

2005-04-24 Thread Andreas Jaeger
Diego Novillo <[EMAIL PROTECTED]> writes: > On Sun, Apr 24, 2005 at 05:58:36PM +0200, Andreas Jaeger wrote: > >> I can still reproduce the problem and played around a bit. If I >> disable checking completely, I can bootstrap. So, perhaps I have one >> more checking option enabled than you have?

gcc-4.1-20050424 is now available

2005-04-24 Thread gccadmin
Snapshot gcc-4.1-20050424 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-20050424/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.1 CVS branch with the following options: -D2005-04-24 17:43 UTC You'll

Re: how small can gcc get?

2005-04-24 Thread Mike Stump
On Sunday, April 24, 2005, at 09:59 AM, Dale Johannesen wrote: #define optimize 0 "optimize" is a variable and "int 0" won't parse, so that won't come close. I didn't see a patch there that I said was complete and survived a bootstrap. It was a sketch of an idea. What did you really mean? Just

[wwwdocs] PATCH for GCC 4.0 branch open for regression fixes

2005-04-24 Thread Gerald Pfeifer
On Fri, 22 Apr 2005, Mark Mitchell wrote: > The GCC 4.0 branch is now open for regression fixes only, under the usual > release branch rules. Documented thusly. Gerald Index: index.html === RCS file: /cvs/gcc/wwwdocs/htdocs/index.ht

Re: how small can gcc get?

2005-04-24 Thread Florian Weimer
* Philip George: > it needs only to be able to compile extremely simple c apps from a > shell opened from within the gui app. Have a look at tcc. It might be more suited to your needs than GCC.

Merging stmt_ann_d into tree_statement_list_node

2005-04-24 Thread Kazu Hirata
Hi, I am thinking about merging stmt_ann_d into tree_statement_list_node. Background -- tree_statement_list_node is a linked list node defined like so struct tree_statement_list_node { struct tree_statement_list_node *prev; struct tree_statement_list_node *next; tree stmt; }; stm

RE: http://gcc.gnu.org/gcc-3.4/changes.html

2005-04-24 Thread Gerald Pfeifer
On Tue, 1 Mar 2005, Johan Bergman (KI/EAB) wrote: > Here is a unified diff for the proposed change (I think). Johan, Giovanni, I just noticed that this one apparently feel trough the cracks? I had assumed that Giovanni would just go ahead an apply it since he's an expert in that area and the patc

Re: Mainline Bootstrap failure on x86-64-linux-gnu

2005-04-24 Thread Diego Novillo
On Sun, Apr 24, 2005 at 07:35:43PM +0200, Andreas Jaeger wrote: > I configure with: > > /cvs/gcc/configure --prefix=/opt/gcc/4.1-devel > --enable-checking=misc,tree,gc,rtl,rtlflag,assert --enable-threads=posix > --enable-clocale=gnu --enable-__cxa_atexit --enable-shared > --enable-languages=c,

Re: Heads-up: volatile and C++

2005-04-24 Thread Melissa O'Neill
I'm in the camp that believes that the committee shouldn't change the semantics of volatile. There are three key reasons to my argument: - "You don't pay for what you don't use" - Nonthreaded uses of volatile - Avoiding insidious change You don't pay for what you don't use

Re: Some small optimization issues with gcc 4.0 20050418

2005-04-24 Thread Sebastian Biallas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James E Wilson wrote: > Sebastian Biallas wrote: > >> But I noticed some smaller optimization issues on x86, and on of them is >> a regression to gcc 3.3 so I'm reporting this here. Accept my apologies >> if this is already known, but I think it's wor

CC_REG: "Ian's cc0 replacement machinery", request for stage 2 conceptual approval

2005-04-24 Thread Hans-Peter Nilsson
After synchronizing with Ian Lance Taylor on IRC, I'm in the process of implementing the cc0 replacement machinery he described here and found at http://gcc.gnu.org/wiki/general%20backend%20cleanup> after "Here is a possible approach in which macros are used in the MD file readers to avoid the patt

GCC 4.0.0 bootstrap success

2005-04-24 Thread Aaron Wilcox
Output of './config.guess': i686-pc-linux-gnu Output of 'gcc -v': Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../configure Thread model: posix gcc version 4.0.0 GNU/Linux Distro:

GCC 4.0.0: (mostly) successful build and installation on GNU/Linux PowerPC

2005-04-24 Thread Luca Saiu
This is the information requested in INSTALL/finalinstall.html: Output of config.guess: powerpc-unknown-linux-gnu Output of gcc-4.0.0 -v: Using built-in specs. Target: powerpc-unknown-linux-gnu Configured with: ../gcc-4.0.0/configure --enable-threads=posix --with-cpu=750 --enable-languages=c,c++,j

Re: Heads-up: volatile and C++

2005-04-24 Thread Joe Buck
On Sun, Apr 24, 2005 at 03:07:05PM -0700, Melissa O'Neill wrote: > I'm in the camp that believes that the committee shouldn't change the > semantics of volatile. Many good arguments, particularly your point about "old volatile" vs "new volatile".

tips on debugging a GCC 3.4.3 MIPS RTL optim problem?

2005-04-24 Thread Gary Funck
Hello, using the 3.4.3 baseline on SGI MIPS3 Irix6.5, I'm running into a problem where bad code is generated on a relatively trivial program when both -funit-at-a-time and -foptimize-sibling-calls is asserted. The nature of the failure is that the RTL optimizer seems to get confused about what va

Re: Heads-up: volatile and C++

2005-04-24 Thread Mark Mitchell
Joe Buck wrote: On Sun, Apr 24, 2005 at 03:07:05PM -0700, Melissa O'Neill wrote: I'm in the camp that believes that the committee shouldn't change the semantics of volatile. Many good arguments, particularly your point about "old volatile" vs "new volatile". I agree. I've no objection in princip

Re: Proposal: GCC core changes for different address spaces

2005-04-24 Thread Paul Schlie
> From: Martin Koegler <[EMAIL PROTECTED]> >> On Sat, Apr 23, 2005 at 02:26:54PM -0400, Paul Schlie wrote: >> - sound's good, and a natural generalization of current mem ref attributes. >> >> (However ideally, function parameter and result value references would need >> to be similarly qualify-ab

gcc-4.0 non-local variable uses anonymous type warning

2005-04-24 Thread William S Fulton
Does anyone know the point of the following warning, introduced with gcc-4.0: test.cxx:15: warning: non-local variable ‘:: ::Instance’ uses anonymous type for this code: namespace { enum { foo, bar = 10 } Instance; } Gcc issues this with default warning levels for enums and classes, wh

object code execution statistics

2005-04-24 Thread Sergei Tovpeko
Hello everybody! Is there any util that would produce result containing the asm code execution staticstics ??? The object code was produced by GCC. The main thing I need is to know how much the specific assembler command of the compiled program was executed. I've seen the GCOV tool. It would be su