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] c++/59759 - ICE in unify, using std::enable_if on classes


On 01/20/2016 06:39 AM, Jason Merrill wrote:
On 01/19/2016 01:09 PM, Martin Sebor wrote:
Attached is the patch to avoid the ICE that Kai posted below
with the test case Marek asked for in his response.  I didn't
see any further followup on the list.

Thanks, but the code is actually well-formed; I've now fixed the bug
properly.

You're right.  I had reduced the test case some more (comment #15)
and inadvertently made it ill-formed in the process by replacing
'typename' with 'class' in the definition of A, while still
triggering the ICE.   Your patch does the right thing with both.

Martin


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