re PR c++/17149 (ICE: tree check: expected record_type or union_type or qual_union_ty...
authorNathan Sidwell <nathan@gcc.gnu.org>
Tue, 24 Aug 2004 09:04:06 +0000 (09:04 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 24 Aug 2004 09:04:06 +0000 (09:04 +0000)
commitc645999e7b458447806f01170dda9e99a5805e17
treec0dab5af1a18218b4a04bf6b03ac689742fa8100
parentd46cd2be374fa3791edc5f69cb2731b9bae11af3
re PR c++/17149 (ICE: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_accessibility_of_qualified_id, at cp/semantics.c:1388)

cp:
        PR c++/17149
        * semantics.c (check_accessibility_of_qualified_id): Defer check
        if qualifying_type is a template parameter.
testsuite:
        PR c++/17149
        * g++.dg/template/access15.C: New.

From-SVN: r86472
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/access15.C [new file with mode: 0644]