How gcov handles untested files, prior and after GCC 3.4

2006-08-01 Thread Fredrik Johansson
Hi! I posted a similiar thread a couple of weeks ago, but now I'm back with some more on my feet and hopefully a more clear problem description. Ok, so I have a sample application that just cout's a line of text. If I compile it with GCC 3.3.6 and run the 3.3.6 gcov on the source file I get this:

Re: GCC missed optimization?

2006-08-01 Thread Richard Guenther
On 7/31/06, Devang Patel <[EMAIL PROTECTED]> wrote: >>I think this patch by Zdenek - vectorizing function calls - is related: >> http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01655.html >> (would need to be extended to cover this case). Yes, extending Zdenek's patch to recognize built-in is a

Re: if() and trailing ;

2006-08-01 Thread Denis Vlasenko
On 7/30/06, Joe Buck <[EMAIL PROTECTED]> wrote: On Sat, Jul 29, 2006 at 07:33:03PM -0400, Simon Boulet wrote: > After a couple hours debugging code, I figured our an if() somewhere > had a trailing ; like this: > > if (memcmp(p, COMMUNITY, strlen(COMMUNITY)) != 0); >

Re: reduction of GP registers in MIPS backend

2006-08-01 Thread Joern RENNECKE
kernel coder wrote: Would you please give a bit more explaination of "GPRs come in pairs" and where this assumption is being checked in function override_options. It doesn't, that's why $24 gets marked as suitable for DImode in mips_hard_regno_mode_ok.

Re: Vector Extensions to C (SSE2 on X86)

2006-08-01 Thread Ian Lance Taylor
Amund Fjellheim <[EMAIL PROTECTED]> writes: > GCC has some support for vector instructions through typedef'ed types > like this: > typedef int v4si __attribute__ ((vector_size (16))); > > Some normal C operators can be done on these and there are some > platform specific built in functions. The X

Re: if() and trailing ;

2006-08-01 Thread Gabriel Dos Reis
"Denis Vlasenko" <[EMAIL PROTECTED]> writes: | On 7/30/06, Joe Buck <[EMAIL PROTECTED]> wrote: | > On Sat, Jul 29, 2006 at 07:33:03PM -0400, Simon Boulet wrote: | > > After a couple hours debugging code, I figured our an if() somewhere | > > had a trailing ; like this: | > > | > >

Re: Rainer Orth appointed IRIX and Tru64 UNIX maintainer

2006-08-01 Thread Richard Sandiford
Gerald Pfeifer <[EMAIL PROTECTED]> writes: > It is my pleasure to announce that the steering committee has > appointed Rainer Orth IRIX and Tru64 UNIX maintainer > > Congratulations, Rainer! Thanks for taking on IRIX! It has been in severe need of a maintainer for ages. Richard

Re: if() and trailing ;

2006-08-01 Thread Andreas Schwab
Joe Buck <[EMAIL PROTECTED]> writes: > On Sat, Jul 29, 2006 at 07:33:03PM -0400, Simon Boulet wrote: >> After a couple hours debugging code, I figured our an if() somewhere >> had a trailing ; like this: >> >> if (memcmp(p, COMMUNITY, strlen(COMMUNITY)) != 0); >>

Re: Vector Extensions to C (SSE2 on X86)

2006-08-01 Thread Amund Fjellheim
Anyone fixing the documentation, then? Den 1. aug. 2006 kl. 15.51 skrev Ian Lance Taylor: Amund Fjellheim <[EMAIL PROTECTED]> writes: GCC has some support for vector instructions through typedef'ed types like this: typedef int v4si __attribute__ ((vector_size (16))); Some normal C operators

Re: Vector Extensions to C (SSE2 on X86)

2006-08-01 Thread Ian Lance Taylor
Amund Fjellheim <[EMAIL PROTECTED]> writes: > Anyone fixing the documentation, then? Volunteers are always welcome. Ian > Den 1. aug. 2006 kl. 15.51 skrev Ian Lance Taylor: > > > Amund Fjellheim <[EMAIL PROTECTED]> writes: > > > >> GCC has some support for vector instructions through typedef'e

Re: Vector Extensions to C (SSE2 on X86)

2006-08-01 Thread Amund Fjellheim
Den 1. aug. 2006 kl. 20.51 skrev Ian Lance Taylor: Amund Fjellheim <[EMAIL PROTECTED]> writes: Anyone fixing the documentation, then? Volunteers are always welcome. Ian I would but I don't think I know enough about what GCC supports and not. It would be better if those who do the change

Re: Vector Extensions to C (SSE2 on X86)

2006-08-01 Thread Ian Lance Taylor
Amund Fjellheim <[EMAIL PROTECTED]> writes: > >> Anyone fixing the documentation, then? > > > > Volunteers are always welcome. > > > > Ian > > I would but I don't think I know enough about what GCC supports and > not. It would be better if those who do the changes make sure the > documentation fi

Re: How gcov handles untested files, prior and after GCC 3.4

2006-08-01 Thread Joe Buck
On Tue, Aug 01, 2006 at 09:44:56AM +0200, Fredrik Johansson wrote: > [ gcov on a source file with no .da/.gcda file ] > The 3.3.6 version assumes that the file not has been run (which is the > correct behaviour in my book) whereas the 3.4.4 version just "gives > up". I know that a large remake was

native or cross libssp?

2006-08-01 Thread Michael Eager
DJ Delorie asked (http://gcc.gnu.org/ml/gcc/2006-04/msg00479.html) whether libssp was native only? I didn't find a reply. As DJ noted, configure in libssp is trying to create an executable when building a cross-gcc. What is the resolution: build with --disable-libssp (or add it to the noconfig

Re: native or cross libssp?

2006-08-01 Thread Ben Elliston
> As DJ noted, configure in libssp is trying to create an executable > when building a cross-gcc. Yes, I struck this recently myself. > What is the resolution: build with --disable-libssp (or add it to > the noconfigdirs list) or fix libssp/configure? The former will be far easier, unless you de

New branch: ra-improvements

2006-08-01 Thread Peter Bergner
I'd like to announce the opening of the ra-improvements branch. My aim with this branch is to modify the existing global register allocator with several improvements to reduce its overall memory usage, make it faster and hopefully produce some better code too. This work is not a competitor with RA

Building libstdc++ for powerpc-eabi

2006-08-01 Thread Michael Eager
I'm running into problems building libstdc++ for powerpc-eabi. It eventually fails with an error message saying "Link tests are not allowed after GCC_NO_EXECUTABLES" while it is checking to see if libgcc_s exists. Meanwhile, config.log for libstdc++ shows lots of compile failures. So I think th

Re: [PATCH] improved algorithm for gcc/expmed.c::choose_multiplier()

2006-08-01 Thread Daniel Berlin
Denis Vlasenko wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28417 > > Right now Bugzilla internal problem prevents me from creating > an attachement there. So it goes here. What problems? Please let me know. The only issue i ever see is stuff about Fh::slice. This happens when the ip ad