summaryrefslogtreecommitdiffstats
path: root/libjava/java/sql
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-22 15:34:41 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-22 15:34:41 +0000
commit2bc5343448d9aab1a4d2eaaa63c62b396636ccfa (patch)
tree18470b6d27dbd4fa2ef409287ea10c344c20ee5e /libjava/java/sql
parent83e2d3b10b2eb0ef298526eb2c5e8d960567a448 (diff)
downloadppe42-gcc-2bc5343448d9aab1a4d2eaaa63c62b396636ccfa.tar.gz
ppe42-gcc-2bc5343448d9aab1a4d2eaaa63c62b396636ccfa.zip
cp:
PR c++/9978, c++/9708 * cp-tree.h (instantiate_template): Add tsubst_flags parameter. * call.c (add_template_candidate_real): Adjust instantiate_template call. * class.c (resolve_address_of_overloaded_function): Likewise. * decl.c (build_enumerator): Set TREE_CONSTANT. * pt.c (check_instantiated_args): New. (push_inline_template_parms_recursive): Set TREE_CONSTANT, TREE_READONLY. (build_template_parm_index): Copy TREE_CONSTANT, TREE_READONLY. (reduce_template_parm_level): Likewise. (process_template_parm): Likewise. (check_explicit_specialization): Adjust instantiate_template call. (convert_template_argument): Don't check non-type argument here. (lookup_template_class): Check them here. (tsubst_friend_function): Adjust instantiate_template call. (instantiate_template): Add tsubst_flags parameter, use it. Check instantiated args. testsuite: PR c++/9978, c++/9708 * g++.dg/ext/vlm1.C: Adjust expected error. * g++.dg/ext/vla2.C: New test. * g++.dg/template/arg1.C: New test. * g++.dg/template/arg2.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/sql')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud