From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32160 invoked by alias); 1 Apr 2011 19:37:22 -0000 Received: (qmail 32152 invoked by uid 22791); 1 Apr 2011 19:37:21 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Apr 2011 19:37:17 +0000 Received: (qmail 4085 invoked from network); 1 Apr 2011 19:37:15 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Apr 2011 19:37:15 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1Q5k9i-0000Nn-HF; Fri, 01 Apr 2011 19:37:14 +0000 Date: Fri, 01 Apr 2011 19:37:00 -0000 From: "Joseph S. Myers" To: Vincent Lefevre cc: gcc-patches@gcc.gnu.org Subject: Re: testcase for PR c/36299 In-Reply-To: <20110311150542.GA30729@ypig.lip.ens-lyon.fr> Message-ID: References: <20110311150542.GA30729@ypig.lip.ens-lyon.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 X-SW-Source: 2011-04/txt/msg00084.txt.bz2 On Fri, 11 Mar 2011, Vincent Lefevre wrote: > As asked in PR c/36299[*], here's a testcase for this PR. It checks > the absence of warning for some valid C code, to make sure the warning > no longer reappears in future GCC versions. > > [*] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36299#c10 I'm not convinced either way about what the desired semantics should be about whether there is a warning, but I've committed the testcase so at least any future change is deliberate rather than accidental. -- Joseph S. Myers joseph@codesourcery.com