This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ Patch] PR 36760 (again)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 09 Jul 2008 13:26:55 -0700
- Subject: Re: [C++ Patch] PR 36760 (again)
- References: <4875172F.5010805@oracle.com>
Paolo Carlini wrote:
here it is, tested x86_64-linux, exactly as suggested on the audit
trail. Is it OK for mainline and 4_3-branch?
This is OK for mainline. I don't see a regression justifying 4.3.
Also, please add a test case specifically for this patch, if not already
present in the testsuite, or enhance one already there if there's
already a test for this warning. I think all three cases:
const int f();
template <typename T>
const int g(T);
// No warning.
template <typename T>
const T h();
should appear. Test case change pre-approved.
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713