C++ PATCH for c++/45917 (missing access error with template-id nested-name-specifier)

Jason Merrill jason@redhat.com
Sun Mar 17 01:52:00 GMT 2013

We were saving up the access check perfectly well, but then 
inadvertently throwing it away because of a call to 
pop_deferring_access_checks (which discards them) rather than 
pop_to_parent_deferring_access_checks (which adds them to the parent 

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 45917.patch
Type: text/x-patch
Size: 999 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130317/483ef012/attachment.bin>

More information about the Gcc-patches mailing list