This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: testcase for PR c/36299


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]