From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3393 invoked by alias); 17 Oct 2014 16:20:48 -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 3384 invoked by uid 89); 17 Oct 2014 16:20:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Oct 2014 16:20:46 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1XfAGf-0000Tj-Im from joseph_myers@mentor.com ; Fri, 17 Oct 2014 09:20:41 -0700 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.181.6; Fri, 17 Oct 2014 17:20:40 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.82) (envelope-from ) id 1XfAGd-0007tR-U7; Fri, 17 Oct 2014 16:20:40 +0000 Date: Fri, 17 Oct 2014 16:28:00 -0000 From: "Joseph S. Myers" To: Marek Polacek CC: GCC Patches Subject: Re: [C PATCH] Make -Wno-implicit-int work in C99 mode In-Reply-To: <20141017114706.GS10501@redhat.com> Message-ID: References: <20141017114706.GS10501@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2014-10/txt/msg01763.txt.bz2 On Fri, 17 Oct 2014, Marek Polacek wrote: > C99 mode warns about defaulting to int by default, but without > the possibility to suppress the warning with -Wno-implicit-int. > This is likely to arouse the ire of the users, especially with > the new default. > > Therefore the following patch tweaks warn_implicit_int in such > a way that -Wimplicit and -Wimplicit-int should work as intended > (following the rule that more specific option takes precedence > over the less specific). There should be no changes in GNU89 > mode. > > Bootstrapped/regtested on x86_64-linux, ok for trunk? OK. -- Joseph S. Myers joseph@codesourcery.com