From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100767 invoked by alias); 22 Feb 2017 15:45:26 -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 100751 invoked by uid 89); 22 Feb 2017 15:45:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=integration, Hx-languages-length:712, HTo:D*cn, HTo:D*edu.cn X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Feb 2017 15:45:16 +0000 Received: from smtp.corp.redhat.com (int-mx16.intmail.prod.int.phx2.redhat.com [10.5.11.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8A8D8C05006A; Wed, 22 Feb 2017 15:45:05 +0000 (UTC) Received: from localhost.localdomain (unknown [10.10.122.189]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4E70E9245B; Wed, 22 Feb 2017 15:45:03 +0000 (UTC) Subject: Re: [PATCH 0/5] New warning: -Wstring-plus-int (PR c++/62181) To: Xi Ruoyao , gcc-patches@gcc.gnu.org References: <1487761207.2882.63.camel@stu.xidian.edu.cn> From: Jeff Law Message-ID: <14d4d068-0bf1-54b2-bbc4-aca5ed77467e@redhat.com> Date: Wed, 22 Feb 2017 16:06:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <1487761207.2882.63.camel@stu.xidian.edu.cn> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg01387.txt.bz2 On 02/22/2017 04:00 AM, Xi Ruoyao wrote: > Hi, > > I've implemented -Wstring-plus-int (like the one in CLANG) for GCC. I've > bootstrapped GCC with my patches and runned dejaGNU tests. > > My patches are for both C and C++ (like CLANG). > > Unlike CLANG, this option is not enabled by default (or GCC won't > bootstrap with -Werror). Note that the GCC project is currently in "stage4" of its development/release cycle. Meaning only regression bugfixes are being considered for integration. This stage will last until the gcc-7 release is made. Your new warning will be reviewed once the development team starts looking at gcc-8 work. THanks, Jeff