diff options
author | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-25 22:08:33 +0000 |
---|---|---|
committer | dodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-25 22:08:33 +0000 |
commit | 48317e5a90c6f55ef9e3b75e941df9f99ce75555 (patch) | |
tree | 696a213308b6552c9c3faed80c9aff8e772b1386 /gcc/testsuite/objc.dg/stubify-1.m | |
parent | 7d167d36a47604eeb537cb5ab88baad2973ea0c3 (diff) | |
download | gcc-48317e5a90c6f55ef9e3b75e941df9f99ce75555.tar.gz |
Fix candidate for PR c++/43206
gcc/cp/ChangeLog:
PR c++/43206
* cp-tree.h (get_template_parms_at_level): Declare ...
* pt.c (get_template_parms_at_level): ... new function.
* typeck.c (get_template_parms_of_dependent_type): If a template
type parm's DECL_CONTEXT isn't yet set, get its siblings from
current_template_parms. Use get_template_parms_at_level. Remove
useless test.
(incompatible_dependent_types_p): If we get empty parms from just one
of the template type parms we are comparing then the template parms are
incompatible.
gcc/testsuite/ChangeLog:
PR c++/43206
* g++.dg/template/typedef30.C: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157730 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/objc.dg/stubify-1.m')
0 files changed, 0 insertions, 0 deletions