------- Comment #2 from rwgk at yahoo dot com 2009-12-06 19:18 ------- With a binary search in the svn history I found that the change below lead to the regression. I believe it is a major problem. Could someone confirm it? I think it should be a P1.
------------------------------------------------------------------------ r154768 | dodji | 2009-11-30 01:58:20 -0800 (Mon, 30 Nov 2009) | 9 lines Fix PR c++/42069 gcc/cp/ChangeLog: PR c++/42069 * pt.c (convert_template_argument): Strip typedefs from SCOPE_REFs. gcc/testsuite/ChangeLog: PR c++/42069 * g++.dg/template/typedef23.C: New test. ------------------------------------------------------------------------ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42251