Re: [C++ Patch] __builtin_choose_expr *bump*

2011-10-21 Thread Andy Gibbs
On Friday, October 21, 2011 4:42 PM, Joseph S. Myers wrote: > On Fri, 21 Oct 2011, Andy Gibbs wrote: > >> Hi, >> >> Please can I "bump" this patch and ask for it to be approved and >> committed: >> http://gcc.gnu.org/ml/gcc-patches/2011-10/msg01711.html > > Have you sent in your copyright assignme

Re: [C++ Patch] __builtin_choose_expr *bump*

2011-10-21 Thread Joseph S. Myers
On Fri, 21 Oct 2011, Andy Gibbs wrote: > Hi, > > Please can I "bump" this patch and ask for it to be approved and committed: > http://gcc.gnu.org/ml/gcc-patches/2011-10/msg01711.html Have you sent in your copyright assignment papers to the FSF? The patch is large enough to need them. -- Jose

Re: [C++ Patch] __builtin_choose_expr *bump*

2011-10-21 Thread Andy Gibbs
On Friday, October 21, 2011 12:04 PM, Richard Guenther wrote: > What's the motivation for this? Why can't it be implemented using C++ > features such as templates and specialization? Sorry for the delay in my reply. The motivation, simply put, is to be able to create both templates and macros t

Re: [C++ Patch] __builtin_choose_expr *bump*

2011-10-21 Thread Richard Guenther
On Fri, Oct 21, 2011 at 11:57 AM, Andy Gibbs wrote: > Hi, > > Please can I "bump" this patch and ask for it to be approved and committed: > http://gcc.gnu.org/ml/gcc-patches/2011-10/msg01711.html > > The patch is to implement the C built-in function __builtin_choose_expr(...) > in C++. > > I'm afr

[C++ Patch] __builtin_choose_expr *bump*

2011-10-21 Thread Andy Gibbs
Hi, Please can I "bump" this patch and ask for it to be approved and committed: http://gcc.gnu.org/ml/gcc-patches/2011-10/msg01711.html The patch is to implement the C built-in function __builtin_choose_expr(...) in C++. I'm afraid I am new to contributing to GCC, so I hope I am going about thi

Re: [C++ Patch] __builtin_choose_expr

2011-10-19 Thread Andy Gibbs
Andy Gibbs wrote on 18th October 2011 at 1:36 PM: > Paolo Carlini wrote on 18th October 2011 at 12:00 PM: >> I'm under the impression that some tests are written in C, wouldn't better >> fit in c-c++-common? > > Ok, I can do this but I think only 2 out of the 8 tests can be moved > across. I will

Re: [C++ Patch] __builtin_choose_expr

2011-10-18 Thread Andy Gibbs
- Original Message - From: "Paolo Carlini" To: "Andy Gibbs" Cc: ; Sent: Tuesday, October 18, 2011 12:00 PM Subject: Re: [C++ Patch] __builtin_choose_expr > I'm under the impression that some tests are written in C, wouldn't better > fit in c-

Re: [C++ Patch] __builtin_choose_expr

2011-10-18 Thread Paolo Carlini
I'm under the impression that some tests are written in C, wouldn't better fit in c-c++-common? Thanks, Paolo.

[C++ Patch] __builtin_choose_expr

2011-10-17 Thread Andy Gibbs
Hi, This is a more developed version of a patch originally posted to the gcc-help mailing list (http://gcc.gnu.org/ml/gcc-help/2011-10/msg00062.html). The purpose of the patch is to implement the __builtin_choose_expr feature which has already been available to C code but not previously to C++ co