This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Require canonical type comparison for typedefs again.


On 09/29/2010 03:05 PM, Dodji Seketeli wrote:
Ah, I wasn't clear. During the fixup, at some point, A and A' have the
same template parm actually. Because A's template parm (let's call it T)
saw its canonical type updated

Well, that's the problem then. You shouldn't be modifying the template parms that you started out with, you should be replacing them with new ones.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]