Custom __attribute__ like functionality

2007-08-06 Thread brendon
Hi all, I am interested in being able to "mark-up" C++ code with special meta-information. This is kind of like the existing __attribute__ for GCC but the semantics are quite different (I.e. Not just function/type level but statement level meta-data). I wish to ask if anyone knows of anything e

Choosing the right TLS access model

2007-08-06 Thread Ludovic Courtès
Hi, (This message is a duplicate of a message to `gcc-help' where I did not get a definitive answer[*].) I read parts of Drepper's [0] and Oliva's [1] work on TLS access. From my understanding, the `initial-exec' model can be used safely when compiling an executable. However, it's still unclear

RE: Address of template function bug (was: Overload resolution compilation error)

2007-08-06 Thread Dave Korn
On 06 August 2007 02:13, Rodolfo Lima wrote: > Rodolfo Schulz de Lima escreveu: >> Dave Korn escreveu: >>> Thanks, and do drop a note back with a summary of what you find out over >>> there when you're done; if there's definitely a bug in gcc's >>> understanding of the resolution rules, obviousl

Re: [RFC] Improve Tree-SSA if-conversion - convergence of efforts

2007-08-06 Thread Tehila Meyzels
Michael Matz <[EMAIL PROTECTED]> wrote on 31/07/2007 18:05:53: > Hi, > > On Tue, 31 Jul 2007, Daniel Berlin wrote: > > > > 2. Store-sinking/load hoisting may have an overhead and may degrade > > > performance unless the relevant conditional branch gets if-converted. > > > > I agree with you for co

x64_64-elf support

2007-08-06 Thread Hans Kester
Is there any reason why this contribution from Mikkel Krautz is still not in the current sources? http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01592.html Hans Kester === This email and any files transmitted with it are confidential and intended solely for the use of

Re: x64_64-elf support

2007-08-06 Thread Andrew Haley
"Hans Kester " <[EMAIL PROTECTED]> writes: > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. If you have received this email in error please > notify Ellips B.V. This message contains conf

Re: [RFC] Improve Tree-SSA if-conversion - convergence of efforts

2007-08-06 Thread Michael Matz
Hi, On Mon, 6 Aug 2007, Tehila Meyzels wrote: > > in if-conv (or phi-opt), but in ssa-sink (or some similar transformation > > which can or can not use value numbers and the like). > > OK. > > And what's your opinion WRT conditional loads/stores? > Since you've sent your conditional store trans

Re: poor optimisation case

2007-08-06 Thread Ian Lance Taylor
Tristan Wibberley <[EMAIL PROTECTED]> writes: > I've found a case which looks like it should be possible to optimise but > gcc (very recent trunk) isn't doing which could give improvements in > many cases - certainly in a case I've come across: Looks reasonable to me. Please open a missed-optimi

GCC Testsuite question (C checks in Fortran suite)

2007-08-06 Thread Steve Ellcey
I am running into a problem running the gfortran.dg/c_kind_params.f90 and am wondering how to address it. This test has a C language component in gfortran.dg/c_kinds.c. This C file includes stdint.h and uses types like int32_t and int64_t. On HPPA HP-UX platforms we don't have a stdint.h header

Re: top-level configure

2007-08-06 Thread DJ Delorie
> > 2007-07-23 Ralf Wildenhues <[EMAIL PROTECTED]> > > > > * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): > > Pass --silent if $silent. Ok.

Re: poor optimisation case

2007-08-06 Thread Tristan Wibberley
On Mon, 2007-08-06 at 07:38 -0700, Ian Lance Taylor wrote: > Tristan Wibberley <[EMAIL PROTECTED]> writes: > > > I've found a case which looks like it should be possible to optimise but > > gcc (very recent trunk) isn't doing which could give improvements in > > many cases - certainly in a case I'

Re: poor optimisation case

2007-08-06 Thread Andrew Pinski
On 8/6/07, Tristan Wibberley <[EMAIL PROTECTED]> wrote: > Any chance of moving to launchpad.net? And launchpad.net forces everyone else to remember a new username and password. Anyways the username for gcc bugzilla is your email address. -- Pinski

Re: poor optimisation case

2007-08-06 Thread Joe Buck
On Mon, Aug 06, 2007 at 07:08:04PM +0100, Tristan Wibberley wrote: > On Mon, 2007-08-06 at 07:38 -0700, Ian Lance Taylor wrote: > > Tristan Wibberley <[EMAIL PROTECTED]> writes: > > > > > I've found a case which looks like it should be possible to optimise but > > > gcc (very recent trunk) isn't d

Re: GCC Testsuite question (C checks in Fortran suite)

2007-08-06 Thread Janis Johnson
On Mon, 2007-08-06 at 10:28 -0700, Steve Ellcey wrote: > I am running into a problem running the gfortran.dg/c_kind_params.f90 > and am wondering how to address it. This test has a C language > component in gfortran.dg/c_kinds.c. This C file includes stdint.h and > uses types like int32_t and int

Re: poor optimisation case

2007-08-06 Thread Alfred M. Szmidt
> Any chance of moving to launchpad.net? And launchpad.net forces everyone else to remember a new username and password. Launchpad is also non-free software.

Re: GCC Testsuite question (C checks in Fortran suite)

2007-08-06 Thread Steve Ellcey
> and the test runs on powerpc64-linux for both -m32 and -m64. Did > you have it in a different position? If so I'll try that and see > if I can figure out why it would be skipped. Also, which target > were you testing? I was testing on an IA64 Linux platform (Debian). I had this: ! { dg-do r

Re: GCC Testsuite question (C checks in Fortran suite)

2007-08-06 Thread Janis Johnson
On Mon, 2007-08-06 at 13:16 -0700, Steve Ellcey wrote: > > and the test runs on powerpc64-linux for both -m32 and -m64. Did > > you have it in a different position? If so I'll try that and see > > if I can figure out why it would be skipped. Also, which target > > were you testing? > > I was te

Re: missing libtool sources?

2007-08-06 Thread Ralf Wildenhues
[ CVS HEAD's ltmain.sh containing as first line: # Generated from ltmain.m4sh; do not edit by hand ] * DJ Delorie wrote on Thu, Aug 02, 2007 at 05:09:09PM CEST: > > > I don't think this is much of a problem. ltmain.sh is always > > distributed with libtool and you would need the full libtool s

Re: GCC Testsuite question (C checks in Fortran suite)

2007-08-06 Thread Steve Ellcey
> Yes. I tried it in the order your used, and the compile to check > for inttypes.h tried to also compile c_kinds.c, which wasn't > available from where the compile was done. In general it's best > to check effective targets before adding files or options, unless > the options are required for th

gcc-4.1-20070806 is now available

2007-08-06 Thread gccadmin
Snapshot gcc-4.1-20070806 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.1-20070806/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.1 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Question about PR tree-optimization/32941, bootstrap failure, qsort

2007-08-06 Thread Steve Ellcey
I was looking at PR tree-optimization/32941 after seeing a bootstrap failure on my IA64 Linux box. I was wondering if anyone knows why it has started failing now? It looks like this sorting of the goto queue has been around for quite a while (since 4.1 at least). Do we have more goto's than we

What 64-bit CPU targets dominate in the future?

2007-08-06 Thread J.C. Pizarro
Hi people, I'm looking for simulators of 64-bit processors for my 32-bit PC and i've found one. "qemu-system-x86_64" works simulating a x86-64 linux as slamd64, ubuntu, etc. http://fabrice.bellard.free.fr/qemu/status.html indicates that x86-64 is OK for System emulation but is not supported for

Re: What 64-bit CPU targets dominate in the future?

2007-08-06 Thread Ben Elliston
This doesn't really have much to do with GCC. Perhaps you'd like to ask on comp.arch? Ben