This is the mail archive of the
mailing list for the GCC project.
Re: [C++ PATCH] Fix 21799
Nathan Sidwell <firstname.lastname@example.org> wrote:
>> Well you're special casing method_type. The correct fix would be to
>> 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
> 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
> argument passing promotions.
In fact, I'd have cvquals *both* on the METHOD_TYPE *and* the this pointer.
Sorry if my previous mail was confusing in this regard. I'd expect this
change to be relatively trivial (probably in the same order of the patch you