This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR c++/66850 (Adding a forward declaration causes ICE on valid code)
- From: Patrick Palka <patrick at parcs dot ath dot cx>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Jason Merrill <jason at redhat dot com>, Patrick Palka <patrick at parcs dot ath dot cx>
- Date: Sun, 12 Jul 2015 19:35:46 -0400
- Subject: Re: [PATCH] Fix PR c++/66850 (Adding a forward declaration causes ICE on valid code)
- Authentication-results: sourceware.org; auth=none
- References: <1436743897-1520-1-git-send-email-patrick at parcs dot ath dot cx>
On Sun, Jul 12, 2015 at 7:31 PM, Patrick Palka <patrick@parcs.ath.cx> wrote:
> This patch attempts resolve the mentioned PR by fixing two underlying
> issues:
I should note that there is some overlap between the fixes.
Technically fix #2 is sufficient to resolve the PR, whereas fix #1 can
only resolve the first test case in namespace X below. But fix #1
seems to be sensible even if it is redundant.