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] Fix 21799


Giovanni Bajo wrote:


Well you're special casing method_type. The correct fix would be to encode the CV qualification within the METHOD_TYPE instead of within the "this" pointer in the arguments. If we did this, we would not need any special case.

true, but that'd be a bigger change I wouldn't want to push into 4.0. I'm not immediately sure how not having the cvquals on the arguments will affect argument passing promotions.


nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


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