From owner-freebsd-toolchain@FreeBSD.ORG Thu Jan 2 20:34:53 2014 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D899D13 for ; Thu, 2 Jan 2014 20:34:53 +0000 (UTC) Received: from nm10-vm0.bullet.mail.bf1.yahoo.com (nm10-vm0.bullet.mail.bf1.yahoo.com [98.139.213.147]) by mx1.freebsd.org (Postfix) with SMTP id D9030107C for ; Thu, 2 Jan 2014 20:34:52 +0000 (UTC) Received: from [98.139.212.152] by nm10.bullet.mail.bf1.yahoo.com with NNFMP; 02 Jan 2014 20:32:59 -0000 Received: from [98.139.211.194] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 02 Jan 2014 20:32:59 -0000 Received: from [127.0.0.1] by smtp203.mail.bf1.yahoo.com with NNFMP; 02 Jan 2014 20:32:59 -0000 X-Yahoo-Newman-Id: 711944.19766.bm@smtp203.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: _5Rj9EMVM1l5apaWtkNuqkPpYAw9HyRNoefEfa46AqUn2YU DczTVbiPppbMW3GMPUAxDONZDI45QhErbtDgMaV2XzGfBHJTF94UGmBfhZLE EWRKNOwJBQf.i8PA.6kc0bXEMtwR.ZMkPJCz1X75c13VpC69tJJ3HBceXqnP VbEb4yPCEo7JSfvMeKAd40Z_XNWHd74XDQsjgGj_6lCaaoSqZ1nyt5QSv.Qx zv88EwSP6t6G6kVDdKFIgM30P8IFADYzd3O42Wnrl_dRDV7344dlsqV3O9Nu j0bQO9S8lUvhiMp_hKP5mu1rTuf3UtIN7oC094zTwO6w4AYpKj9rS5MGMyF4 QMfKvQboHCzgMe2mkUsSn4fVs.0QwK4X3VkRjtb0YHymo6xtxpvybu3VQnvm aWRERuoZiGTZZF.fLDn4g_JhvfkN2baDfmiIsv5tG.Re4xkncDlbsb.PvY7U dcukEDjcBWmcjiz2kX9KUVCVGP88HsFucZWkOshvWOOUywd65l9XE2zVztSY 0185_Js8J.chWGfNc93euyiMdjcdDDW5m0ZlTMWU38CCFnxVg6zGgkqs- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with plain [98.139.211.125]) by smtp203.mail.bf1.yahoo.com with SMTP; 02 Jan 2014 12:32:59 -0800 PST Message-ID: <52C5CCF9.7040604@FreeBSD.org> Date: Thu, 02 Jan 2014 15:32:57 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: toolchain@FreeBSD.org Subject: Re: Apple's GCC 42 enhancements (was Re: [CFT] Experimental gcc update). References: <528A924A.8050904@FreeBSD.org> <529127F8.5080606@FreeBSD.org> <3826345B-E783-43C7-B4AB-A05C95C1A8A2@FreeBSD.org> <52C5CA79.90706@FreeBSD.org> In-Reply-To: <52C5CA79.90706@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jan 2014 20:34:53 -0000 On 02.01.2014 15:22, Pedro Giffuni wrote: > Heloo and Happy New Year! > > On 24.11.2013 07:54, David Chisnall wrote: >> On 23 Nov 2013, at 22:11, Pedro Giffuni wrote: >> >>> I have particular interest in -fwritable-strings >>> and the block support, mostly with the idea of making our gcc >>> somewhat more compatible to clang. >> I would absolutely love to see our GCC have blocks support. It would be very nice to be able to use blocks in libc. > > It took me a while and I still have to do more review, but I finally > have a patch for blocks support in gcc > > http://people.freebsd.org/~pfg/patches/gcc/gcc-blocks.patch > > (this only applies against -current for now) > Forgot to mention ... I also have a patch to add support for "private extern" and while libdispatch can use them, it looks like that it is deprecated in favor of the visibility attributes so I don't have plans to commit it. I started patches for pascal strings and writable strings but they cause segfaults and are also officially deprecated so I won't be doing those either. Other than those, Apple has some bug fixes and support for more warnings that are also available in clang. Not sure if I want to spend more time in gcc though :-P. Regards, Pedro.