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: C++ PATCH for lto/45959 (trying to stream template_type_parm)


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.


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