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]

[RFA] Patch for PR c++/39987


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

In this PR, access checking of default arguments of a function template is
not happening in the context of the function template declaration but
rather in the function's caller context, so to speak.

The attached one liner patch fixes that.

It bootstraps on trunk and passes regtests. I am bootstrapping/regtesting
on 4.4 and 4.3 at the moment.

OK for those branches (after 4.3 un-freezes) ?

Thanks.

- -- 
Dodji Seketeli
Red Hat
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkp4Q5oACgkQPejI7lrem2EY8wCeNMJqqXDsZ1OwuMj5f6pQvvNq
nB8An0ews77HobqLul8yQ72L98j0/K/S
=2JwW
-----END PGP SIGNATURE-----

Attachment: gcc-PR39987-patch.txt
Description: Text document


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