<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:rafael.espindola@gmail.com" title="Rafael Ávila de Espíndola <rafael.espindola@gmail.com>"> <span class="fn">Rafael Ávila de Espíndola</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - clang fails to apply constructor alias optimization"
href="https://llvm.org/bugs/show_bug.cgi?id=13559">bug 13559</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - clang fails to apply constructor alias optimization"
href="https://llvm.org/bugs/show_bug.cgi?id=13559#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - clang fails to apply constructor alias optimization"
href="https://llvm.org/bugs/show_bug.cgi?id=13559">bug 13559</a>
from <span class="vcard"><a class="email" href="mailto:rafael.espindola@gmail.com" title="Rafael Ávila de Espíndola <rafael.espindola@gmail.com>"> <span class="fn">Rafael Ávila de Espíndola</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=13559#c1">comment #1</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=13559#c0">comment #0</a>)
> > On this testcase:
> >
> > struct X {
> > X(int j) : i(j) {}
> > int i;
> > };
> >
> > int main() {
> > X x(10);
> > }
> >
> > $ clang b6940259.cc -flto -S -o - -O3 -mllvm -disable-llvm-optzns
> >
> > emits a @_ZN1XC1Ei that calls @_ZN1XC2Ei. It should just be an alias.
>
> FWIW we currently don't produce C1 at all in this example at the moment, if
> I'm testing this correctly.</span >
I see the same. Closing the bug as fixed. Please reopen if you have a testcase
that still fails.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>