This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r158508 - in /trunk/gcc: cp/ChangeLog cp/typeck...
- From: dodji at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 19 Apr 2010 09:32:16 -0000
- Subject: r158508 - in /trunk/gcc: cp/ChangeLog cp/typeck...
Author: dodji
Date: Mon Apr 19 09:32:16 2010
New Revision: 158508
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158508
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/template/typedef32.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog