summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/lib/gnu
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-19 22:40:37 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-19 22:40:37 +0000
commit8a03d6ff8dad449a497a6490b84da7cdd5484a80 (patch)
tree1dea0c05df1cc3687feff71c23514edde26e0836 /libjava/classpath/lib/gnu
parent587b620848aa4c7d61e68bd864cd628a5f08b7a1 (diff)
downloadppe42-gcc-8a03d6ff8dad449a497a6490b84da7cdd5484a80.tar.gz
ppe42-gcc-8a03d6ff8dad449a497a6490b84da7cdd5484a80.zip
Fix PR c++/42225, take 2
gcc/cp/ChangeLog: PR c++/42225 * pt.c (push_template_decl_real): Set DECL_CONTEXT of template type parms to their containing template decl. * typeck.c (comp_template_parms_position): Split this from structural_comptypes. (incompatible_template_type_parms_p): Renamed incompatible_dependent_typedefs_p into this. Change the function to handle comparison between TEMPLATE_TYPE_PARMs only. (structural_comptypes): Use comp_template_parms_position in TEMPLATE_TEMPLATE_PARM and BOUND_TEMPLATE_TEMPLATE_PARM cases. Use incompatible_template_type_parms_p in TEMPLATE_TYPE_PARM case. * mangle.c (decl_mangling_context): Template type parms don't have a mangling context. * tree.c (cp_set_underlying_type): Set type structural equality only for TEMPLATE_TYPE_PARMs. gcc/testsuite/ChangeLog: PR c++/42225 * g++.dg/template/typedef26.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155363 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/gnu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud