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: [PATCH] PR 16174 again


Nathan Sidwell wrote:

this is the right patch for 16174. Now that giovanni slapped me silly, I
remember the original patch in this area.  I'd incorrectly concluded that
looking for a 'T const' copy ctor would be the right thing. It's not.
There's a recursive problem here with reference binding, as footnote 93
of the std points out.  Hence we forcibly break the recursion with the
lookup flag.

built and tested on 3.4 i686-pc-linux-gnu, ok for there and mainline?

Yes. This is OK for 3.4.1, despite the current freeze, because it is a regression from 3.4.0 and because this version of the patch looks obviously correct.


Thanks,

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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