<div dir="ltr"><div>See:</div><div><br></div><div class="gmail_extra">  <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3914.html">http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3914.html</a><br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">... for the latest description of the rule that we should use to handle this case. (Look for issue 1673.)<br><br><div class="gmail_quote">On Mon, Mar 17, 2014 at 10:48 PM, Mayur Pandey <span dir="ltr"><<a href="mailto:mayur.p@samsung.com" target="_blank">mayur.p@samsung.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><u></u>



<div style="padding-left:10px;padding-right:10px;padding-top:15px" name="Compose message area">
<div><font face="Calibri">Gentle Ping.</font></div>
<div style="font-style:normal;font-variant:normal;font-weight:normal;font-size:10pt;line-height:normal;font-family:Tahoma">
<div><br></div>
<div style="background-color:rgb(245,245,245)">
<div><b>From:</b> <a title="eli.friedman@gmail.com" href="mailto:eli.friedman@gmail.com" target="_blank">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" target="_blank">mayur.p@samsung.com</a> ; <a title="richard@metafoo.co.uk" href="mailto:richard@metafoo.co.uk" target="_blank">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" target="_blank">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><div class="h5">
<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-color:rgb(204,204,204);border-left-width:1px;border-left-style: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-color:rgb(204,204,204);border-left-width:1px;border-left-style: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-color:rgb(204,204,204);border-left-width:1px;border-left-style: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></div></div></div>
</blockquote></div><br></div></div>