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] |
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?
-- 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] |