OSDN Git Service

Fix PR c++/43704
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Apr 2010 09:32:16 +0000 (09:32 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 01:05:51 +0000 (10:05 +0900)
commit5a3b223164370ba0c2a02210fa2d7d403ece07e5
tree4275500fb692dc82deac55ee40a5dadd0b57f1ce
parentf2848122032581aa68fb5ce5e52dc3ff60325e26
Fix PR c++/43704

gcc/cp/ChangeLog:
PR c++/43704
* typeck.c (structural_comptypes): Test dependent typedefs
incompatibility before testing for their main variant based
equivalence.

gcc/testsuite/ChangeLog:
PR c++/43704
* g++.dg/template/typedef32.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158508 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/typedef32.C