[C++ PATCH] Fix 21799

Nathan Sidwell nathan@codesourcery.com
Fri Jul 8 13:27:00 GMT 2005


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



More information about the Gcc-patches mailing list