Re: Backporting Patches to GCC 7

2017-05-10 Thread Richard Biener
On Wed, May 10, 2017 at 2:31 AM, Palmer Dabbelt wrote: > On Tue, 09 May 2017 01:50:42 PDT (-0700), richard.guent...@gmail.com wrote: >> On Mon, May 8, 2017 at 10:00 PM, Jonathan Wakely >> wrote: >>> On 5 May 2017 at 21:35, Palmer Dabbelt wrote: I just submitted two patches against trunk. I

Re: [RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-10 Thread Daniel Santos
Thanks for your feedback! On 05/09/2017 04:36 AM, Florian Weimer wrote: On 05/09/2017 01:36 AM, Daniel Santos wrote: To further the usefulness of such techniques, I propose the addition of a c-family attribute to declare a parameter, variable (and possibly other declarations) as "constprop" or

Re: [RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-10 Thread Daniel Santos
Thanks for your feedback! On 05/09/2017 08:29 AM, Allan Sandfeld Jensen wrote: On Tuesday 09 May 2017, Daniel Santos wrote: The primary aim is to facilitate high-performance generic C libraries for software where C++ is not suitable, but the cost of run-time abstraction is unacceptable. A good

Re: [RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-10 Thread Jonathan Wakely
On 10 May 2017 at 10:17, Daniel Santos wrote: > Maybe "constexpr" would be a better name, as it mirrors the C++11 keyword. > When I first read about C++ getting constexpr, my first thought was, "Yeah, > as if they needed yet another way to do metaprogramming!" :) However, I Because writing functi

Re: Backporting Patches to GCC 7

2017-05-10 Thread Palmer Dabbelt
On Wed, 10 May 2017 01:35:11 PDT (-0700), richard.guent...@gmail.com wrote: > On Wed, May 10, 2017 at 2:31 AM, Palmer Dabbelt wrote: >> On Tue, 09 May 2017 01:50:42 PDT (-0700), richard.guent...@gmail.com wrote: >>> On Mon, May 8, 2017 at 10:00 PM, Jonathan Wakely >>> wrote: On 5 May 2017 a

Re: [RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-10 Thread Daniel Santos
On 05/10/2017 04:24 AM, Jonathan Wakely wrote: Just because there's already one way to do something doesn't mean better ways to do it are bad. I'm only speaking out of jealousy being that most of my recent work has been in C. hadn't gone so far as to investigate using this new attribute on

gcc-6-20170510 is now available

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