This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55058] [4.7/4.8 Regression] Unexpected invalid type conversion error
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 07 Dec 2012 05:13:30 +0000
- Subject: [Bug c++/55058] [4.7/4.8 Regression] Unexpected invalid type conversion error
- Auto-submitted: auto-generated
- References: <bug-55058-4@http.gcc.gnu.org/bugzilla/>
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