This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR c++/16160
- From: Patrick Palka <patrick at parcs dot ath dot cx>
- To: Jason Merrill <jason at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 14 Jan 2015 08:26:58 -0500
- Subject: Re: [PATCH] Fix PR c++/16160
- Authentication-results: sourceware.org; auth=none
- References: <1421207682-14372-1-git-send-email-patrick at parcs dot ath dot cx> <54B669B0 dot 5070006 at redhat dot com>
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.