aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2008-12-10 01:23:28 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2008-12-10 01:23:28 +0000
commit248e1b22b25685386d34956368cb80c707a22a2f (patch)
tree97ac3a7e5ee833b3c762010f7695178c02fc047a /gcc/graphite.c
parent3725c2e30240d59b7dfe47da43e2eb5d566b9109 (diff)
downloadgcc-248e1b22b25685386d34956368cb80c707a22a2f.zip
gcc-248e1b22b25685386d34956368cb80c707a22a2f.tar.gz
gcc-248e1b22b25685386d34956368cb80c707a22a2f.tar.bz2
re PR c++/37971 (Rejects default argument that is a template via access failure)
PR c++/37971 * class.c (resolve_address_of_overloaded_function): Check accessibility of member functions unless FLAGS indicates otherwise. * call.c (standard_conversion): Adjust flags passed to instantiate_type. (convert_default_arg): Do not perform access checks. * cp-tree.h (tsubst_flags_t): Add tf_no_access_control. PR c++/37971 * g++.dg/overload/defarg2.C: New test. * g++.dg/overload/defarg3.C: Likewise. From-SVN: r142628
Diffstat (limited to 'gcc/graphite.c')
0 files changed, 0 insertions, 0 deletions