This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: testcase for PR c/36299
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Vincent Lefevre <vincent+gcc at vinc17 dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 Apr 2011 19:37:14 +0000 (UTC)
- Subject: Re: testcase for PR c/36299
- References: <20110311150542.GA30729@ypig.lip.ens-lyon.fr>
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