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 05:33:54 +0000 (14:33 +0900)
commit0a0863c6f80e54de15e1878e75309689e4fce657
tree60ad03255a19549945cfb69bb06cdfd24194d1ce
parentccd582d74c95b050ef2ef0c69b45019ddd61bb18
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/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/typedef32.C