http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55058
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> 2012-12-07 05:13:30 UTC --- Author: jason Date: Fri Dec 7 05:13:22 2012 New Revision: 194289 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194289 Log: PR c++/55058 * pt.c (tsubst): Keep the quals when looking through a typedef. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/typedef40.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/pt.c