From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30762 invoked by alias); 31 Jan 2015 11:43:58 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 30753 invoked by uid 89); 31 Jan 2015 11:43:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f52.google.com Received: from mail-la0-f52.google.com (HELO mail-la0-f52.google.com) (209.85.215.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 31 Jan 2015 11:43:57 +0000 Received: by mail-la0-f52.google.com with SMTP id ge10so28511687lab.11 for ; Sat, 31 Jan 2015 03:43:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=3dJ8y+9vWU61LVxBAoQUxZMJWMztxuEmJKTEgZ5/bTw=; b=McGY5vQApsCVouY/POfNxJBOnGXRU29z7u+9p4H2qxXxC9J22k01PiQZr8w4xF9pCS obkN6PBPShHTkm9pZznUo3+r7wSVAqkmlPFBkmHGSGVkWCzJhfQFvVb2vhdfaZqikZ6B BgiTWqPkquyjTXbhxgOjPkW6PinstI9vAWw+zgaef7mTJp00VDQNGkPdhRNAkSMsKXKf WIuIlsuZ9uXJFfjsZzu8caiN3jMEA7BjzXTKNrroBfsJmlW2A13z+uvt467YRASVnmk/ OLhlBlfrcXfqOGWP1ij234d8CKPBkewxSB+FIwU9sOcG53A0qzgzXupnbS3uqBSZxphd 6IAg== X-Gm-Message-State: ALoCoQl6JTJY7HA/CnCxSXoSj5Cb8Ghgid5rNhXoKHAz7lPNte9Sr0mJKA2NbfxlK1xt0TO60lTg MIME-Version: 1.0 X-Received: by 10.152.23.73 with SMTP id k9mr10869394laf.54.1422704633997; Sat, 31 Jan 2015 03:43:53 -0800 (PST) Received: by 10.25.147.202 with HTTP; Sat, 31 Jan 2015 03:43:53 -0800 (PST) In-Reply-To: <54CCA7D8.7010702@sunrus.com.cn> References: <54CC7085.1080805@sunrus.com.cn> <54CCA7D8.7010702@sunrus.com.cn> Date: Sat, 31 Jan 2015 15:45:00 -0000 Message-ID: Subject: Re: [PATCH v2] libgcc: Use braces instead of macro's empty body to avoid xgcc warnings. From: Prathamesh Kulkarni To: Chen Gang S Cc: Andreas Schwab , Ian Lance Taylor , Jakub Jelinek , "walt@tilera.com" , Jeff Law , gcc-patches List Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-01/txt/msg02802.txt.bz2 On 31 January 2015 at 15:30, Chen Gang S wrote: > On 1/31/15 16:53, Andreas Schwab wrote: >> Chen Gang S writes: >> >>> * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use braces >>> instead of macro's empty body to avoid xgcc warnings. The ChangeLog entry should be fixed to reflect it's an empty loop now. something like: * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty do-while loop as macro body to avoid xgcc warnings. Thanks, Prathamesh >> >> It's actually an empty loop now. >> > > Excuse me, I am not quite clear gcc version merging working flow. Now, > for gcc master branch (20150131), __GTHREAD_MUTEX_INIT_FUNCTION is still > as empty. > > Could you provide more details about it? > > Thanks. > -- > Chen Gang > > Open, share, and attitude like air, water, and life which God blessed