C++ PATCH for lto/45959 (trying to stream template_type_parm)

H.J. Lu hjl.tools@gmail.com
Wed Dec 29 09:10:00 GMT 2010


On Mon, Oct 11, 2010 at 6:28 AM, Jason Merrill <jason@redhat.com> wrote:
> This bug turned out to be caused by an INTEGER_CST which still had dependent
> type because tsubst_copy was assuming that it didn't need any modification;
> the first patch fixes that.
>
> While I was doing that, I thought that the default to just return t was
> pretty fragile and might cause other problems, so I changed it to abort by
> default.  After fixing various places that shouldn't have been calling
> tsubst_copy in the first place, I only needed to add two more cases:
> OVERLOAD and PTRMEM_CST.  This is the second patch.
>

This patch caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47022


-- 
H.J.



More information about the Gcc-patches mailing list