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: [PATCH] Fix PR c++/16160


On Wed, Jan 14, 2015 at 8:05 AM, Jason Merrill <jason@redhat.com> wrote:
> On 01/13/2015 10:54 PM, Patrick Palka wrote:
>>
>> +         type = error_mark_node;
>> +         goto out;
>
>
> Why exit early in the explicit instantiation cases?  Doesn't it work to give
> the error and continue?
>
> Jason
>

Yes it does.  I changed it to an early exit in the last minute for no
good reason.  But an earlier version of the patch that continued
instead of exiting worked correctly.


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