This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Coverity complains "Big parameter passed by value" in /usr/include/c++/4.6/bits/stl_heap.h
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Cc: Dan Kegel <dank at kegel dot com>
- Date: Thu, 25 Jul 2013 09:17:25 +0100
- Subject: Re: Coverity complains "Big parameter passed by value" in /usr/include/c++/4.6/bits/stl_heap.h
- References: <CAPF-yOaBvKa5THPBsN0Rx2j9r32pdbDLHU8f+rt_Pfzdtq12vQ at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1307250815440 dot 14859 at stedding dot saclay dot inria dot fr>
On 25 July 2013 07:16, Marc Glisse wrote:
>
> Isn't it this PR?
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51965
Yes, I suppose it is, although your suggestion in comment 5 (which I
prefer to the pass-by-reference change) would still trigger the same
check in Coverity, wouldn't it?