<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7601.18283"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Calibri>Gentle Ping.</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=eli.friedman@gmail.com
href="mailto:eli.friedman@gmail.com">Eli Friedman</A> </DIV>
<DIV><B>Sent:</B> Thursday, September 26, 2013 6:23 AM</DIV>
<DIV><B>To:</B> <A title=mayur.p@samsung.com
href="mailto:mayur.p@samsung.com">mayur.p@samsung.com</A> ; <A
title=richard@metafoo.co.uk href="mailto:richard@metafoo.co.uk">Richard
Smith</A> </DIV>
<DIV><B>Cc:</B> <A
title="mailto:cfe-commits@cs.uiuc.edu Commits
CTRL + Click to follow link"
href="mailto:cfe-commits@cs.uiuc.edu Commits">cfe-commits@cs.uiuc.edu
Commits</A> </DIV>
<DIV><B>Subject:</B> Re: Re: Fix for ICE in clang due to infinite
loop.</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV dir=ltr>On Tue, Sep 24, 2013 at 11:48 PM, MAYUR PANDEY <SPAN dir=ltr><<A
href="mailto:mayur.p@samsung.com"
target=_blank>mayur.p@samsung.com</A>></SPAN> wrote:<BR>
<DIV class=gmail_extra>
<DIV class=gmail_quote>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>
<P>This is the similar way it has been fixed in gcc. They have kept a note of
parent and they break the loop when it is again noticed. With the usage of
global</P>
<P>map there are no performance issues as such. Also please suggest the
alternate way of fixing this issue.</P></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I'm not an expert on overload resolution rules, so if you're certain we
actually need a map to catch this case, that's fine, I guess. (Richard,
can you chime in?)</DIV>
<DIV><BR></DIV>
<DIV>The rest of my feedback still applies.</DIV>
<DIV><BR></DIV>
<DIV>-Eli</DIV>
<DIV><BR></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<P>------- <B>Original Message</B> -------</P>
<P><B>Sender</B> : Eli Friedman<<A
title="mailto:eli.friedman@gmail.com
CTRL + Click to follow link"
href="mailto:eli.friedman@gmail.com"
target=_blank>eli.friedman@gmail.com</A>></P>
<P><B>Date</B> : Sep 10, 2013 06:53 (GMT+09:00)</P>
<P><B>Title</B> : Re: Fix for ICE in clang due to infinite loop.</P>
<P> </P>
<DIV dir=ltr>
<DIV>On Mon, Sep 9, 2013 at 5:08 AM, MAYUR PANDEY <SPAN dir=ltr><<A
href="mailto:mayur.p@samsung.com"
target=_blank>mayur.p@samsung.com</A>></SPAN> wrote:<BR></DIV>
<DIV class=gmail_extra>
<DIV class=gmail_quote>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>
<P><SPAN style="FONT-FAMILY: Arial">Hi,</SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial">Attached is the fix for Compiler crash
caused by infinite loop when we try to compile the following
code.</SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial"></SPAN> </P>
<P><SPAN style="FONT-FAMILY: Arial">struct A;</SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial">struct B<BR>{<BR> B (A const
&); </SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial"> B (B
&); <BR>};</SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial">struct A<BR>{<BR> A
(B);<BR>};</SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial">B<BR>f (B const& b)<BR>{<BR>
return b; </SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial">}</SPAN></P></DIV></BLOCKQUOTE>
<DIV><BR></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>