Re: Using __sync_* builtins within libgcc code

2008-06-11 Thread Luke Dalessandro
Paolo Carlini wrote: Luke Dalessandro wrote: I'm making some modifications to exception handling inside of unwind-dw2-fde.c that I'd like to use __sync_bool_compare_and_swap for, unfortunately I can't seem to figure out how to correctly use builtins in the context of libgcc. I've tried a bun

C++ warnings vs. errors

2008-06-11 Thread Volker Reichelt
Hi, since Manuel's patch http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00962.html a lot of C++ code is now accepted on mainline (when compiling without special flags like -fpermissive and -pedantic), that used to be rejected. Instead of getting closer to the standard we get away from it, which is a

Re: C++ warnings vs. errors

2008-06-11 Thread Ian Lance Taylor
Volker Reichelt <[EMAIL PROTECTED]> writes: > since Manuel's patch http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00962.html > a lot of C++ code is now accepted on mainline (when compiling without > special flags like -fpermissive and -pedantic), that used to be rejected. > Instead of getting closer

Re: RFC: Extend x86-64 psABI for 256bit AVX register

2008-06-11 Thread H.J. Lu
On Tue, Jun 10, 2008 at 05:48:57PM +0200, Jan Hubicka wrote: > > On Tue, Jun 10, 2008 at 8:11 AM, Jakub Jelinek <[EMAIL PROTECTED]> wrote: > > > On Tue, Jun 10, 2008 at 04:50:14PM +0200, Jan Hubicka wrote: > > >> 1) make __m256 passed on stack on variadic functions and in registers > > >> otherws

Books suggestion

2008-06-11 Thread Amaury de la Vaissiere
Hello I would like to suggest to books you have not mentionned on this page : http://gcc.gnu.org/readings.html Bes regards Titre : GCC : the complete reference Auteur(s) : Griffith, Arthur. Auteur Date(s) : cop. 2002 Langue(s) : anglais Pays : Etats-Unis Editeur(s) :

Re: Resend: [PATCH] [MIPS] Fix asm constraints for 'ins' instructions.

2008-06-11 Thread David Daney
Ralf Baechle wrote: On Wed, Jun 11, 2008 at 10:04:25AM -0700, David Daney wrote: The third operand to 'ins' must be a constant int, not a register. Signed-off-by: David Daney <[EMAIL PROTECTED]> --- include/asm-mips/bitops.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff

Re: Help requested on C++ template syntax (for Emacs development).

2008-06-11 Thread Tom Tromey
> "Alan" == Alan Mackenzie <[EMAIL PROTECTED]> writes: Alan> So, the question: is it possible to identify with 100% certainty, PURELY Alan> SYNTACTICALLY (i.e. without access to the compiler's symbol table), Alan> when "< ... >" is a pair of template (C++) or generic (Java) brackets? In Java,

Re: C++ warnings vs. errors

2008-06-11 Thread Manuel López-Ibáñez
2008/6/11 Ian Lance Taylor <[EMAIL PROTECTED]>: > Volker Reichelt <[EMAIL PROTECTED]> writes: > >> since Manuel's patch http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00962.html >> a lot of C++ code is now accepted on mainline (when compiling without >> special flags like -fpermissive and -pedantic),

Re: C++ warnings vs. errors

2008-06-11 Thread Joe Buck
On Wed, Jun 11, 2008 at 04:12:18PM +0200, Volker Reichelt wrote: > * Scopes in for-loops: > > void foo() > { > for (int i=0; i<10; ++i) {} > i = 0; > } > > warn.cc: In function 'void foo()': > warn.cc:4: warning: name lookup of 'i' changed for new ISO 'for' scoping > warn.cc:3

Error with 'typedef' and 'long _Fract'

2008-06-11 Thread Jeff Kuskin
I am writing a new backend for GCC 4.3.1 and have run into the following issue with GCC 4.3.1's support for the fixed-point 'long _Fract' type when used in a 'typedef'. I believe this issue is generic to GCC and not to the backend. See the (very short) testcase below and the output from GCC. Basic

[lto] function to DECL associations for WPA repackaging

2008-06-11 Thread Ollie Wild
Doug, Yesterday, we spoke briefly about the need to efficiently determine the DECL's required by each function. Here's a more detailed overview. During the WPA phase of WHOPR, we will be reading in a collection of object files, performing analysis on call-graph/summary data, and outputting repac

Re: [lto] function to DECL associations for WPA repackaging

2008-06-11 Thread Richard Guenther
On Wed, Jun 11, 2008 at 11:33 PM, Ollie Wild <[EMAIL PROTECTED]> wrote: > Doug, > > Yesterday, we spoke briefly about the need to efficiently determine > the DECL's required by each function. Here's a more detailed > overview. During the WPA phase of WHOPR, we will be reading in a > collection of

gcc-4.2-20080611 is now available

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

Re: C++ warnings vs. errors

2008-06-11 Thread Jonathan Wakely
Hi Volker, thanks for picking these issues up. I told Manuel I'd review the rest of the remaining pedwarns, but haven't had time to do it either. 2008/6/11 Volker Reichelt: > * Scopes in for-loops: > > void foo() > { >for (int i=0; i<10; ++i) {} >i = 0; > } > > warn.cc: In function 'vo

[lto] What is lto_file_vtable for?

2008-06-11 Thread Ollie Wild
>From what I can tell from grepping the lto source, the vtable entry in lto_file is set but never used. Is this old code that never got removed or the beginning of an idea that never got implemented? I'm inclined to remove it if it's not doing anything. Ollie

Re: [lto] What is lto_file_vtable for?

2008-06-11 Thread Bill Maddox
On Wed, Jun 11, 2008 at 4:38 PM, Ollie Wild <[EMAIL PROTECTED]> wrote: > From what I can tell from grepping the lto source, the vtable entry in > lto_file is set but never used. Is this old code that never got > removed or the beginning of an idea that never got implemented? > > I'm inclined to re

Re: [lto] function to DECL associations for WPA repackaging

2008-06-11 Thread Kenneth Zadeck
Richard Guenther wrote: On Wed, Jun 11, 2008 at 11:33 PM, Ollie Wild <[EMAIL PROTECTED]> wrote: Doug, Yesterday, we spoke briefly about the need to efficiently determine the DECL's required by each function. Here's a more detailed overview. During the WPA phase of WHOPR, we will be reading

Re: [lto] function to DECL associations for WPA repackaging

2008-06-11 Thread Daniel Berlin
On Wed, Jun 11, 2008 at 9:13 PM, Kenneth Zadeck <[EMAIL PROTECTED]> wrote: > Richard Guenther wrote: >> >> On Wed, Jun 11, 2008 at 11:33 PM, Ollie Wild <[EMAIL PROTECTED]> wrote: >> >>> >>> Doug, >>> >>> Yesterday, we spoke briefly about the need to efficiently determine >>> the DECL's required by

Re: [lto] function to DECL associations for WPA repackaging

2008-06-11 Thread Kenneth Zadeck
Daniel Berlin wrote: On Wed, Jun 11, 2008 at 9:13 PM, Kenneth Zadeck <[EMAIL PROTECTED]> wrote: Richard Guenther wrote: On Wed, Jun 11, 2008 at 11:33 PM, Ollie Wild <[EMAIL PROTECTED]> wrote: Doug, Yesterday, we spoke briefly about the need to efficiently determine the DECL's

Re: How to post to GCC lists?

2008-06-11 Thread Ben Elliston
On Thu, 2008-05-22 at 15:09 -0500, Omar Torres wrote: > 1- I noticed that when I reply to posts, the "References" are not > preserved, which leads to messages in the same threat not to be linked > together. I am using Thunderbird as my email client. When I go to > View>Headers>All the References f