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: [C++ Patch] PR 36760 (again)


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


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