This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for c++/50852, 53039 (problems with typedefs in templates)
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>, Dodji Seketeli <dodji at redhat dot com>
- Date: Fri, 06 Jul 2012 00:33:15 +0200
- Subject: Re: C++ PATCH for c++/50852, 53039 (problems with typedefs in templates)
- References: <4FF5ED16.909@redhat.com>
On 07/05/2012 09:37 PM, Jason Merrill wrote:
The patch also fixes 53039, which is another case of treating things
as interchangeable that turn out not to be: in this case they are
template parameter packs that are compared for identity in
arg_from_parm_pack_p, which was running into problems during template
parameter fixup. I didn't expect this patch to fix the bug, but
apparently removing the fixup solves the problem for this testcase.
Tested x86_64-pc-linux-gnu, applying to trunk.
Thanks! I suppose nothing simple and safe can be applied to 4.7...
Paolo.