aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2002-01-02 12:50:11 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2002-01-02 12:50:11 +0000
commit833aa4c4149ce0fa84968a03fe51a13575381d79 (patch)
tree9eda4828ff2460753b02042e25caf1b141568068 /gcc/c-decl.c
parent18976b21446cfafe728b739b7220fd02f4ea5328 (diff)
downloadgcc-833aa4c4149ce0fa84968a03fe51a13575381d79.zip
gcc-833aa4c4149ce0fa84968a03fe51a13575381d79.tar.gz
gcc-833aa4c4149ce0fa84968a03fe51a13575381d79.tar.bz2
re PR c++/35 (template operator () lookup fails)
cp: PR c++/35 * cp-tree.h (DECL_LANG_FLAG_0): Used for PARM_DECL too. (DECL_TEMPLATE_PARM_P): A PARM_DECL might be one too. * pt.c (process_template_parm): SET_DECL_TEMPLATE_PARM_P on the PARM_DECL. (tsubst_template_parms): Break up loop statements. (tsubst_decl, case PARM_DECL): Copy DECL_TEMPLATE_PARM_P. Template parm PARM_DECLs don't get promoted. testsuite: * g++.dg/template/ntp.C: New test. From-SVN: r48470
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions