On Tue, Jun 21, 2011 at 12:03 PM, Jason Merrill <ja...@redhat.com> wrote:
> cv-qualifiers are dropped from a function parameter type in order to produce
> the parameter-type-list, but the parameter itself still has the qualified
> type within the function body.  When I added cv-qualification stripping to
> type_decays_to, it started affecting instantiation of template function
> parameters, which is wrong.  So I've reverted that change and instead added
> explicit cv-qualification stripping to lambda_return_type.
>
> While looking at this, I've also changed a few more TYPE_MAIN_VARIANTs to
> cv_unqualified.

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49519


-- 
H.J.

Reply via email to