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/msg

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

[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

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-

[C++ Patch] __builtin_choose_expr

2011-10-17 Thread Andy Gibbs
ed to GCC. I hope that I have met the required quality standard! I will be happy to answer any questions / reformat the patch as necessary... Regards, Andy = Changelog: 2011-10-17 Andy Gibbs * c-family/c-common.c: Enable __builtin_choose_expr * cp/cp-tree.d