GNAT mysterious "missing stub for subunit" error.

2009-09-07 Thread Dave Korn
Hello all, Currently, what you get when you build GNAT on Cygwin is a hybrid port that is mostly based on the MinGW port. This doesn't work well when it does things (such as e.g. creating threads) "behind Cygwin's back" using the Win32 APIs (e.g. CreateThread) rather than by using Cygwin's

Re: conditional gcov instrumentation

2009-09-07 Thread Hayawardh V
Reattaching patch if not received. --- gcc-4.4.0/gcc/tree-profile.c2009-09-03 00:10:48.0 -0400 +++ gcc-4.4.0-gcov-ptr-src/gcc/tree-profile.c 2009-09-03 00:11:01.0 -0400 @@ -183,22 +183,25 @@ static void tree_gen_edge_profiler (int edgeno, edge e) { - tree ref, one; -

conditional gcov instrumentation

2009-09-07 Thread Hayawardh V
Hi, I have been working on a conditional gcov patch, that calls a function everytime the gcov counter is to be modified, so the function can decide how to increment the counter. The function's prototype is : void __gcov_ctr(gcov_type*) ; where gcov_type would be, for example, long long depending

The reincarnation of PR15242

2009-09-07 Thread Andrew Haley
This seems to be an an old bug that has come back. We're generating L1210: jmp *%eax .L4: .L5: ... jmp .L1210 .L1171: .L1172: ... jmp .L1210 .L1168: .L1169: ... jmp .L1210 instead of .L1210: jmp *%eax .L4: .L5:

Re: MSVC hook function prologue

2009-09-07 Thread Ross Ridge
Paolo Bonzini writes: >The naked attribute has been proposed and bashed to death multiple >times on the GCC list too. No, not really. It's been proposed a few times, but the discussion never gets anywhere because the i386 maintainers quickly put their foot down and end it. That hasn't stopped ot

Re: MSVC hook function prologue

2009-09-07 Thread Paolo Bonzini
On 09/06/2009 11:15 AM, Stefan Dösinger wrote: Am Saturday 05 September 2009 17:08:19 schrieb Ross Ridge: If this patch is essentially only for one application, maybe the idea of implementing a more generally useful naked attribute would be the way to go. I implemented a naked attribute in my p

Please recommend a good vcg viewer

2009-09-07 Thread Eric Fisher
Hello, I currently use aiSee (demo version) to view vcg dump of gcc. One problem is that the tool works too slowly. The another problem is that graph looks ugly, especially when unforlding a big cfg. Who can recommend me a good vcg viewer? Thanks. Best Regards, Eric

Re: CVS/SVN binutils and gcc on MacOS X?

2009-09-07 Thread Tristan Gingold
On Sep 4, 2009, at 11:06 PM, Stefan Dösinger wrote: Hi, I tried to install binutils from CVS and the gcc SVN code on my mac to test my msvc_prologue work there, but I ran into an interesting problem: When using the SVN gcc with my own as, I cannot compile any files: Assembler messages: Fata