diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2005-10-12 18:07:43 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2005-10-12 18:07:43 +0000 |
commit | 3ce5fa4fa606357251b653f66fbef96fdfcbea2f (patch) | |
tree | 942011e89513616498985f2c0177369f00dd00a6 /libgfortran/io/unix.c | |
parent | 51b15ede491940fcc66789e704474a67387ae705 (diff) | |
download | gcc-3ce5fa4fa606357251b653f66fbef96fdfcbea2f.zip gcc-3ce5fa4fa606357251b653f66fbef96fdfcbea2f.tar.gz gcc-3ce5fa4fa606357251b653f66fbef96fdfcbea2f.tar.bz2 |
re PR c++/23797 (ICE on typename outside template)
cp:
PR c++/23797
* parser.c (cp_parser_functional_cast): Cope when TYPE is not a
TYPE_DECL. Use dependent_type_p to check type.
* pt.c (uses_template_parms_p): Use dependent_type_p for a
TYPE_DECL.
(type_dependent_expression_p): Assert we've not been given a
TYPE_DECL.
testsuite:
PR c++/23797
* g++.dg/other/typename8.C: New.
From-SVN: r105312
Diffstat (limited to 'libgfortran/io/unix.c')
0 files changed, 0 insertions, 0 deletions