No tail call optimization in Thumb mode?

2005-06-23 Thread Kazu Hirata
Hi, Why is tail call optimization for Thumb disabled on GCC? I am wondering if this is a TODO item or something that we cannot do intrinsically. "The ARM-THUMB Procedure Call Standard" says "No tail continuation in Thumb-state" several times in its figures and measurements, but the document does

gcc developers, donate money to help fight cancer!

2005-06-23 Thread Patrick McFarland
John Hall, the author of /Programming Linux Games/, and someone who I consider a friend, was diagnosed with Stage IV Melanoma, which is very life threatening. He's asking the public to help donate to the American Cancer Society ( http://www.acsevents.org/faf/r.asp?t=4&i=99915&u=99915-86454580 ),

Re: -fprofile-arcs changes the structure of basic blocks

2005-06-23 Thread Liu Haibin
Then I think I shouldn't use -fprofile-arcs. The reason why I used -fprofile-arcs is when I debugged a program without any flags, I saw the frequency was zero. When I added this flag, I saw frequency with values. I checked the frequency after life_analysis and before combine_instructions. I used

Re: dead label use?

2005-06-23 Thread Geoffrey Keating
Ian Lance Taylor writes: > Mike Stump <[EMAIL PROTECTED]> writes: > > > Forgive me ignorance, is there is use for the use of the label below? > > > > From rs6000, though, certainly there are other examples of this sort > > of thing in the md files: > > > > (define_insn "" > >[(set (pc) >

defaults.h silliness

2005-06-23 Thread Mike Stump
In defaults.h, they do: /* This is how to output an element of a case-vector that is absolute. Some targets don't use this, but we have to define it anyway. */ #ifndef ASM_OUTPUT_ADDR_VEC_ELT #define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \ do { fputs (integer_asm_op (POINTER_SIZE / BITS_PER_

gcc-4.0-20050623 is now available

2005-06-23 Thread gccadmin
Snapshot gcc-4.0-20050623 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20050623/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.0 CVS branch with the following options: -rgcc-ss-4_0-20050623 You'll

Re: -fprofile-arcs changes the structure of basic blocks

2005-06-23 Thread Daniel Berlin
On Thu, 23 Jun 2005, Liu Haibin wrote: Hi, I want to use profiling information. I know there're two relevent fields in each basic block, count and frequency. I want to use frequency because the compiled program is for another architecture so it cannot run on the host. Besides the fact that, a

Re: -fprofile-arcs changes the structure of basic blocks

2005-06-23 Thread Zdenek Dvorak
Hello, > I want to use profiling information. I know there're two relevent > fields in each basic block, count and frequency. I want to use > frequency because the compiled program is for another architecture so > it cannot run on the host. > > I use -fprofile-arcs. this does not make much sens

Re: GCC 4.0.1 Status

2005-06-23 Thread Mark Mitchell
Andrew Pinski wrote: * PR 21985, in which we are mis-folding expressions involving pointer arithmetic. And this is fixed on the mainline already. The same patch does fix the problem on the branch; I'm now running a bootstrap/test cycle using that patch. Thanks, -- Mark Mitchell CodeSou

Re: Changelog question for the FSF address change

2005-06-23 Thread Zack Weinberg
Kelley Cook wrote: > In my local tree, I've updated all the files copyrights with the new FSF > address (a.k.a. GNU Public License 2, rev 3). This change has already > been preapproved. I figured committing this in the lull of the GCC > Summit would be a good time as any. > > My question is can

[RFC] gcov tool, comparing coverage across platforms

2005-06-23 Thread ransom
We are a group of undergrads at Portland State University who accepted as our senior capstone software engineering project a proposed tool for use with gcov for summarizing gcov outputs for a given piece of source code tested on multiple architecture/OS platforms. A summary of the initial propo

Re: Changelog question for the FSF address change

2005-06-23 Thread Joseph S. Myers
On Thu, 23 Jun 2005, Kelley Cook wrote: > In my local tree, I've updated all the files copyrights with the new FSF > address (a.k.a. GNU Public License 2, rev 3). This change has already been > preapproved. I figured committing this in the lull of the GCC Summit would be > a good time as any. Y

Changelog question for the FSF address change

2005-06-23 Thread Kelley Cook
In my local tree, I've updated all the files copyrights with the new FSF address (a.k.a. GNU Public License 2, rev 3). This change has already been preapproved. I figured committing this in the lull of the GCC Summit would be a good time as any. My question is can I commit this with a Change

Re: Forward: gcc-4.0.1-b20050607.de.po [REJECTED]

2005-06-23 Thread Zack Weinberg
Jakub Jelinek wrote: > I have posted a patch that implements it, but it hasn't been reviewed > (yet). If it ever goes in (which would be certainly after 4.0.1 release), > the next step would be to modify gettext again to grok it. I sent you a revision yesterday, have you had a chance to look at i

Re: does friend qualify as a forward decl?

2005-06-23 Thread Andrew Pinski
On Jun 23, 2005, at 11:39 AM, Tom Marshall wrote: I've been playing with GCC 4.0 recently and discovered that the code below does not compile with Debian's 4.0.0-9 package. The changelog for that package says: * Update to CVS 20050522, taken from the gcc-4_0-branch. Note that the code com

does friend qualify as a forward decl?

2005-06-23 Thread Tom Marshall
I've been playing with GCC 4.0 recently and discovered that the code below does not compile with Debian's 4.0.0-9 package. The changelog for that package says: * Update to CVS 20050522, taken from the gcc-4_0-branch. Note that the code compiles fine with GCC 3.3.5 (Debian), GCC 4.0.0 (RHEL4),

Re: GCC 4.0.1 Status

2005-06-23 Thread Andrew Pinski
On Jun 23, 2005, at 10:08 AM, Mark Mitchell wrote: * PR 22043, which involves a failure to initialize fields in automatic structures. The patch has been applied to the 4.0 branch, but the target milestone still says 4.0.1. Bugmasters, is that just a mistake? Yes this was a mistake. * PR

GCC 4.0.1 Status

2005-06-23 Thread Mark Mitchell
As of now, please consider the GCC 4.0 branch completely frozen for all changes, including documentation, testsuite, etc. However, I'm not entirely happy with the state of the compiler from the point of view of doing a release. There are several PRs for wrong-code in 4.0.1 that seem potential

Re: add sourcefiles to gcc

2005-06-23 Thread Rafael EspĂ­ndola
> It should be part of the middle end. A kind of dump-option. much better :) take a look at tree-dump.c:dump_function > Nico Rafael

-fprofile-arcs changes the structure of basic blocks

2005-06-23 Thread Liu Haibin
Hi, I want to use profiling information. I know there're two relevent fields in each basic block, count and frequency. I want to use frequency because the compiled program is for another architecture so it cannot run on the host. I use -fprofile-arcs. And I can see the frequency value when I debu

Re: add sourcefiles to gcc

2005-06-23 Thread nico
On Jun 22, 2005, at 7:52 PM, Rafael EspĂ­ndola wrote: It depends where do you want to link the file. If is going into a front end for a language other the c then it must go in gcc/ It should be part of the middle end. A kind of dump-option. Nico

Re: toplevel bootstrap (stage 2 project)

2005-06-23 Thread Paolo Bonzini
What does "./configure --enable-botstrap; make bootstrap" do? The same as plain make. bootstrap is the default target when --enable-bootstrap is given, and its behavior resembles a "bubblestrap" (see later) in the old system. This removes the wart where "make" following a "make bootstrap