Re: pr27650 - dllimport of virtual methods broken.

2006-09-13 Thread Mark Mitchell
Danny Smith wrote: The problem I had was with the second case below. We don't know if a method is implicitly virtual until search.c:look_for_overrides_r). Would t be better to unset DECL_DLLIMPORT_P (and remove the attribute as well) there? Ah, right, good point. I always forget that case,.

RE: pr27650 - dllimport of virtual methods broken.

2006-09-13 Thread Danny Smith
> From: Mark Mitchell > Carlos O'Donell wrote: > > Is any of you able to give some comments on pr27650 > > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650 > > > > In particular I am interested in an opinion of Danny's fix. > > > > http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01504.html >

Re: Rebuild C code from GCC intermediate format

2006-09-13 Thread Diego Novillo
Leonardo Mata wrote on 09/08/06 15:56: > I wish to know if there exists any plugin that translate > these intermediate format into C sources. > Not that I know of. There is an existing effort to implement link-time optimizations (search for LTO in the archives and web pages) that may at some poi

Re: pr27650 - dllimport of virtual methods broken.

2006-09-13 Thread Mark Mitchell
Carlos O'Donell wrote: Is any of you able to give some comments on pr27650 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650 In particular I am interested in an opinion of Danny's fix. http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01504.html I definately don't know enough about attributes and

Re: noise from gcc.dg/torture/fp-convert tests

2006-09-13 Thread Eric Christopher
Eric, Do you mean that they're noisy because of the WARNINGs? I always find warnings annoying, perhaps test_summary should filter them out. Yeah, that's what I meant. Notice that for -m32, the message from the linker includes "In function `main':"; this causes prune_gcc_output to remove tha

Re: Equivalence problem with g77

2006-09-13 Thread Bud Davis
g77 does not allow you to define an equivalence after DATA statements. here is a reduced example: INTEGER*4DEBUGidx PARAMETER (DEBUGidx = 1) INTEGER*4MAPelements PARAMETER (MAPelements = 262) INTEGER*4MAPlevel(0:MAPelements-1) DATA MAPle

Re: svn problems?

2006-09-13 Thread Ian Lance Taylor
[EMAIL PROTECTED] (Jack Howarth) writes: > Has anyone else had problems accessing the svn server today > for gcc? I tried from home and work today. In both cases, the > 'svn update' never produces any updates of new files or completes. This should now be fixed. We were being hit hard by a si

Re: noise from gcc.dg/torture/fp-convert tests

2006-09-13 Thread Janis Johnson
On Wed, Sep 13, 2006 at 12:44:56AM +, Joseph S. Myers wrote: > On Tue, 12 Sep 2006, Eric Christopher wrote: > > > Joseph S. Myers wrote: > > > On Tue, 12 Sep 2006, Eric Christopher wrote: > > > > > > > So, these are xfailed, but still produce quite a bit of noise on both > > > > x86_64-darwin

-fwhole-program for a shared library object

2006-09-13 Thread Daniel Drake
Hi, I'm interested in the new -fwhole-program -combine functionality offered in GCC 4.1 but am having trouble applying it to this particular scenario. Is -fwhole-program supposed to cover situations like this? Should I be doing this another way? Is this a bug? I am building a .so library from s

Re: svn problems?

2006-09-13 Thread Manuel López-Ibáñez
Yes, I noticed that and sent a mail to [EMAIL PROTECTED] You can workaround by relocating the working copy to use http:// instead, as in: svn switch --relocate svn://gcc.gnu.org/svn/gcc/trunk http://gcc.gnu.org/svn/gcc/trunk On 13/09/06, Jack Howarth <[EMAIL PROTECTED]> wrote: Has anyone

Re: svn problems?

2006-09-13 Thread Bobby McNulty
Jack Howarth wrote: Has anyone else had problems accessing the svn server today for gcc? I tried from home and work today. In both cases, the 'svn update' never produces any updates of new files or completes. Jack I was beginning to think I was the only one. I did a s

svn problems?

2006-09-13 Thread Jack Howarth
Has anyone else had problems accessing the svn server today for gcc? I tried from home and work today. In both cases, the 'svn update' never produces any updates of new files or completes. Jack

pr27650 - dllimport of virtual methods broken.

2006-09-13 Thread Carlos O'Donell
Is any of you able to give some comments on pr27650 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650 In particular I am interested in an opinion of Danny's fix. http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01504.html I definately don't know enough about attributes and dllimport to comment. Th

Re: noise from gcc.dg/torture/fp-convert tests

2006-09-13 Thread Janis Johnson
On Wed, Sep 13, 2006 at 12:44:56AM +, Joseph S. Myers wrote: > On Tue, 12 Sep 2006, Eric Christopher wrote: > > > Joseph S. Myers wrote: > > > On Tue, 12 Sep 2006, Eric Christopher wrote: > > > > > > > So, these are xfailed, but still produce quite a bit of noise on both > > > > x86_64-darwin

Re: an inter-procedural SSA-based pass

2006-09-13 Thread Razya Ladelsky
>On Wed, 2006-09-13 at 08:34 +0200, mathieu lacage wrote: >> hi, >> Maybe it is the idea of writing an IPA pass operating on SSA which is >> just plain braindead in which case it would be nice for someone to tell >> me so :) >It is not braindead except GCC currently does not support that on the >m

Re: an inter-procedural SSA-based pass

2006-09-13 Thread Paolo Bonzini
Andrew Pinski wrote: On Wed, 2006-09-13 at 08:34 +0200, mathieu lacage wrote: hi, Maybe it is the idea of writing an IPA pass operating on SSA which is just plain braindead in which case it would be nice for someone to tell me so :) It is not braindead except GCC currently does not support tha

Re: an inter-procedural SSA-based pass

2006-09-13 Thread Andrew Pinski
On Wed, 2006-09-13 at 08:34 +0200, mathieu lacage wrote: > hi, > Maybe it is the idea of writing an IPA pass operating on SSA which is > just plain braindead in which case it would be nice for someone to tell > me so :) It is not braindead except GCC currently does not support that on the mainline

an inter-procedural SSA-based pass

2006-09-13 Thread mathieu lacage
hi, I am trying to write an inter-procedural SSA-based pass: all the existing (in trunk) IPA passes seem to be running on a non-ssa representation and I have been unable to figure out how to hack passes.c to make it schedule an inter-procedural pass right after ssa construction or after the end of