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)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Apr 2010 09:32:16 +0000 (09:32 +0000)
commit1cbf0a8454757ac5315d3bebfad4de88b6a75570
treeeab48f4b4a03de8b290d3f948707c562ba420111
parenteefa05c8770525ed2f8f7be166d395673acefd2c
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 [new file with mode: 0644]