'main' enters in gcc-4.1

2005-07-07 Thread Perret Yannick
Hello, I'm using '-finstrument-functions' for a while to make function-level profiling. Recently, I compiled gcc-4.1 (without problem) and used it for the same purpose. Here is the result : Enter main (essai.c:41) [0x80490b0] from 0x4003be36 - PID=1774 - elaps=0 Enter main (essai.c:41) [0x8049

Re: sparc-linux results for 4.0.1 RC3

2005-07-07 Thread Christian Joensson
On 7/6/05, Christian Joensson <[EMAIL PROTECTED]> wrote: > On 7/6/05, Paolo Carlini <[EMAIL PROTECTED]> wrote: > > Christian Joensson wrote: > > > > >limiting this e-mail... I could also rebootstrap 4.0.0 if you think > > >that'd be more useful... let me know what you would like... > > > > > Well,

Stage 2 ends?

2005-07-07 Thread Giovanni Bajo
Mark, I have a simple C++ patch which I need to clean up for submission (it makes us not print default arguments for template parameters in diagnostics, which is much requested from the Boost community). It doesn't qualify for Stage 3 though, so I would like to know what's the current status of St

Re: GCC 4.0.1 RC3

2005-07-07 Thread Kaz Kojima
Mark Mitchell <[EMAIL PROTECTED]> wrote: > GCC 4.0.1 RC3 is now available here: > >ftp://gcc.gnu.org/pub/gcc/prerelease-4.0.1-20050702/ > > With luck, this will be the last 4.0.1 release candidate. > > Please do download tarballs from the above URL and confirm that they > work OK on your sy

[PATCH] Modify MEMBER_TYPE_FORCES_BLK on IA-64/HP-UX

2005-07-07 Thread Eric Botcazou
Hi, As previously discussed, we would need to modify MEMBER_TYPE_FORCES_BLK on IA-64/HP-UX to make the Ada compiler work there. The typical testcase is: package z is type Integer_3_Spec is range -2..2; for Integer_3_Spec'Size use 3; type Enum_2_Spec is (Red, Orange, Yello

Re: Existing tree functionality?

2005-07-07 Thread Diego Novillo
On Thu, Jul 07, 2005 at 09:31:35AM -0400, Michael Tegtmeyer wrote: > I'm getting crashes for non-trivial code-mostly templates-that > otherwise compiles fine. Am I missing something? Does something else need > to be scheduled before pass_reference_vars? > You would have to show us your patch and

Re: Existing tree functionality?

2005-07-07 Thread Michael Tegtmeyer
I'm using gcc initially to do some static analysis with the resuts being sent somewhere else for the time being. I basically just need to gather the variables with visibility outside of the current function. In addition I need as little tree transformation prior to this collection as possible-i

Re: Existing tree functionality?

2005-07-07 Thread Daniel Berlin
On Thu, 2005-07-07 at 09:31 -0400, Michael Tegtmeyer wrote: > I'm using gcc initially to do some static analysis with the resuts being > sent somewhere else for the time being. I basically just need to gather > the variables with visibility outside of the current function. In addition > I need a

Re: GCC 4.0.1 RC3

2005-07-07 Thread Mark Mitchell
Kaz Kojima wrote: Mark Mitchell <[EMAIL PROTECTED]> wrote: GCC 4.0.1 RC3 is now available here: ftp://gcc.gnu.org/pub/gcc/prerelease-4.0.1-20050702/ With luck, this will be the last 4.0.1 release candidate. Please do download tarballs from the above URL and confirm that they work OK on yo

Re: Existing tree functionality?

2005-07-07 Thread Michael Tegtmeyer
pass_init_datastructures is still necessary. That was the problem-thanks. New question (or still the original rather), is there existing functionality to obtain the variables used in a function with external visibility for that function-or in other words-any variable not local to that functi

Re: Existing tree functionality?

2005-07-07 Thread Diego Novillo
On Thu, Jul 07, 2005 at 12:40:11PM -0400, Michael Tegtmeyer wrote: > In bar, 'i' is not global but is not passed in via arguments either. > referenced_vars contains the 'this' ptr. Is there anything existing that > will obtain 'i' as an external variable w.r.t. bar? > 'i' is not a standalone va

Re: Existing tree functionality?

2005-07-07 Thread Daniel Berlin
On Thu, 2005-07-07 at 12:40 -0400, Michael Tegtmeyer wrote: > > pass_init_datastructures is still necessary. > > That was the problem-thanks. > > New question (or still the original rather), is there existing > functionality to obtain the variables used in a function with external > visibility

RE: GCC 4.0.1 RC3

2005-07-07 Thread Dave Korn
Original Message >From: Mark Mitchell >Sent: 03 July 2005 19:21 > GCC 4.0.1 RC3 is now available here: > http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00373.html Cygwin's ok. Still some apparent g++ regressions, relative to 4.0.0, but everything's better than 4.0.1 RC1's results.

Re: draft release notes for 4.0.1

2005-07-07 Thread Mark Mitchell
Joe Buck wrote: It's BCK Thanks! The list will be converted to HTML (I have a Perl script to do most of the work, but it then requires a bit of hand-tweaking of the output) and will be added to http://gcc.gnu.org/gcc-4.0/changes.html . How quickly could you do that conversion? I'm

Re: Existing tree functionality?

2005-07-07 Thread Michael Tegtmeyer
struct foo { int i; void bar() {i=10;} }; i is not a regular variable here, it's a member of a structure. Agreed. No, but only because it's not really a variable, it's a structure member, and only ever accessed as such. It thus doesn't appear as a VAR_DECL (in gcc terms), i

Re: Existing tree functionality?

2005-07-07 Thread Diego Novillo
On Thu, Jul 07, 2005 at 01:28:18PM -0400, Michael Tegtmeyer wrote: > So the question is, what is the easiest way to obtain the > specific field that was referenced in this case? > You need to traverse the IL and examine the LHS and RHS of expressions for COMPONENT_REF and INDIRECT_REF expressions.

Inappropriate ChangeLog entry

2005-07-07 Thread Mark Mitchell
Feng -- Thank you for your contributions to GNU Fortran. It was brought to my attention that the CVS log for fortran/ChangeLog contains the following: For the 60th anniversary of Chinese people??s Anti-Japan war victory. associated with your recent check-in. The GNU Project, in general, a

Re: Stage 2 ends?

2005-07-07 Thread Mark Mitchell
Giovanni Bajo wrote: Mark, I have a simple C++ patch which I need to clean up for submission (it makes us not print default arguments for template parameters in diagnostics, which is much requested from the Boost community). It doesn't qualify for Stage 3 though, so I would like to know what's t

Re: [PATCH] Modify MEMBER_TYPE_FORCES_BLK on IA-64/HP-UX

2005-07-07 Thread James E Wilson
On Thu, 2005-07-07 at 05:02, Eric Botcazou wrote: > * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Only force > TFmode to BLKmode. > * config/ia64/ia64.c (force_general_reg): New function. > (ia64_function_arg): Pass the argument in general regs > if force_general_reg

Re: [PATCH] Modify MEMBER_TYPE_FORCES_BLK on IA-64/HP-UX

2005-07-07 Thread Eric Botcazou
> This is OK with me. Thanks. > Presumably we should wait for a comment from Steve, as ia64-hpux is more his > port than mine. Sure. > You probably meant to send this to the gcc-patches list. Yes. :-) Pilot error... -- Eric Botcazou

RFA: -mfpmath=sse -fpic vs double constants

2005-07-07 Thread Dale Johannesen
Compiling a simple function like double foo(double x) { return x+1.0; } on x86 with -O2 -march=pentium4 -mtune=prescott -mfpmath=sse -fpic, the load of 1.0 is done as cvtss2sd[EMAIL PROTECTED](%ecx), %xmm0 (this is Linux, the same happens on Darwin). This is not really a

gcc-4.0-20050707 is now available

2005-07-07 Thread gccadmin
Snapshot gcc-4.0-20050707 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.0-20050707/ 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-20050707 You'll

Re: named address spaces (update)

2005-07-07 Thread Paul Schlie
James E Wilson writes: >> On Sun, 2005-07-03 at 07:31, Martin Koegler wrote: >> * need to rewrite recursivly each element of type (which my contain >> structures, unions, ...) if a address space is set >> In http://gcc.gnu.org/ml/gcc/2005-04/msg01438.html, this was rated as >> bad idea. > > It is